Commit Graph

2004 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
3bbfb2e943 Bug 1817122 - Make AsyncEventDispatcher(Event) take ownership of the event. r=smaug,media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D190059
2023-10-04 19:37:39 +00:00
Emilio Cobos Álvarez
8bd872cf7c Bug 1856628 - Remove WakeLock::IsDocumentInvisible and related code. r=pip-reviewers,mhowell
This was added for bug 1659060 and bug 1679314, but it is effectively
superseded by bug 1755748, which makes document.hidden false if PiP is
used.

Covered by toolkit/content/tests/browser/browser_media_wakelock_PIP.js

Differential Revision: https://phabricator.services.mozilla.com/D189940
2023-10-03 16:08:59 +00:00
Alexander Surkov
793b37abb9 Bug 1807253 - get rid of ResizeObserverNotificationHelper, r=emilio
Integrate resize observer processing with RefreshDriver to make it
more extensible.

Differential Revision: https://phabricator.services.mozilla.com/D189697
2023-10-03 09:48:46 +00:00
Ziran Sun
2eb4db34f2 Bug 1850341 - Check if a dialog is opened as a popover in ESC key handling. r=emilio
https://github.com/whatwg/html/pull/9121

Differential Revision: https://phabricator.services.mozilla.com/D189632
2023-10-02 15:21:27 +00:00
Adam Vandolder
a1cf2d6b5d Bug 1685926 - Group disconnected radio buttons together. r=saschanaz,smaug
Differential Revision: https://phabricator.services.mozilla.com/D162349
2023-09-28 15:47:11 +00:00
Emilio Cobos Álvarez
8c4c373dd7 Bug 1854441 - Initial zoom property implementation. r=layout-reviewers,jfkthame
Implement it as a 16-bit fixed-point value to avoid growing the
ComputedStyle object.

Modify the computed value of absolute lengths directly, as that's how it
works in other implementations (this sucks, see impending spec issues).

This doesn't implement the getComputedStyle / CSSOM APIs unzooming and
so on just yet, at least.

Differential Revision: https://phabricator.services.mozilla.com/D188862
2023-09-28 10:58:51 +00:00
Natalia Csoregi
51f7d1bb14 Backed out changeset 8f8492410799 (bug 1685926) for causing bustage on SVGAnimatedPathSegList.cpp. CLOSED TREE 2023-09-28 10:40:31 +03:00
Adam Vandolder
aee8834b7a Bug 1685926 - Group disconnected radio buttons together. r=saschanaz,smaug
Differential Revision: https://phabricator.services.mozilla.com/D162349
2023-09-28 06:35:44 +00:00
Olli Pettay
c8c800a6a6 Bug 1843477, remove main thread only CC macros, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D187146
2023-09-26 12:36:20 +00:00
Cosmin Sabou
1483b97d75 Backed out 6 changesets (bug 1843477) for causing hazards failures. CLOSED TREE
Backed out changeset 64b093aa12a9 (bug 1843477)
Backed out changeset bdcd84c938d1 (bug 1843477)
Backed out changeset 05c882dd0d9a (bug 1843477)
Backed out changeset 1de814e5820d (bug 1843477)
Backed out changeset 6a0e19a60a5d (bug 1843477)
Backed out changeset 48942aff586f (bug 1843477)
2023-09-26 05:32:28 +03:00
Olli Pettay
c1089623d8 Bug 1843477, remove main thread only CC macros, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D187146
2023-09-25 21:09:00 +00:00
Robert Longson
c5e5a99e72 Bug 866411 - copy animation effects when cloning a use element r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D188886
2023-09-25 20:31:29 +00:00
Cristian Tuns
f84b646496 Backed out changeset 37ade77d181e (bug 1685926) for causing build bustages in PerformanceEventTiming.cpp CLOSED TREE 2023-09-25 12:40:22 -04:00
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