Emilio Cobos Álvarez
610e57d843
Bug 1873967 - Remove DocGroup::TryToLoadIframesInBackground. r=sefeng
...
This is somewhat complex, untested, never shipped, and predates
fission.
Remove it to simplify the code.
Depends on D198183
Differential Revision: https://phabricator.services.mozilla.com/D198184
2024-01-10 22:33:17 +00:00
Nika Layzell
38d90f11db
Bug 1873294 - Clean up logic for firing cross-process load events, r=smaug
...
Previously it may have been possible in some edge cases for us to send
`MaybeFireEmbedderLoadEvents` for a non-toplevel frame during docshell
tree teardown.
Differential Revision: https://phabricator.services.mozilla.com/D197825
2024-01-08 19:30:59 +00:00
Emilio Cobos Álvarez
d02e297b2d
Bug 1624819 - Remove TaskCategory and other quantum dom remnants. r=smaug,media-playback-reviewers,credential-management-reviewers,cookie-reviewers,places-reviewers,win-reviewers,valentin,mhowell,sgalich,alwu
...
Sorry this is not a particularly easy patch to review. But it should be
mostly straight-forward.
I kept Document::Dispatch mostly for convenience, but could be
cleaned-up too / changed by SchedulerGroup::Dispatch. Similarly maybe
that can just be NS_DispatchToMainThread if we add an NS_IsMainThread
check there or something (to preserve shutdown semantics).
Differential Revision: https://phabricator.services.mozilla.com/D190450
2023-10-10 08:51:12 +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
Peter Van der Beken
c10814e75a
Bug 1846277 - Remove nsGlobalWindow.h. r=dom-core,necko-reviewers,jesup,farre
...
Differential Revision: https://phabricator.services.mozilla.com/D184973
2023-08-02 20:41:48 +00:00
Kershaw Chang
bd7389a309
Bug 1760580 - P2: Provide a reason when request is cancelled with NS_BINDING_ABORTED, r=necko-reviewers,media-playback-reviewers,valentin,chunmin
...
Differential Revision: https://phabricator.services.mozilla.com/D156071
2022-09-08 09:11:19 +00:00
Olli Pettay
0072c0e2fe
Bug 1752413, add nsIWebProgress.documentRequest to let one to access the request for the document, r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D137212
2022-02-01 15:46:32 +00:00
Kagami Sascha Rosylight
a822b59742
Bug 1539884 - Part 33: Mark nsDocLoader::DocLoaderIsEmpty as CAN_RUN_SCRIPT r=masayuki
...
Differential Revision: https://phabricator.services.mozilla.com/D134416
2021-12-23 16:27:25 +00:00
Peter Van der Beken
e3ef4b903e
Bug 1744397 - Simplify refresh code: pass around delay as an unsigned int. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D132863
2021-12-16 22:27:08 +00:00
Norisz Fay
d281685db4
Backed out 5 changesets (bug 1742865, bug 1744397) for causing wpt failures on attr-meta-http-equiv-refresh/parsing.html CLOSED TREE
...
Backed out changeset 7b01edc5a0e0 (bug 1744397)
Backed out changeset 41abd4b7d2c0 (bug 1744397)
Backed out changeset 634641e3a05a (bug 1744397)
Backed out changeset 6e7755177481 (bug 1744397)
Backed out changeset e9fc94b33da9 (bug 1742865)
2021-12-14 13:25:58 +02:00
Peter Van der Beken
d15e0b1095
Bug 1744397 - Simplify refresh code: pass around delay as an unsigned int. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D132863
2021-12-14 10:14:00 +00:00
Peter Van der Beken
44fed2b80b
Bug 1706347 - Check mOOPChildrenLoading when deciding to put page in BFCache with Fission enabled. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D117199
2021-08-16 09:08:33 +00:00
Sebastian Hengst
46af0b14b5
Backed out changeset f912045db98d (bug 1706347) for causing content crashes (bug 1725558). a=backout DONTBUILD
2021-08-13 11:19:42 +02:00
Peter Van der Beken
1cea2f0150
Bug 1706347 - Check mOOPChildrenLoading when deciding to put page in BFCache with Fission enabled. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D117199
2021-08-12 14:11:29 +00:00
Csoregi Natalia
3dc6e87585
Backed out changeset b6399ca8a2c1 (bug 1706347) for failures on iframe-cross-origin-print.sub.html. CLOSED TREE
2021-07-20 00:41:23 +03:00
Peter Van der Beken
3c1a9bd2d9
Bug 1706347 - Check mOOPChildrenLoading when deciding to put page in BFCache with Fission enabled. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D117199
2021-07-19 19:18:02 +00:00
Alexandre Poirot
f9547901e6
Bug 1720304 - Implement WebProgress.browsingContext r=nika
...
This helps knowing which particular BrowsingContext is navigating.
Differential Revision: https://phabricator.services.mozilla.com/D119647
2021-07-19 08:28:19 +00:00
Kris Maglione
3442086aaa
Bug 1696473: End subframe loads for initial about:blank document on request error. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D112289
2021-05-07 01:39:45 +00:00
Narcis Beleuzu
1859e05c02
Backed out changeset 5b15696335bd (bug 1696473) for xpcshell failures on test_subframe_stop_after_parent_error.js . CLOSED TREE
2021-05-05 01:12:48 +03:00
Kris Maglione
0c395db7a4
Bug 1696473: End subframe loads for initial about:blank document on request error. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D112289
2021-05-04 21:19:51 +00:00
Peter Van der Beken
07b663daa4
Bug 1696158 - Move CanSavePresentation to the parent process. Make nsDocShell listen for background requests too. r=smaug,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D112201
2021-04-19 14:50:57 +00:00
smolnar
b8fdbb0df4
Backed out 8 changesets (bug 1696158) for causing multiple failures. CLOSED TREE
...
Backed out changeset 09c598c8fd29 (bug 1696158)
Backed out changeset 02f956c26901 (bug 1696158)
Backed out changeset b61a3a324cce (bug 1696158)
Backed out changeset 95810ed7f1e5 (bug 1696158)
Backed out changeset 4f93a7b61496 (bug 1696158)
Backed out changeset c80c55b56f2a (bug 1696158)
Backed out changeset 11627c409882 (bug 1696158)
Backed out changeset b98b4316a510 (bug 1696158)
2021-04-19 17:04:08 +03:00
Peter Van der Beken
805813f288
Bug 1696158 - Move CanSavePresentation to the parent process. Make nsDocShell listen for background requests too. r=smaug,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D112201
2021-04-19 12:39:21 +00:00
Kris Maglione
d733e3a7d7
Bug 1704693: Fix weird Hungarian notation in nsDocLoader. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D111772
2021-04-15 21:18:42 +00:00
Alexis Beingessner
b376547204
Bug 1686616 - make StringBundle use Components instead of Services. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D105531
2021-02-18 13:26:32 +00:00
Emilio Cobos Álvarez
b81bab6e25
Bug 1685201 - Back out bug 1643204. r=mattwoodrow,smaug
...
Bug 1643204 really only papered over the issue of the active state being
messed up / the document becoming visible internally without notifying
media.
Bug 1572798 notifies media properly so that the visibility state is
consistent with what media thinks the visibility state is, so I think
there's no longer a reason to do this.
No other browser passes the test added in bug 1643204.
Differential Revision: https://phabricator.services.mozilla.com/D100836
2021-01-26 04:22:10 +00:00
Henri Sivonen
064bdba0e5
Bug 1606499 - Abort document on location.reload(). r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D89439
2020-09-10 14:37:16 +00:00
Matt Woodrow
9c77895f40
Bug 1643204 - Fire pageshow event when we finish loading a Document.open load, if we haven't already fired one for the Document. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D84934
2020-08-27 03:51:22 +00:00
Narcis Beleuzu
f7032dcc3e
Backed out changeset da1424ee1d11 (bug 1643204) for wpt failure on reload.window.html CLOSED TREE
2020-08-27 04:56:35 +03:00
Matt Woodrow
08ee4fec7c
Bug 1643204 - Fire pageshow event when we finish loading a Document.open load, if we haven't already fired one for the Document. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D84934
2020-08-26 10:11:13 +00:00
Matt Woodrow
4e3aee5045
Bug 1646582 - Remove DOM(Inner)WindowID from nsIWebProgress. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D80128
2020-06-24 19:58:15 +00:00
Dorel Luca
cbf0f75a5d
Backed out 4 changesets (bug 1646582) for Browser-chrome failures on nsIWebProgress.addProgressListener. CLOSED TREE
...
Backed out changeset 2111dd0d6dc0 (bug 1646582)
Backed out changeset e6c496c5a4b1 (bug 1646582)
Backed out changeset 49b4ae8c8be0 (bug 1646582)
Backed out changeset 9d42ec89240c (bug 1646582)
2020-06-24 07:50:07 +03:00
Matt Woodrow
038d20016f
Bug 1646582 - Remove DOM(Inner)WindowID from nsIWebProgress. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D80128
2020-06-24 03:24:21 +00:00
Narcis Beleuzu
80ce4752a3
Backed out 4 changesets (bug 1646582) for mochitest failures on test_ext_tabs_create.html . CLOSED TREE
...
Backed out changeset ce5cdfc5d7cf (bug 1646582)
Backed out changeset 2ac69a2b6708 (bug 1646582)
Backed out changeset 74d89cb24414 (bug 1646582)
Backed out changeset 7de0ff1af560 (bug 1646582)
2020-06-23 06:30:03 +03:00
Matt Woodrow
8fc48d47cb
Bug 1646582 - Remove DOM(Inner)WindowID from nsIWebProgress. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D80128
2020-06-23 01:23:57 +00:00
Kris Maglione
fa4a4ad164
Bug 1642425: Part 3 - Fix nsDocLoader::GetIsTopLevel under Fission. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D77702
2020-06-17 18:01:10 +00:00
Simon Giesecke
dbe490491a
Bug 1645382 - Remove unnecessary arguments from NS_OBSERVER_ARRAY_NOTIFY_* macros. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D79485
2020-06-15 09:05:00 +00:00
Matt Woodrow
d0c7c2b76c
Bug 1620679 - Don't fire load event from within Stop(). r=smaug
...
This matches what the spec says, and what blink does.
Differential Revision: https://phabricator.services.mozilla.com/D73994
2020-05-30 17:19:54 +00:00
Matt Woodrow
50fe906c42
Bug 1640160 - Serialize mRequestContextId with BrowsingContext's IPCInitializer to ensure that we don't try to create a request context with an id of 0. r=nika
...
This was a bit of pain to track down, because some code was allowing an ID of 0, and creating a request context to match, but other code was treating 0 as invalid.
Differential Revision: https://phabricator.services.mozilla.com/D76652
2020-05-26 21:14:27 +00:00
Butkovits Atila
71f1bc22dd
Backed out 2 changesets (bug 1620679) for perma Reftest failure. CLOSED TREE
...
Backed out changeset 8190c67514cc (bug 1620679)
Backed out changeset 4ca2912d7421 (bug 1620679)
2020-05-26 10:58:42 +03:00
Matt Woodrow
ce37f05fc7
Bug 1620679 - Don't fire load event from within Stop(). r=smaug
...
This matches what the spec says, and what blink does.
Differential Revision: https://phabricator.services.mozilla.com/D73994
2020-05-26 03:08:40 +00:00
Matt Woodrow
d7cae3e58f
Bug 1627533 - Create LoadGroups for docshells using the BrowsingContext's request context id. r=dragana,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D75885
2020-05-21 03:38:37 +00:00
Noemi Erli
67c508ae4e
Backed out 3 changesets (bug 1627533) for causing assertions in RequestContextService.cpp CLOSED TREE
...
Backed out changeset 3b35a1852a60 (bug 1627533)
Backed out changeset 70fa5e075269 (bug 1627533)
Backed out changeset 0d1046670534 (bug 1627533)
2020-05-21 04:16:21 +03:00
Matt Woodrow
d6cfeae5c4
Bug 1627533 - Create LoadGroups for docshells using the BrowsingContext's request context id. r=dragana,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D75885
2020-05-20 23:41:36 +00:00
Mihai Alexandru Michis
c01502eb93
Backed out 2 changesets (bug 1620679) for causing failures in nsDocShell.cpp
...
CLOSED TREE
Backed out changeset 2957142243c5 (bug 1620679)
Backed out changeset 60df74b03f34 (bug 1620679)
2020-05-18 14:47:37 +03:00
Matt Woodrow
c43c973db0
Bug 1620679 - Don't fire load event from within Stop(). r=smaug
...
This matches what the spec says, and what blink does.
Differential Revision: https://phabricator.services.mozilla.com/D73994
2020-05-18 07:30:14 +00:00
Matt Woodrow
1b03d4ee89
Bug 1627971 - Add option to MaybeFireEmbedderLoadEvents to also fire the error event to the embedder element. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D70585
2020-04-15 22:30:13 +00:00
Dylan Roeh
0045eeabfc
Bug 1619798 - Move GeckoView onLoadRequest calls to DocumentLoadListener.cpp r=snorp,mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D69594
2020-04-10 16:38:48 +00:00
Eric Rahm
a2c461bfa5
Bug 1626451 - Remove nsAutoPtr usage from uriloader/. r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D69122
2020-04-03 21:05:39 +00:00
sonakshi
fff025ba78
Bug 1551306 - Remove context parameter from nsIProgressEventSink.onProgress() and nsIProgressEventSink.onStatus() r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D68235
2020-03-29 19:18:56 +00:00