Commit Graph

746192 Commits

Author SHA1 Message Date
Valentin Gosu
28196b0f88 Bug 1677719 - Disable the AppCache API on nightly/early beta r=annevk
Differential Revision: https://phabricator.services.mozilla.com/D97302
2021-02-24 15:47:35 +00:00
Andrew McCreight
98e63afa54 Bug 1694297 - Re-enable legacy-mb-tchinese/big5/ WPTs on Linux Fission. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D106052
2021-02-24 15:39:12 +00:00
Tim Nguyen
a6c8b320d3 Bug 1590884 - Extra small cleanups. DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D106278
2021-02-24 15:21:38 +00:00
Jared Wein
d756db4fb0 Bug 1691488 - Change DRM infobar to use info styling instead of warning since the user hasn't necessarily done anything wrong. r=mstriemer,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D105581
2021-02-24 15:20:09 +00:00
Jared Wein
50acbfa8b6 Bug 1691488 - Remove the 'No thanks' button from the URI fixup infobar r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D105579
2021-02-24 15:20:09 +00:00
Jared Wein
fcc697ff62 Bug 1691488 - Change infobar button text to sentence case. r=fluent-reviewers,flod,Gijs
The "Preferences" -> "Settings" changes have been reverted so this can land now. Those string changes will be handled in bug 1694511.

Differential Revision: https://phabricator.services.mozilla.com/D105577
2021-02-24 15:20:08 +00:00
Jon Coppeard
6d59bf19ea Bug 1689394 - Increase idle time nursery collection timeout to make it less agressive r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D106127
2021-02-24 15:14:15 +00:00
yulia
f91de4d0cc Bug 1686218 - top level await should throw the current module error, not the cycle root error; r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D101465
2021-02-24 15:10:18 +00:00
yulia
28ccc23dd7 Bug 1689499 - Replace GetAsyncCycleRoot with [[CycleRoot]] field;r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D103808
2021-02-24 15:10:18 +00:00
yulia
f926953cfd Bug 1689499 - fix throwing check in asyncModuleExecutionRejected when reaching an errored module the second time;r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D103788
2021-02-24 15:10:18 +00:00
yulia
febe527fc3 Bug 1689499 - Add test to show cycle issue with multiple parents;r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D103787
2021-02-24 15:10:17 +00:00
Yoshi Cheng-Hao Huang
c86b10a91e Bug 1693336 - Move DecommitEnabled to the caller. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D105593
2021-02-24 15:08:45 +00:00
Butkovits Atila
22e752e996 Backed out changeset 8f7c25b71590 (bug 1641178) for causing GTest failures. CLOSED TREE 2021-02-24 18:14:23 +02:00
Sean Feng
fc9a6223a7 Bug 1693059 - Make PerformanceObserver::Disconnect clears its option list r=smaug
Per spec, `disconnect` should clear its option list, such that
doing a `observe`->`disconnect`->`observe` will not be reusing
the same options from the first `observe`.

Spec: https://w3c.github.io/performance-timeline/#disconnect-method

Differential Revision: https://phabricator.services.mozilla.com/D105329
2021-02-24 15:01:37 +00:00
Tim Nguyen
159428759d Bug 1590884 - Move XUL accesskey handling to DOM and remove nsXULLabelFrame. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D106233
2021-02-24 14:46:28 +00:00
Lee Salzman
f4cf90f115 Bug 1677927 - Accelerate blended YUV in SWGL. r=jrmuizel
Despite having to move around some code into other files, this patch actually
changes very little inside composite.h and swgl_ext.h. It makes linear_row_yuv
able to call blend_pixels, and in turn makes blendYUV call that version of it.
This prevents cases where we have to blend video (because of clip masks) from
falling off the fast path.

To allow this, I had to move out blend stage code into blend.h so that it can
be called from inside composite.h. While I was at it, it made sense to factor
out the rasterization stage into its own rasterize.h file as well, as gl.cc
has grown significantly...

Differential Revision: https://phabricator.services.mozilla.com/D106261
2021-02-24 14:42:18 +00:00
Mark Banner
1379a2bed3 Bug 1694183 - When loading icons, use the content type of the final target, not a redirect response. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D105994
2021-02-24 14:33:57 +00:00
Lee Salzman
f2c57b81f4 Bug 1690216 - Report whether to redraw on invalidation to WR. r=mattwoodrow
This requires us to plumb CompositorCapabilities to support the extra field.
This is complicated by the fact that since it is a Rust struct, it has no
default constructor that can pass through to C++ via bindings, so every
one of our RenderCompositors was forced to manually initialize fields. To
get around this brittle footgun, instead the structure is initialized on
the Rust side, and RenderCompositor's are encouraged to only change fields
that actually diverge from the defaults as passed in via pointer.

Finally, we can then do what we need to do, which is just to send the
ForceRedraw message that needs to happen based on what we know about
CompositorCapabilities.

Differential Revision: https://phabricator.services.mozilla.com/D106246
2021-02-24 14:15:02 +00:00
Jon Coppeard
f754b66918 Bug 1694372 - Make the idle time nursery collection timeout a GC parameter r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D106126
2021-02-24 13:56:17 +00:00
Jonathan Kew
fdbe0843a3 Bug 1694151 - Make more use of AutoCFRelease in gfxMacPlatformFontList. r=lsalzman
Depends on D105973

Differential Revision: https://phabricator.services.mozilla.com/D105974
2021-02-24 13:47:35 +00:00
Jonathan Kew
6f248773b6 Bug 1694149 - Ensure gfxMacPlatformFontList::LookupLocalFont checks that the returned font is actually available for use. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D105973
2021-02-24 13:47:34 +00:00
Nicolas Chevobbe
58384d36be Bug 1651398 - [devtools] Fix browser_webconsole_network_messages_status_code.js intermittent. r=bomsy.
Differential Revision: https://phabricator.services.mozilla.com/D105980
2021-02-24 13:37:01 +00:00
Mark Banner
c288ca2e37 Bug 1694060 - Update search engine url for allegro.pl. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D106146
2021-02-24 13:35:05 +00:00
Nicolas Chevobbe
9fb3337fb2 Bug 1694090 - [devtools] Don't await for startListening on each loop iteration in ResourceWatcher#_onTargetAvailable. r=jdescottes.
This wasn't needed and could introduce unnecessary delays, so we do all the calls
at the same time and then await for all the calls to be settled.

Differential Revision: https://phabricator.services.mozilla.com/D105944
2021-02-24 13:20:19 +00:00
Nicolas Chevobbe
f5981acf25 Bug 1693846 - [devtools] Fix Storage actor listStores so it can handles multiple concurrent calls. r=ladybenko.
If there was multiple concurrent calls to listStores, only the last one made would
resolve, the other one would be stuck indefinitely.
This was caused by the call to indexedDb actor `preListStores` method, in which
the `hostVsStores` is reset to an empty Map. So if there was still a previous
pending call, one of the promise who was relying on an entry being in `hostVsStores`
would never resolve.
To prevent this, we cache the pending promise when calling `preListStores` so any
concurrent calls would wait for the same promise.
A test is added to make sure we don't regress in the future.

Differential Revision: https://phabricator.services.mozilla.com/D105943
2021-02-24 13:20:18 +00:00
Simon Giesecke
e09b49aa3d Bug 1641178 - Add NSSCipherStrategy. r=dom-workers-and-storage-reviewers,jcj,janv
Differential Revision: https://phabricator.services.mozilla.com/D73290
2021-02-24 13:18:24 +00:00
Simon Giesecke
4852d25512 Bug 1693541 - Improve uses of nsBaseHashtable and descendants by using Contains instead of Get in dom/gamepad. r=handyman. CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D106101
2021-02-24 16:28:24 +02:00
Butkovits Atila
29688cfa2c Backed out 2 changesets (bug 1684139) for causing failures at test_subprocess.js. CLOSED TREE
Backed out changeset 209b51d63e6e (bug 1684139)
Backed out changeset 3a13a7b09c92 (bug 1684139)
2021-02-24 16:19:08 +02:00
Simon Giesecke
c54f47465b Bug 1693541 - Improve uses of nsBaseHashtable and descendants in toolkit/components/telemetry. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D106111
2021-02-24 12:49:57 +00:00
Simon Giesecke
a89ec49b4d Bug 1693541 - Improve uses of nsBaseHashtable and descendants by using Contains instead of Get in toolkit/components/resistfingerprinting. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D106113
2021-02-24 12:49:57 +00:00
Simon Giesecke
eb291e55de Bug 1693541 - Improve uses of nsBaseHashtable and descendants by using Contains instead of Get in image. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D106106
2021-02-24 12:49:57 +00:00
Simon Giesecke
03bd728532 Bug 1693541 - Improve uses of nsBaseHashtable and descendants by using Contains instead of Get in dom/gamepad. r=handyman
Differential Revision: https://phabricator.services.mozilla.com/D106101
2021-02-24 12:49:56 +00:00
Simon Giesecke
022bf00650 Bug 1693541 - Improve uses of nsBaseHashtable and descendants by using Contains instead of Get in toolkit/components/url-classifier. r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D106110
2021-02-24 12:49:56 +00:00
Simon Giesecke
700d52dc1a Bug 1693541 - Improve uses of nsBaseHashtable and descendants by using Contains instead of Get in storage. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D106098
2021-02-24 12:49:55 +00:00
Simon Giesecke
eeedc67ff4 Bug 1693002 - Remove redundant nullptr checks of return value of infallible new in dom/media. r=bryce
Depends on D105290

Differential Revision: https://phabricator.services.mozilla.com/D105291
2021-02-24 12:44:08 +00:00
Emilio Cobos Álvarez
1076a90e6d Bug 1694616 - Don't use FunctionRef in MutationObservers. r=smaug
FunctionRef is so easily inlineable, looking at the comments in D95354.
This also removes some duplication, so it's win-win.

I fixed the assertion to restore the original meaning, since it seems it
was accidentally changed in that revision.

Also added some comments on why the different ordering for removals and
non-removals.

Differential Revision: https://phabricator.services.mozilla.com/D106265
2021-02-24 11:50:30 +00:00
Emilio Cobos Álvarez
02f55d8bdf Bug 1694616 - Document doesn't need to inherit from nsStubMutationObserver. r=smaug
We don't override any of the methods. I wonder when this stopped being
useful, it seemed useless before bug 1420547 already, and the comment
oes back to bug 342062...

Differential Revision: https://phabricator.services.mozilla.com/D106268
2021-02-24 11:48:57 +00:00
Butkovits Atila
ac34595c78 Backed out changeset 1ff45a9b57fe (bug 1690845) for causing failure at reftest.list. CLOSED TREE 2021-02-24 12:44:07 +02:00
Nicolas Silva
a14439cf73 Bug 1692250 - Begin refactoring the how pictures refer to their textured content. r=gw
This patch only erases some of the differences between how pictures and other primitves resolve their render tasks. There is a lot more to do there but I quite haven't figured out the incremental next step towards decoupling the picture primitive its content. After this patch we may be close to a good place to start extracting composite modes out into their own primitives.

Differential Revision: https://phabricator.services.mozilla.com/D106142
2021-02-24 10:32:25 +00:00
Nicolas Silva
94ed405587 Bug 1692250 - Remove ImageSourceHandle. r=gw
Replaced with RenderTaskId or Option<RenderTaskId> depending on context.

Differential Revision: https://phabricator.services.mozilla.com/D105984
2021-02-24 10:32:25 +00:00
Nicolas Silva
0e6dc9d100 Bug 1692250 - Make RenderTaskId smaller. r=gw
65k render tasks is a lot more than what we need, and RenderTaskId will soon be stored in more places where size affects performance.

Differential Revision: https://phabricator.services.mozilla.com/D105986
2021-02-24 10:32:24 +00:00
Nicolas Silva
64d2e19380 Bug 1692250 - Get the gpu cache in a valid state in frame graph tests. r=gw
The test render tasks used to dodge the gpu cache interactions. Rather than maintain special cases, make it so the gpu cache is usable during these tests (which mainly means having a valid frame stamp to not trigger some assertions).

Differential Revision: https://phabricator.services.mozilla.com/D105985
2021-02-24 10:32:24 +00:00
Nicolas Silva
beb3f1412b Bug 1692250 - Refer to cached render tasks with a render task ID. r=gw
This is the last important change of this render task refactoring. Cached render tasks now create nodes in the frame graph so that they can be referenced via a render task ID. With this it is now possible to refer to almost any textured content via a render task ID, regardless of how it was produced and whether it is cached. It also allows any render task to read from a cached one (before, only primitives and clip sources could).
This obsoletes ImageSourceHandle which will be remvoed in a subsequent patch.

Differential Revision: https://phabricator.services.mozilla.com/D105952
2021-02-24 10:32:23 +00:00
Sebastian Zartner
3fcc126250 Bug 1651649 - Use toggle button for switching between raw and formatted response view. r=Honza,bomsy
The accordion widget inside the response view of the Network Monitor got replaced by a simple headline with a toggle button at the end.

Differential Revision: https://phabricator.services.mozilla.com/D103839
2021-02-24 10:09:36 +00:00
Timothy Nikkel
a17ef11404 Bug 1690845. Don't ask Windows for the icon of an empty file extension because it returns the c: drive icon, which is not what we want. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D105736
2021-02-24 09:56:16 +00:00
Edmund Wong
6aa9734887 Bug 1675676 - Add --with-crashreporter-url for ac_add_options to allow specifying alternative crash-stats server url. r=glandium,gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D96322
2021-02-24 09:46:59 +00:00
Andreea Pavel
4d15e7e3f1 Backed out changeset 45b36995cfd6 (bug 1690216) for build bustages at rules.mk on a CLOSED TREE 2021-02-24 12:03:14 +02:00
Lee Salzman
e746523892 Bug 1690216 - Report whether to redraw on invalidation to WR. r=mattwoodrow
This requires us to plumb CompositorCapabilities to support the extra field.
This is complicated by the fact that since it is a Rust struct, it has no
default constructor that can pass through to C++ via bindings, so every
one of our RenderCompositors was forced to manually initialize fields. To
get around this brittle footgun, instead the structure is initialized on
the Rust side, and RenderCompositor's are encouraged to only change fields
that actually diverge from the defaults as passed in via pointer.

Finally, we can then do what we need to do, which is just to send the
ForceRedraw message that needs to happen based on what we know about
CompositorCapabilities.

Differential Revision: https://phabricator.services.mozilla.com/D106246
2021-02-24 09:18:33 +00:00
Itiel
0bb647b6f6 Bug 1692773 - Fix about:certificate tabs' outline when focused r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D105223
2021-02-24 08:38:15 +00:00
Eden Chuang
00ad03a9c3 Bug 1684139 - Adding mozilla specific wpt for timer nesting level in workers r=dom-worker-reviewers,asuth
This patch is developed from D104136#3396152.

This patch creates WorkerTestUtils.webidl under dom/webidl for testing workers with internal APIs. These APIs are exposed to workers only and controlled by dom.workers.testing.enabled pref.

This patch creates a Mozilla-specific web-platform test, testing/web-platform/mozilla/test/workers/worker_timer_nesting_level.html, to test the timer nesting level implementation for workers.

To simplify the test implementation, this patch does not implement the webidl under dom/chrome-webidl/ suggested by D104136#3396152.

Depends on D104136

Differential Revision: https://phabricator.services.mozilla.com/D105332
2021-02-24 08:14:39 +00:00