Граф коммитов

774481 Коммитов

Автор SHA1 Сообщение Дата
Dão Gottwald 5f67234c3f Bug 1737054 - add missing semicolon. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D129497
2021-10-26 13:48:30 +00:00
Hannah Peuckmann 09b6c3a033 Bug 1567443 - Added flag for indicating secure Chrome UI in nsIAboutModule. r=pbz,webcompat-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D128188
2021-10-26 13:32:31 +00:00
Andrew Osmond 6ee464104f Bug 1711061 - Part 13. Remove the now unused ImageContainer and related code for images. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D126606
2021-10-26 13:28:27 +00:00
Andrew Osmond 0ac282d26a Bug 1711061 - Part 12. Change the display list to use WebRenderImageProvider. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D126605
2021-10-26 13:28:27 +00:00
Andrew Osmond 7d6439b84a Bug 1711061 - Part 11. Implement VectorImage::GetImageProvider. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D126604
2021-10-26 13:28:27 +00:00
Andrew Osmond a99494da7c Bug 1711061 - Part 10. Implement BlobSurfaceProvider for non-rasterized blob recordings. r=tnikkel
This WebRenderImageProvider/ISurfaceProvider subclass provides the
implementation for blob recordings. This is mostly just taking the
functionality that was previously in SourceSurfaceBlobImage.

Differential Revision: https://phabricator.services.mozilla.com/D126602
2021-10-26 13:28:26 +00:00
Andrew Osmond 2b01ed2e18 Bug 1711061 - Part 9. Add blob recording support to SurfaceCache. r=tnikkel
Now that we no longer have the extra layer of ImageContainers providing
a superficial level of caching/reuse of existing blob recordings, we
need some way to share recordings. This part adds support to
SurfaceCache to store BlobSurfaceProvider objects.

This includes the specialized code for invalidating SVG images. In
particular this is useful for animated SVG images. In general we want to
avoid changing the image key whenever possible so that we avoid
reallocating the underlying buffers in the compositor process for the
rasterized blob images.

We also need to track the ImageIntRegion used by the recording. If a
caller only wants a slice of the SVG image, then we need to track this
differentiation in our cache entries. At this time, we don't allow
substitutes for entries with a region exclusion.

Differential Revision: https://phabricator.services.mozilla.com/D126603
2021-10-26 13:28:26 +00:00
Andrew Osmond 51e934d3bd Bug 1711061 - Part 8. Rename SourceSurfaceBlobImage.h/cpp to BlobSurfaceProvider.h/cpp. r=tnikkel
Rename the file in preparation for the switch over to
WebRenderImageProvider.

Differential Revision: https://phabricator.services.mozilla.com/D126601
2021-10-26 13:28:25 +00:00
Andrew Osmond ca9bcdf869 Bug 1711061 - Part 7. Remove support for ImageContainer-based SVG image blob recordings. r=tnikkel
This will be replaced by a WebRenderImageProvider-based implementation
in a later part in this series.

Differential Revision: https://phabricator.services.mozilla.com/D126600
2021-10-26 13:28:25 +00:00
Andrew Osmond 836ad9882e Bug 1711061 - Part 6. Implement RasterImage::GetImageProvider. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D126599
2021-10-26 13:28:25 +00:00
Andrew Osmond a2abd63705 Bug 1711061 - Part 5. Expose an ImageProviderId for tracking surface ownership. r=tnikkel
This will be used by layers as a replacement for ImageContainer's
ContainerProducerID for tracking if the same imgIRequest/imgIContainer
own the cached WebRenderImageProvider.

Differential Revision: https://phabricator.services.mozilla.com/D126598
2021-10-26 13:28:24 +00:00
Andrew Osmond 581136673c Bug 1711061 - Part 4. Implement AnimationSurfaceProvider for animated rasterized images. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D126790
2021-10-26 13:28:24 +00:00
Andrew Osmond e69927de97 Bug 1711061 - Part 3. Add WebRenderImageProvider and implement for rasterized providers. r=tnikkel
This provides the framework to allow ISurfaceProvider objects to
implement WebRenderImageProvider. It is straightforward for rasterized
providers (DecodedSurfaceProvider, and SimpleSurfaceProvider). Later
parts in this series will provide the necessary changes for blob
recordings and for animatedi images.

Differential Revision: https://phabricator.services.mozilla.com/D126597
2021-10-26 13:28:24 +00:00
Andrew Osmond a122ca2764 Bug 1711061 - Part 2. Add imgIContainer::GetImageProvider skeleton. r=tnikkel
In later parts in this series, GetImageProvider will replace
GetImageContainerAtSize. This will be a more specialized and lower
overhead means to get a wr::ImageKey for a particular surface.

Differential Revision: https://phabricator.services.mozilla.com/D126596
2021-10-26 13:28:23 +00:00
Andrew Osmond 4b70018d19 Bug 1711061 - Part 1. Remove SourceSurfaceMappedData surface deduplication from memory reports. r=tnikkel
We no longer use SourceSurfaceMappedData because we only support
SourceSurfaceSharedData-backed imgFrame in the SurfaceCache now.

Differential Revision: https://phabricator.services.mozilla.com/D126595
2021-10-26 13:28:23 +00:00
criss 7c13c79ea0 Backed out 2 changesets (bug 1734573) for causing failures on browser_net_brotli.js. CLOSED TREE
Backed out changeset 1b2194a0e1ec (bug 1734573)
Backed out changeset 51a00e9f45a3 (bug 1734573)
2021-10-26 15:02:41 +03:00
stransky 7c6573e619 Bug 1730533 [Linux] Use Drag and Drop popups on Gtk >= 3.24 r=rmader
Differential Revision: https://phabricator.services.mozilla.com/D129494
2021-10-26 11:50:16 +00:00
Kershaw Chang 6d485bbb43 Bug 1723946 - Avoid racing on sSocketProcessChild, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D129502
2021-10-26 11:22:56 +00:00
Kershaw Chang 262d2490e3 Bug 1734573 - Fix failed test, r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D127825
2021-10-26 11:21:44 +00:00
Kershaw Chang b02f15305b Bug 1734573 - Add a new activity type to report proxy response header, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D127824
2021-10-26 11:21:43 +00:00
Bob Owen 93b7d525df Bug 1713973 p4: Test brokered complex breaker against Uniscribe in content. r=jfkthame
Depends on D129143

Differential Revision: https://phabricator.services.mozilla.com/D129144
2021-10-26 09:58:52 +00:00
Bob Owen 75ff7d4c1e Bug 1713973 p3: Use brokered complex line breaking when win32k lockdown is enabled. r=jfkthame,tkikuchi
Depends on D126809

Differential Revision: https://phabricator.services.mozilla.com/D129143
2021-10-26 09:58:52 +00:00
Bob Owen 2db5ff3913 Bug 1713973 p2: Add Uniscribe Line Breaking via chromium-sandbox IPC. r=tkikuchi,jfkthame
This adds a new cross call using the chromium shared memory IPC to proxy use of
the Uniscribe line breaker, because it cannot be used in the content process
with win32k lockdown enabled.

If the text being processed is too long to fit into the IPC params then it is
processed in chunks.

This change implements an INPTR_TYPE in the sandbox, which appears to have
been removed at some point.
It also fixes a bug in OpcodeFactory::MakeOpAction, so that a null param is
passed and we can use an empty parameter set.

New files are in chromium-shim as these are most likely to require changes and
this means we will not have to update the main chromium patch.

Depends on D129125

Differential Revision: https://phabricator.services.mozilla.com/D126809
2021-10-26 09:58:51 +00:00
Bob Owen 25f1dc489f Bug 1713973 p1: Add caching for calls to NS_GetComplexLineBreaks. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D129125
2021-10-26 09:58:51 +00:00
Jan Odvarko eca2f3ae2a Bug 1737572 - [devtools] Move documentation for contributors to a subfolder r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D129389
2021-10-26 09:41:51 +00:00
criss 5e97bafc4e Backed out changeset 27b73fdbb4a9 (bug 1737199) for causing bustages on memory/replace/logalloc/replay/Replay.cpp. CLOSED TREE 2021-10-26 13:00:29 +03:00
Makoto Kato e55adae53e Bug 1205133 - Ship inputmode attribute. r=smaug,preferences-reviewers
Since we have fixed all compatibility bugs and dependencies, so let's
ship this attribute since all browsers already support this.

Differential Revision: https://phabricator.services.mozilla.com/D129229
2021-10-26 09:20:47 +00:00
Valentin Gosu 44713199ad Bug 1436503 - Check if pointer is null r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D129479
2021-10-26 08:04:13 +00:00
André Bargull 4037b90f13 Bug 1736805: Register written normalised length. r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D129428
2021-10-26 07:21:13 +00:00
Paul Bone a4b9d48ced Bug 1737199 - Avoid some VLAs when using jemalloc_stats r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D129228
2021-10-26 05:22:05 +00:00
shravanrn@gmail.com 126f016b59 Bug 1728934 - Ensure Ogg demux fails gracefully on rlbox sandbox OOM r=glandium,bholley
Differential Revision: https://phabricator.services.mozilla.com/D127023
2021-10-26 05:16:32 +00:00
Lars T Hansen 3272719a36 Bug 1737267 - Memory64 JSAPI tweaks. r=yury
Make the parsing of the memory descriptor for WA.Memory handle the
full page range for i64 memories, for initial, minimum, and maximum.
I had to refactor a little bit to make this sensible.  Add test case.

Make the memory descriptor returned by WA.Memory.type() handle the
full page range for i64 memories, for minimum and maximum.  Add test
case.

Differential Revision: https://phabricator.services.mozilla.com/D129396
2021-10-26 04:31:04 +00:00
Lars T Hansen 02982523bc Bug 1736971 - Make memory64 test more sophisticated. r=yury
Three related changes here.

First, calls to grow() that are somewhat likely to fail due to OOM are
checked for OOM, and the test is abandoned if there is an OOM.  This
is not considered a test failure.

Second, test the heap max and grow() more thoroughly by cleaning up
the logic and adding more configs to the test runner.

Third, test shared memories too - it was an oversight that these were
not tested before.

Differential Revision: https://phabricator.services.mozilla.com/D129166
2021-10-26 04:21:52 +00:00
shravanrn@gmail.com 51ce33ec46 Bug 1737700 - Update rlbox_wasm2c for fallible sandbox, static linking support r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D129456
2021-10-26 03:38:11 +00:00
shravanrn@gmail.com 321dd6bde0 Bug 1737701 - Update rlbox for fallible sandbox, static linking support r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D129455
2021-10-26 02:55:02 +00:00
sotaro e58ea79f59 Bug 1737526 - Add support of dynamic enabling/disabling window occlusion by pref r=jrmuizel,gfx-reviewers
For Bug 1733955, we need a support of dynamic enabling/disabling window occlusion by pref. It is for enabling/disabling window occlusion for some mochitests by pref.

Differential Revision: https://phabricator.services.mozilla.com/D129369
2021-10-26 02:37:42 +00:00
sotaro d346bc61a7 Bug 1737236 - Add WinWindowOcclusionTracker::DumpOccludingWindows() r=gfx-reviewers,jrmuizel
WinWindowOcclusionTracker::DumpOccludingWindows() could be used to check occluding windows.

Differential Revision: https://phabricator.services.mozilla.com/D129238
2021-10-26 02:35:25 +00:00
Nihanth Subramanya bd959b9503 Bug 1719517 - Add DoH US rollout slugs to the graduation set. r=mythmon
Differential Revision: https://phabricator.services.mozilla.com/D129151
2021-10-26 00:50:03 +00:00
Ting-Yu Lin 248b711736 Bug 1730570 - Clamp flex item's resolved min auto size if it's bogus. r=dholbert
This patch clamps the `resolvedMinSize` before the size is passed into
`UpdateMainMinSize`, which is where the assertion is triggered.

Also, tweak the MOZ_ASSERT a bit because it's best to test an nscoord is
not NS_UNCONSTRAINEDSIZE before invoking comparison operator.

Differential Revision: https://phabricator.services.mozilla.com/D129230
2021-10-26 00:01:58 +00:00
Benjamin VanderSloot f9d8931809 Bug 1661151 - The Storage Access API should automatically reject access for cookie policies that don't allow cross-site storage access r=anti-tracking-reviewers,timhuang
Add a test to validate behavior on non-tracking first-party requests
    Add tests to ensure we don't say we are granting storage access to third parties with cookiePolicies that forbid it
    Add check near the top of Document::HasStorageAccess to immediately return false when cookiePolicy is REJECT.
    Add check near the top of Document::RequestStorageAccess to reject when cookiePolicy is REJECT.
    Add check in Document::RequestStorageAccess to reject when the cookie policy forbids third party cookies
        Note, BEHAVIOR_LIMIT_FOREIGN is treated like BEHAVIOR_REJECT_FOREIGN, just like in ContentBlocking::ShouldAllowAccessFor
    Add comparable checks to the priveleged version of RequestStorageAccess

This also resolves Bug 1661152

Differential Revision: https://phabricator.services.mozilla.com/D129278
2021-10-25 23:20:39 +00:00
Bobby Holley e9b6e43371 Bug 1737703 - Verify that RLBoxed Hunspell is only ever used on the main thread. r=shravanrn
Differential Revision: https://phabricator.services.mozilla.com/D129451
2021-10-25 22:58:26 +00:00
Botond Ballo d724f3c3f3 Bug 1730606 - Port APZHitTestingTesterInternal.ComplexMultiLayerTree to mochitest. r=hiro
In this case, the gtest is retained as it makes other assertions
(related to the APZC tree structure) which are useful. However,
it no longer makes hit-testing assertions, and no longer uses
InternalHitTester.

Differential Revision: https://phabricator.services.mozilla.com/D129352
2021-10-25 22:19:06 +00:00
Botond Ballo b10b847642 Bug 1730606 - Port APZHitTestingTesterInternal.HitTesting3 to mochitest. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D129335
2021-10-25 22:19:06 +00:00
Botond Ballo 5830b09df1 Bug 1730606 - Port APZHitTestingTesterInternal.HitTesting2 to mochitest. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D129334
2021-10-25 22:19:05 +00:00
Botond Ballo 84ce017af8 Bug 1730606 - Port APZHitTestingTesterInternal.HitTesting1 to mochitest. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D129333
2021-10-25 22:19:05 +00:00
Aki Sasaki 6320310b80 Bug 1734832 - also set secondary uvc watershed. r=mtabara DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D129445
2021-10-25 21:55:33 +00:00
Leslie Orellana f1ff5724fd Bug 1737054-HCM hover state on shield/lock does not match page actions. r=harry,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D129220
2021-10-25 21:51:29 +00:00
Steve Fink 853747dc43 Bug 1736737 - Implement Heap<ArrayBufferOrView> (for all subtypes) r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D129328
2021-10-25 21:18:57 +00:00
Steve Fink 9395a305fa Bug 1736737 - Augment the WrappedPtrOperations for ArrayBufferOrView subclasses. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D129346
2021-10-25 21:18:56 +00:00
Steve Fink f2863b67ef Bug 1736737 - Move SafelyInitialized into a struct to allow partial specialization. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D129345
2021-10-25 21:18:56 +00:00