Adam Vandolder
305c6a88bf
Bug 1685926 - Group disconnected radio buttons together. r=saschanaz,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D162349
2023-09-25 14:39:08 +00:00
Emilio Cobos Álvarez
bc2572c2ca
Bug 1854744 - Document::RecordShadowStyleChange doesn't need to invalidate global stylesheet state. r=jrmuizel
...
Things like @font-face / @font-pallete-values etc don't look into those
stylesheets.
This prevents bugs in invalidation like bug 1854742 from triggering on
shadow root style changes like when changing AdoptedStyleSheets and so
on.
Differential Revision: https://phabricator.services.mozilla.com/D189034
2023-09-24 09:52:04 +00:00
Cristian Tuns
ed52e40449
Backed out changeset fcecc33ac7a3 (bug 1854744) for causing multiple assertion failures in ServoStyleSet.cpp CLOSED TREE
2023-09-22 22:37:45 -04:00
Emilio Cobos Álvarez
a21f440c39
Bug 1854744 - Document::RecordShadowStyleChange doesn't need to invalidate global stylesheet state. r=jrmuizel
...
Things like @font-face / @font-pallete-values etc don't look into those
stylesheets.
This prevents bugs in invalidation like bug 1854742 from triggering on
shadow root style changes like when changing AdoptedStyleSheets and so
on.
Differential Revision: https://phabricator.services.mozilla.com/D189034
2023-09-23 01:45:24 +00:00
Valentin Gosu
cdd5195292
Bug 1848694 - Remove/avoid global references to nsIIOService r=mccr8,necko-reviewers,kershaw
...
This patch removes the static pointer to nsIIOService in nsContentUtils,
replacing it to calls to mozilla::components::IO::Service.
It also makes nsScriptSecurityManager::sIOService a StaticRefPtr.
Differential Revision: https://phabricator.services.mozilla.com/D188714
2023-09-22 12:49:44 +00:00
Sandor Molnar
a8db14100e
Backed out changeset b858a0740582 (bug 1848694) for causing build bustages on dom/base/Element.cpp CLOSED TREE
2023-09-21 16:45:57 +03:00
Valentin Gosu
e058782d44
Bug 1848694 - Remove/avoid global references to nsIIOService r=mccr8,necko-reviewers,kershaw
...
This patch removes the static pointer to nsIIOService in nsContentUtils,
replacing it to calls to mozilla::components::IO::Service.
It also makes nsScriptSecurityManager::sIOService a StaticRefPtr.
Differential Revision: https://phabricator.services.mozilla.com/D188714
2023-09-21 12:39:20 +00:00
Benjamin VanderSloot
97b33d4ddc
Bug 1848783, part 5 - Move UsingStorageAccess onto the WindowContext to fix the storage access check for resource reuqests within subdocuments without active storage access but with permission r=timhuang,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D187138
2023-09-21 01:48:49 +00:00
Benjamin VanderSloot
44445ad6ec
Bug 1848783, part 1 - Add active document check - r=anti-tracking-reviewers,timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D186982
2023-09-21 01:48:47 +00:00
Benjamin VanderSloot
de2e216997
Bug 1837168 - Update user activation check to be after the permission check - r=timhuang,anti-tracking-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D186981
2023-09-21 01:48:47 +00:00
Iulian Moraru
498b92b571
Backed out 9 changesets (bug 1848783, bug 1837168, bug 1835920) for causing multiple failures. CLOSED TREE
...
Backed out changeset ab1717421318 (bug 1848783)
Backed out changeset de5e1715c877 (bug 1848783)
Backed out changeset 1f64106e6667 (bug 1848783)
Backed out changeset e082ba20bbb2 (bug 1848783)
Backed out changeset cb56c5d713bf (bug 1848783)
Backed out changeset 735161c251e4 (bug 1848783)
Backed out changeset 3d1468ac6e84 (bug 1848783)
Backed out changeset 9ff5b92032cb (bug 1837168)
Backed out changeset 15cfb0c4f048 (bug 1835920)
2023-09-20 22:29:41 +03:00
Benjamin VanderSloot
e0441af918
Bug 1848783, part 5 - Move UsingStorageAccess onto the WindowContext to fix the storage access check for resource reuqests within subdocuments without active storage access but with permission r=timhuang,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D187138
2023-09-20 16:14:40 +00:00
Benjamin VanderSloot
adeade5dbc
Bug 1848783, part 1 - Add active document check - r=anti-tracking-reviewers,timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D186982
2023-09-20 16:14:38 +00:00
Benjamin VanderSloot
a14753a031
Bug 1837168 - Update user activation check to be after the permission check - r=timhuang,anti-tracking-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D186981
2023-09-20 16:14:38 +00:00
Gregory Pappas
9ebd9f1125
Bug 1843999 - Remove dom.animations-api.core.enabled, dom.animations-api.implicit-keyframes.enabled, and dom.animations-api.autoremove.enabled prefs r=dom-core,webidl,devtools-reviewers,firefox-animation-reviewers,saschanaz,edgar
...
Differential Revision: https://phabricator.services.mozilla.com/D183827
2023-09-20 08:55:50 +00:00
Cosmin Sabou
805246368b
Backed out 9 changesets (bug 1837168, bug 1835920, bug 1848783) for causing storage-access-api wpt failures. CLOSED TREE
...
Backed out changeset 3fd66f8f5d65 (bug 1848783)
Backed out changeset a96afb6d05d6 (bug 1848783)
Backed out changeset 117132b000ac (bug 1848783)
Backed out changeset 3a14281b7d72 (bug 1848783)
Backed out changeset 7dc5f794364d (bug 1848783)
Backed out changeset 84ca25a557a6 (bug 1848783)
Backed out changeset 8bb89cf9587e (bug 1848783)
Backed out changeset 15a005bef445 (bug 1837168)
Backed out changeset a97bc1fd6637 (bug 1835920)
2023-09-20 04:41:18 +03:00
Benjamin VanderSloot
b0352105fc
Bug 1848783, part 5 - Move UsingStorageAccess onto the WindowContext to fix the storage access check for resource reuqests within subdocuments without active storage access but with permission r=timhuang,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D187138
2023-09-19 21:03:08 +00:00
Benjamin VanderSloot
f76ca9614f
Bug 1848783, part 1 - Add active document check - r=anti-tracking-reviewers,timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D186982
2023-09-19 21:03:06 +00:00
Benjamin VanderSloot
f40a04040a
Bug 1837168 - Update user activation check to be after the permission check - r=timhuang,anti-tracking-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D186981
2023-09-19 21:03:06 +00:00
Narcis Beleuzu
cf8743b301
Backed out 9 changesets (bug 1835920, bug 1848783, bug 1837168) for assertion failure on PermissionManager.cpp . CLOSED TREE
...
Backed out changeset 589241e4e1f6 (bug 1848783)
Backed out changeset 7446d643420d (bug 1848783)
Backed out changeset 1b5a505a9bc6 (bug 1848783)
Backed out changeset bfd4df9014d7 (bug 1848783)
Backed out changeset 01f053bbdb97 (bug 1848783)
Backed out changeset e1b829bfb8d1 (bug 1848783)
Backed out changeset f17d58a27f3c (bug 1848783)
Backed out changeset d21bdbf5baf1 (bug 1837168)
Backed out changeset a2d17b5958b8 (bug 1835920)
2023-09-19 16:15:26 +03:00
Benjamin VanderSloot
218d63a6cc
Bug 1848783, part 5 - Move UsingStorageAccess onto the WindowContext to fix the storage access check for resource reuqests within subdocuments without active storage access but with permission r=timhuang,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D187138
2023-09-19 11:11:19 +00:00
Benjamin VanderSloot
51c663f42b
Bug 1848783, part 1 - Add active document check - r=anti-tracking-reviewers,timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D186982
2023-09-19 11:11:18 +00:00
Benjamin VanderSloot
192c3fcb0f
Bug 1837168 - Update user activation check to be after the permission check - r=timhuang,anti-tracking-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D186981
2023-09-19 11:11:18 +00:00
Harshit Sohaney
3898675cdd
Bug 1835913 - Deprecating RejectForeignAllowList. r=bvandersloot,anti-tracking-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D187286
2023-09-14 15:41:40 +00:00
Mathew Hodson
e3c6a98595
Bug 582361 - Align scrolling to a fragment with HTML spec. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D187362
2023-09-14 09:29:27 +00:00
Cosmin Sabou
fdf4581a1b
Backed out changeset ce9c917d3e22 (bug 582361) for causing wpt failures on scroll-frag-percent-encoded.html. CLOSED TREE
2023-09-13 20:52:47 +03:00
Mathew Hodson
f495cd8f75
Bug 582361 - Align scrolling to a fragment with HTML spec. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D187362
2023-09-13 16:04:59 +00:00
Tom Schuster
f26c47e1d3
Bug 1845940 - Call RecomputeResistFingerprinting in Document::SetPrincipals. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D184943
2023-09-08 19:24:44 +00:00
Cosmin Sabou
af07ece97f
Backed out 3 changesets (bug 1843477) for causing hazards failures on TelemetryFixture.cpp. CLOSED TREE
...
Backed out changeset 4dd5d8ac600c (bug 1843477)
Backed out changeset e7bc0b63286a (bug 1843477)
Backed out changeset 4f45f40beaf7 (bug 1843477)
2023-09-08 20:21:46 +03:00
Olli Pettay
26df9a59fc
Bug 1843477, remove main thread only CC macros, r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D187146
2023-09-08 14:51:48 +00:00
Iulian Moraru
687d5d80e7
Backed out 5 changesets (bug 1846224, bug 1845940) for causing spidermonkey build bustages on TestingUtility.cpp. CLOSED TREE
...
Backed out changeset fc9692101130 (bug 1846224)
Backed out changeset 61486ba55cae (bug 1846224)
Backed out changeset a85aaad7d2f8 (bug 1846224)
Backed out changeset e90bc9bc5729 (bug 1846224)
Backed out changeset 38262976d922 (bug 1845940)
2023-09-08 17:13:44 +03:00
Tom Schuster
b9b90ea351
Bug 1845940 - Call RecomputeResistFingerprinting in Document::SetPrincipals. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D184943
2023-09-08 13:38:11 +00:00
Emilio Cobos Álvarez
bfb5d127d9
Bug 1847584 - Consistently throttle visibility:hidden frames. r=smaug
...
Before this patch OOP frames were being throttled but in-process ones
weren't.
Depends on D185643
Differential Revision: https://phabricator.services.mozilla.com/D185794
2023-09-05 23:33:59 +00:00
Sean Feng
a682aea259
Bug 1830820 - Introduce some delays to user input handling r=smaug
...
In some edge cases, we may start handling user input events that
are not supposed to be handled by the current document.
This patch introduces some delay to handle user input events.
Differential Revision: https://phabricator.services.mozilla.com/D180976
2023-09-05 18:28:52 +00:00
Markus Stange
755a0de1c3
Bug 1851263 - Rename nsIGlobalObject::AsInnerWindow to GetAsInnerWindow because it can return null. r=smaug
...
This is also the name that was originally suggested in https://bugzilla.mozilla.org/show_bug.cgi?id=218415#c53 .
Differential Revision: https://phabricator.services.mozilla.com/D187340
2023-09-04 04:06:30 +00:00
Andrew Creskey
bdec20d358
Bug 1850892 - Remove expiring probe HTTP_PRELOAD_IMAGE_STARTREQUEST_DELAY r=necko-reviewers,valentin
...
We are working on an alternative approach to improving OnStart/OnStop request timing, and so will remove this probe because it's no longer as relevant and the implementation touchs many classes and methods.
Differential Revision: https://phabricator.services.mozilla.com/D187233
2023-09-01 14:45:06 +00:00
Iulian Moraru
8cc0bded61
Backed out 2 changesets (bug 1830820) for causing marionette failures on test_actions_wheel.py. CLOSED TREE
...
Backed out changeset e930161a5935 (bug 1830820 )
Backed out changeset 4df110e417d4 (bug 1830820 )
2023-08-31 20:55:06 +03:00
Sean Feng
98bef8ea08
Bug 1830820 - Introduce some delays to user input handling r=smaug
...
In some edge cases, we may start handling user input events that
are not supposed to be handled by the current document.
This patch introduces some delay to handle user input events.
Differential Revision: https://phabricator.services.mozilla.com/D180976
2023-08-31 15:56:47 +00:00
Emilio Cobos Álvarez
18854ff8b5
Bug 1850238 - Make Link states not intrinsic. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D186877
2023-08-30 09:18:32 +00:00
Emilio Cobos Álvarez
3e9e56e2c8
Bug 1850293 - Make editable states not intrinsic. r=smaug,masayuki
...
This one is tricky because form controls, though I think I got it right...
This fixes a pre-existing bug where we're not following the spec for readonly
inside content-editable.
I filed this as bug 1850390 but other browsers match the spec so add a test and
fix it while at it. This allows cheaper checks for readonlyness in a couple
places.
Differential Revision: https://phabricator.services.mozilla.com/D186896
2023-08-30 09:18:31 +00:00
Markus Stange
a4e2816d54
Bug 1843484 - Use EventTarget* instead of nsISupports* for the event target parameter of the EventDispatcher::Dispatch methods. r=smaug
...
This saves a few QueryInterface calls on the hot path.
Differential Revision: https://phabricator.services.mozilla.com/D186977
2023-08-28 23:38:43 +00:00
Markus Stange
70bd936589
Bug 1843484 - Use EventTarget* instead of nsISupports* for the event target parameter of the nsContentUtils::Dispatch methods. r=smaug
...
This saves a few queryInterface calls on the hot path.
Differential Revision: https://phabricator.services.mozilla.com/D186976
2023-08-28 23:38:42 +00:00
Ziran Sun
5b9fbf874d
Bug 1849689 - Initial steps on handling Esc key for popover. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D186643
2023-08-28 07:47:24 +00:00
Markus Stange
29389cdfd6
Bug 1849776 - Don't enqueue DeferredContentEditableCountChangeEvent if aElement is nullptr. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D186669
2023-08-22 20:15:16 +00:00
Olli Pettay
22262b6f58
Bug 1843473 - Don't dispatch DOMActivate if there are no listeners for it, r=masayuki
...
Differential Revision: https://phabricator.services.mozilla.com/D186473
2023-08-18 06:01:16 +00:00
Tooru Fujisawa
b4da7fa0cf
Bug 1847469 - Part 24: Use column number types in JS::DescribeScriptedCaller. r=iain
...
Differential Revision: https://phabricator.services.mozilla.com/D185762
2023-08-16 17:31:42 +00:00
Cristian Tuns
77d753c741
Backed out 27 changesets (bug 1847469) for causing spidermonkey bustages in Script.cpp CLOSED TREE
...
Backed out changeset 9d6e2651a013 (bug 1847469)
Backed out changeset 9b72d668efd2 (bug 1847469)
Backed out changeset 86abf5cf0a22 (bug 1847469)
Backed out changeset 46833087f8ac (bug 1847469)
Backed out changeset f3e2207fdeec (bug 1847469)
Backed out changeset aed75776cfff (bug 1847469)
Backed out changeset 8292a38bd99f (bug 1847469)
Backed out changeset 1320f83fb8c7 (bug 1847469)
Backed out changeset df9f925f9837 (bug 1847469)
Backed out changeset 69f32cf1862a (bug 1847469)
Backed out changeset b2ddddec8818 (bug 1847469)
Backed out changeset 056eed7abc97 (bug 1847469)
Backed out changeset 5df4f43ac0bf (bug 1847469)
Backed out changeset cb57923f6532 (bug 1847469)
Backed out changeset a0993f2a2195 (bug 1847469)
Backed out changeset 782499fbedf2 (bug 1847469)
Backed out changeset cf84fb98c5e1 (bug 1847469)
Backed out changeset 1fa5ab59814b (bug 1847469)
Backed out changeset f5f78944df81 (bug 1847469)
Backed out changeset aa14337bf5c6 (bug 1847469)
Backed out changeset 6757db4575d7 (bug 1847469)
Backed out changeset 236ff135701e (bug 1847469)
Backed out changeset 9b4d5b435020 (bug 1847469)
Backed out changeset a0f789621bc8 (bug 1847469)
Backed out changeset c19b81f48055 (bug 1847469)
Backed out changeset b4521e546d7e (bug 1847469)
Backed out changeset f26a10289316 (bug 1847469)
2023-08-16 07:08:01 -04:00
Tooru Fujisawa
fb38c26358
Bug 1847469 - Part 24: Use column number types in JS::DescribeScriptedCaller. r=iain
...
Differential Revision: https://phabricator.services.mozilla.com/D185762
2023-08-16 10:26:33 +00:00
Emilio Cobos Álvarez
9d1851a1aa
Bug 1845779 - Don't report use counter data for content-inaccessible about:blank documents. r=nika
...
Our counters are super low because we report lots of empty entries for
these. It seems just opening a new tab is enough to trigger this.
While at it I found that we also report about:preferences / about:config
since they use the system principal. Also block those.
Differential Revision: https://phabricator.services.mozilla.com/D184834
2023-08-16 10:23:22 +00:00
Emilio Cobos Álvarez
3b1bd6b3ce
Bug 1451717 - Fix scheduling of media query list events to match the spec. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D185662
2023-08-16 09:07:14 +00:00