Emilio Cobos Álvarez
f60020df95
Bug 1722662 - Load SpecialPowers in reftests. r=jgraham,jmaher
...
Depends on D122014
Differential Revision: https://phabricator.services.mozilla.com/D122015
2021-08-09 15:28:45 +00:00
Emilio Cobos Álvarez
2bfdca005c
Bug 1722662 - Make :-moz-autofill-preview imply :autofill. r=hiro
...
This is useful so that author rules for :autofill also work for the
autofill preview.
It also makes the UA sheet in forms.css simpler (otherwise we'd need to
tweak the selectors to put :-moz-autofill-preview everywhere we put
:autofill).
Depends on D122013
Differential Revision: https://phabricator.services.mozilla.com/D122014
2021-08-09 15:28:45 +00:00
Emilio Cobos Álvarez
de39b4bb49
Bug 1722662 - Make Element::{Add,Remove}States handle change notifications correctly. r=smaug
...
The style system uses the changed bits to compute the old state, so if
it's inaccurate it might cause styles to be incorrectly invalidated.
This causes issues because with the next patch the autofill jsm
calls removeManuallyManagedStates(AUTOFILL), then
addManuallyManagedStates(AUTOFILL | AUTOFILL_PREVIEW), and if the input
didn't have AUTOFILL before we'd incorrectly detect it as not changing
with the next patch.
Also make them not virtual anymore since nobody overrides them. An
alternative to this would be to assert that we don't yet have the state
we're adding (or that we have the state we're removing), and handle it
in the callers. But this is a bit more convenient.
Differential Revision: https://phabricator.services.mozilla.com/D122013
2021-08-09 15:28:44 +00:00
Jan de Mooij
29d4bbfc82
Bug 1723715 part 16 - Move WindowProxy to GlobalObjectData. r=jonco
...
This is done last because it requires reordering the initialization code, and we
can finally do this now.
Differential Revision: https://phabricator.services.mozilla.com/D121996
2021-08-09 15:25:10 +00:00
Jan de Mooij
6bd69b8edd
Bug 1723715 part 15 - Move global lexical environment from Realm to GlobalObjectData. r=jonco
...
This adds a few dereferences to the Baseline Interpreter, but is simpler and should
be faster for C++ accesses. It also simplifies/unblocks the next patch.
Differential Revision: https://phabricator.services.mozilla.com/D121995
2021-08-09 15:25:10 +00:00
Jan de Mooij
5aef55a6d5
Bug 1723715 part 14 - Clean up slot related code a bit. r=jonco
...
Differential Revision: https://phabricator.services.mozilla.com/D121994
2021-08-09 15:25:09 +00:00
Jan de Mooij
6ad790bd22
Bug 1723715 part 13 - Move builtin constructors to GlobalObjectData. r=jonco
...
This replaces the JS_OFF_THREAD_CONSTRUCTOR MagicValue for off-thread constructors
with the same placeholder object we use for the prototype. These constructors
aren't used by off-thread parsing and handling this another way requires a lot
of complexity. With Stencil work the off-thread global will hopefully be removed
eventually.
Differential Revision: https://phabricator.services.mozilla.com/D121993
2021-08-09 15:25:09 +00:00
Jan de Mooij
12961aecf7
Bug 1723715 part 12 - Move some builtin prototypes to GlobalObjectData. r=jonco
...
Depends on D121991
Differential Revision: https://phabricator.services.mozilla.com/D121992
2021-08-09 15:25:08 +00:00
Jan de Mooij
e5f32a1e36
Bug 1723715 part 11 - Move eval function to GlobalObjectData. r=jonco
...
Depends on D121990
Differential Revision: https://phabricator.services.mozilla.com/D121991
2021-08-09 15:25:08 +00:00
Jan de Mooij
fc690c3452
Bug 1723715 part 10 - Move ThrowTypeError to GlobalObjectData. r=jonco
...
Depends on D121989
Differential Revision: https://phabricator.services.mozilla.com/D121990
2021-08-09 15:25:08 +00:00
Jan de Mooij
2f10bf4c06
Bug 1723715 part 9 - Move array shape to GlobalObjectData. r=jonco
...
Depends on D121988
Differential Revision: https://phabricator.services.mozilla.com/D121989
2021-08-09 15:25:07 +00:00
Jan de Mooij
4189fea522
Bug 1723715 part 8 - Move realm key object to GlobalObjectData. r=jonco
...
Depends on D121987
Differential Revision: https://phabricator.services.mozilla.com/D121988
2021-08-09 15:25:07 +00:00
Jan de Mooij
08cbcc0188
Bug 1723715 part 7 - Move SourceURLsHolder to GlobalObjectData. r=jonco
...
Depends on D121986
Differential Revision: https://phabricator.services.mozilla.com/D121987
2021-08-09 15:25:07 +00:00
Jan de Mooij
422644ae1c
Bug 1723715 part 6 - Move globalThisResolved to GlobalObjectData. r=jonco
...
Depends on D121985
Differential Revision: https://phabricator.services.mozilla.com/D121986
2021-08-09 15:25:06 +00:00
Jan de Mooij
c35da74f03
Bug 1723715 part 5 - Move ForOfPICChain to GlobalObjectData. r=jonco
...
Depends on D121984
Differential Revision: https://phabricator.services.mozilla.com/D121985
2021-08-09 15:25:06 +00:00
Jan de Mooij
502d329ac4
Bug 1723715 part 4 - Move intrinsics holder to GlobalObjectData. r=jonco
...
Depends on D121983
Differential Revision: https://phabricator.services.mozilla.com/D121984
2021-08-09 15:25:05 +00:00
Jan de Mooij
efaad850a3
Bug 1723715 part 3 - Move RegExpStaticsObject to GlobalObjectData. r=jonco
...
RegExpStaticsObject just stores the RegExpStatics. It might be possible to store
the RegExpStatics directly in the GlobalObjectData in a follow-up bug.
Depends on D121982
Differential Revision: https://phabricator.services.mozilla.com/D121983
2021-08-09 15:25:05 +00:00
Jan de Mooij
939aa16efa
Bug 1723715 part 2 - Remove the RUNTIME_CODEGEN_ENABLED slot. r=jonco
...
Originally this slot was used to cache the return value of the callback. However
that was changed at some point, now the slot is only set to TrueValue when there
is no callback installed. It's now better and simpler to remove the slot.
Depends on D121981
Differential Revision: https://phabricator.services.mozilla.com/D121982
2021-08-09 15:25:05 +00:00
Jan de Mooij
1c8f0d1a67
Bug 1723715 part 1 - Add GlobalObjectData and use it for emptyGlobalScope. r=jonco
...
Differential Revision: https://phabricator.services.mozilla.com/D121981
2021-08-09 15:25:04 +00:00
Alexandru Michis
ad486327b2
Backed out 2 changesets (bug 1723204) for causing xpcshell failures in ValidateScriptFilename
...
CLOSED TREE
Backed out changeset 83e5baac01a9 (bug 1723204)
Backed out changeset 2ee6c94f35b3 (bug 1723204)
2021-08-09 18:33:15 +03:00
Bob Owen
3b32b0316b
Bug 1724195: Turn on CET compatible modules only for the rdd process on Nightly. r=bryce
...
Differential Revision: https://phabricator.services.mozilla.com/D121866
2021-08-09 15:14:50 +00:00
Sebastian Hengst
89c26bb9f9
Bug 1724582 - set different fuzzy annotation for dynamic-max-width.html on Apple Silicon. r=jmaher DONTBUILD
...
Bug 1714200 enabled reftests on macOS 11 with Apple Silicon. The test fails
with different values than on macOS 10.15.
Differential Revision: https://phabricator.services.mozilla.com/D122070
2021-08-09 15:07:50 +00:00
Sebastian Hengst
fc49212b12
Bug 1724583 - set different fuzzy annotation for 513153-2a.html on Apple Silicon. r=jmaher DONTBUILD
...
Bug 1714200 enabled reftests on macOS 11 with Apple Silicon. The test fails
with different values than on macOS 10.15.
Differential Revision: https://phabricator.services.mozilla.com/D122071
2021-08-09 15:07:27 +00:00
Jared Hirsch
c74f4e41b5
Bug 1724081 - Stop sending analytics pings to the Screenshots server. r=emalysz
...
CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D121796
2021-08-06 14:55:43 +00:00
Rob Wu
c76127baf5
Bug 1723198 - Don't delete user.js in remotexpcshelltests.py + tests r=jmaher
...
The new tests in testing/xpcshell/example/ cover the following scenarios:
- Local AND remote xpcshell tests. In contrast, modifications to
selftest.py in bug 1635227 only covered runxpcshelltests.
- `prefs=` inheritance from ancestor manifests as implemented by
https://hg.mozilla.org/mozilla-central/rev/ac51a01611dc
- Per-file `prefs` setters (used in bug 1638099).
- Multiple prefs and comments per `prefs` line.
Differential Revision: https://phabricator.services.mozilla.com/D121632
2021-08-09 14:49:17 +00:00
Rob Wu
ee18283942
Bug 1723536 - Clear generated user.js before start of xpcshell test r=jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D121631
2021-08-09 14:49:17 +00:00
Paul Zuehlcke
f6f5a3bca5
Bug 1721665 - Do not overwrite private browsing permission lifetime when removing permissions. r=timhuang,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D121749
2021-08-09 14:46:07 +00:00
Tom Ritter
0d2fa9bec2
Bug 1723204: Wire up a crash for Javascript Load Telemetry r=ckerschb,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D121417
2021-08-09 14:42:31 +00:00
Tom Ritter
4e042e9603
Bug 1723204: Infrastructure for causing a crash at most N times r=KrisWright,ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D121416
2021-08-09 14:42:31 +00:00
Jonathan Kew
14e9b6c630
Bug 1723787 - Add print reftest to verify that emoji are not blank when printing. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D121948
2021-08-09 14:28:42 +00:00
Jonathan Kew
55e3fc6f6e
Bug 1723787 - Apply cairo quartz font/surface changes from Andrea Canciani's quartz-colored-glyphs branch at https://gitlab.freedesktop.org/ranma42/cairo/-/commits/quartz-colored-glyphs . r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D121909
2021-08-09 14:28:42 +00:00
Christoph Kerschbaumer
0ad84a48dd
Bug 1723080: Update worker tests within dom/ to work with https-first enabled r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D121340
2021-08-09 14:26:37 +00:00
Neil Deakin
850850f338
Bug 1724395, bookmarks commands to add bookmarks and folders not working after a submenu is opened, r=mak
...
Should only clear the last trigger node when the top-level popup is hidden
Differential Revision: https://phabricator.services.mozilla.com/D122007
2021-08-09 14:20:18 +00:00
Antonin LOUBIERE
982d0f1f0b
Bug 1642211 - Ability to sort logins by username. r=jaws,fluent-reviewers
...
Add the ability to sort logins by username.
Differential Revision: https://phabricator.services.mozilla.com/D120591
2021-08-09 14:00:51 +00:00
Brindusan Cristian
bead970f1f
Backed out changeset b100ed804d46 (bug 1722316) for causing cpp unified-bustages in SVGFEMorphologyElement.cpp.
...
CLOSED TREE
2021-08-09 17:09:57 +03:00
Sebastian Hengst
7a7028b3ff
Bug 1724557 - skip browser_media_wakelock.js on macOS 11 with Apple Silicon for failing frequently. r=mossop DONTBUILD
...
Bug 1714200 had enabled e.g. mochitests on macOS 11.
Differential Revision: https://phabricator.services.mozilla.com/D122099
2021-08-09 13:54:20 +00:00
Kagami Sascha Rosylight
ac80a98f45
Bug 1723050 - Part 36: Replace typedef by using in dom/xul/ r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D121334
2021-08-09 13:37:32 +00:00
Kagami Sascha Rosylight
4356aa3361
Bug 1723050 - Part 35: Replace typedef by using in dom/xml/ r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D121333
2021-08-09 13:37:31 +00:00
Kagami Sascha Rosylight
482e05f4f3
Bug 1723050 - Part 34: Replace typedef by using in dom/xslt/ r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D121332
2021-08-09 13:37:31 +00:00
Kagami Sascha Rosylight
f0a6cae189
Bug 1723050 - Part 31: Replace typedef by using in dom/webbrowserpersist/ r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D121329
2021-08-09 13:37:30 +00:00
Kagami Sascha Rosylight
2e5d583a8d
Bug 1723050 - Part 30: Replace typedef by using in dom/vr/ r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D121328
2021-08-09 13:37:30 +00:00
Kagami Sascha Rosylight
167125cf34
Bug 1723050 - Part 29: Replace typedef by using in dom/system/ r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D121327
2021-08-09 13:37:30 +00:00
Kagami Sascha Rosylight
7610a3dfcf
Bug 1723050 - Part 24: Replace typedef by using in dom/script/ r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D121322
2021-08-09 13:37:29 +00:00
Kagami Sascha Rosylight
85fd9401d7
Bug 1723050 - Part 22: Replace typedef by using in dom/prio/ r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D121320
2021-08-09 13:37:29 +00:00
Kagami Sascha Rosylight
ad1eb3ed7e
Bug 1723050 - Part 21: Replace typedef by using in dom/performance/ r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D121319
2021-08-09 13:37:29 +00:00
Kagami Sascha Rosylight
394381f87e
Bug 1723050 - Part 20: Replace typedef by using in dom/offline/ r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D121318
2021-08-09 13:37:28 +00:00
Kagami Sascha Rosylight
deeaa7ead1
Bug 1723050 - Part 16: Replace typedef by using in dom/ipc/ r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D121314
2021-08-09 13:37:28 +00:00
Kagami Sascha Rosylight
c69d367ce0
Bug 1723050 - Part 14: Replace typedef by using in dom/html/ r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D121312
2021-08-09 13:37:27 +00:00
Kagami Sascha Rosylight
d71395370d
Bug 1723050 - Part 13: Replace typedef by using in dom/geolocation/ r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D121311
2021-08-09 13:37:27 +00:00
Kagami Sascha Rosylight
e9692a5da6
Bug 1723050 - Part 12: Replace typedef by using in dom/gamepad/ r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D121310
2021-08-09 13:37:26 +00:00