Csoregi Natalia
39be65564e
Backed out changeset 05e436fbc095 (bug 1644945) for bustage on Linux on DocumentLoadListener.cpp. CLOSED TREE
2020-06-12 15:47:40 +03:00
Matt Woodrow
39ef406847
Bug 1644945 - Implement a wrapper nsIParentChannel for ParentProcessDocumentChannel so that we can use the same code in DocumentLoadListener. r=jya
...
Differential Revision: https://phabricator.services.mozilla.com/D79241
2020-06-11 16:21:45 +00:00
Jean-Yves Avenard
7a9999e7b7
Bug 1641737 - P7. Make the DLL and PPDC promises use direct task dispatch. r=mattwoodrow
...
We attempt to reduce the number of event loop iterations, which would bring us back to a similar behaviour to the pre-DocumentChannel days.
This prevent some tests to have increase intermittent failures.
While ideally, we would prefer to fix or re-write those tests properly, the extra work would block us for too long.
All those increased intermittents already have bug logged about them; so we aren't hiding dust under the rust.
Differential Revision: https://phabricator.services.mozilla.com/D78489
2020-06-12 05:57:02 +00:00
Jean-Yves Avenard
a0ac7bafae
Bug 1641737 - P6. Remove the need for an extra promise for when a DocumentChannel would connect. r=mattwoodrow
...
The earlier changes make this unnecessary. The load will start and will automatically resume once the PDocumentChannelParent::RedirectToRealChannel promise gets resolved when a DocumentChannel claim the DocumentLoadListener.
Differential Revision: https://phabricator.services.mozilla.com/D78488
2020-06-12 05:56:54 +00:00
Jean-Yves Avenard
dfdacc5993
Bug 1641737 - P5. Remove unnecessary method. r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D78210
2020-06-12 05:56:46 +00:00
Jean-Yves Avenard
d08ba26968
Bug 1641737 - P3. Streamline cleanup so it's all done in the same place. r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D78180
2020-06-12 05:56:36 +00:00
Jean-Yves Avenard
2137f67a30
Bug 1641737 - P2. Use MozPromise with DocumentLoadListener and remove cycle. r=mattwoodrow.
...
Differential Revision: https://phabricator.services.mozilla.com/D78179
2020-06-12 05:56:28 +00:00
Matt Woodrow
28d755ee31
Bug 1625866 - Implement nsIProgressEventSink on DocumentLoadListener. r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D77982
2020-06-08 15:15:17 +00:00
Haik Aftandilian
b1f63ced7e
Bug 1632845 - Firefox gets stuck when quit from the dock if the user cancels quitting from a beforeunload prompt r=Gijs,spohl,necko-reviewers,geckoview-reviewers,dragana,agi
...
Return NSTerminateCancel from applicationShouldTerminate when the user chooses to "Stay on Page".
Differential Revision: https://phabricator.services.mozilla.com/D78839
2020-06-09 18:20:36 +00:00
Razvan Maries
caec984d54
Backed out 7 changesets (bug 1641737) assertion failures. CLOSED TREE
...
Backed out changeset 7f7b98339065 (bug 1641737)
Backed out changeset 32fba417ebd0 (bug 1641737)
Backed out changeset abd9cd77f3cb (bug 1641737)
Backed out changeset e3bf9a45db6a (bug 1641737)
Backed out changeset 94d47578009c (bug 1641737)
Backed out changeset 28bca5c5b8b4 (bug 1641737)
Backed out changeset 0296d0f6c1d1 (bug 1641737)
2020-06-09 18:55:08 +03:00
Razvan Maries
2ff52580c4
Backed out 2 changesets (bug 1640105
) for perma failures on remoteautomation.py. CLOSED TREE
...
Backed out changeset e12bb339406c (bug 1640105
)
Backed out changeset f66cacb5c833 (bug 1640105
)
2020-06-09 17:38:23 +03:00
Kershaw Chang
dad33c111e
Bug 1640105
- Initialize necessary services eariler r=dragana
...
Initialize http handler, DNS service, and IOService earlier to avoid crash.
Differential Revision: https://phabricator.services.mozilla.com/D77303
2020-06-09 12:19:30 +00:00
Jean-Yves Avenard
067a5a74d1
Bug 1641737 - P7. Make the DLL and PPDC promises use direct task dispatch. r=mattwoodrow
...
We attempt to reduce the number of event loop iterations, which would bring us back to a similar behaviour to the pre-DocumentChannel days.
This prevent some tests to have increase intermittent failures.
While ideally, we would prefer to fix or re-write those tests properly, the extra work would block us for too long.
All those increased intermittents already have bug logged about them; so we aren't hiding dust under the rust.
Differential Revision: https://phabricator.services.mozilla.com/D78489
2020-06-09 07:24:23 +00:00
Jean-Yves Avenard
55dc18c387
Bug 1641737 - P6. Remove the need for an extra promise for when a DocumentChannel would connect. r=mattwoodrow
...
The earlier changes make this unnecessary. The load will start and will automatically resume once the PDocumentChannelParent::RedirectToRealChannel promise gets resolved when a DocumentChannel claim the DocumentLoadListener.
Differential Revision: https://phabricator.services.mozilla.com/D78488
2020-06-09 07:24:15 +00:00
Jean-Yves Avenard
3fce8c1366
Bug 1641737 - P5. Remove unnecessary method. r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D78210
2020-06-09 07:24:04 +00:00
Jean-Yves Avenard
f5611e2936
Bug 1641737 - P3. Streamline cleanup so it's all done in the same place. r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D78180
2020-06-09 07:23:49 +00:00
Jean-Yves Avenard
fdc7c5c703
Bug 1641737 - P2. Use MozPromise with DocumentLoadListener and remove cycle. r=mattwoodrow.
...
Differential Revision: https://phabricator.services.mozilla.com/D78179
2020-06-09 10:11:11 +00:00
Matt Woodrow
4ec2ae121c
Bug 1638711 - Report correct error code in DocumentLoadListener if AsyncOpen fails. r=jya,necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D77954
2020-06-08 23:17:52 +00:00
Matt Woodrow
6ac3411051
Bug 1638711 - Do document security checks in parent process. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D75720
2020-06-08 23:16:04 +00:00
Anny Gakhokidze
32add40b99
Bug 1631859 - Part 2: Remove ancestor data from LoadInfoArgs, r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D78407
2020-06-08 19:58:21 +00:00
Valentin Gosu
cc46191834
Bug 1640091 - Make sure we TRRServiceChannel::mProxyRequest is initialized and used r=kershaw,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D78525
2020-06-08 11:38:22 +00:00
Mihai Alexandru Michis
b0a610bce5
Backed out 3 changesets (bug 1640091) for causing xpcshell failures in nsCOMPtr.h
...
CLOSED TREE
Backed out changeset 03c4c517ee37 (bug 1640091)
Backed out changeset a1d86c177d79 (bug 1640091)
Backed out changeset f481d4ec255a (bug 1640091)
2020-06-08 12:51:42 +03:00
Bogdan Tara
d68a202c49
Backed out 9 changesets (bug 1638711) for test_block_toplevel_data_navigation.html failures CLOSED TREE
...
Backed out changeset b137e5dfcc57 (bug 1638711)
Backed out changeset 3529cf4e69b6 (bug 1638711)
Backed out changeset 417df721766f (bug 1638711)
Backed out changeset 5b312893e8e2 (bug 1638711)
Backed out changeset d6d396498f5e (bug 1638711)
Backed out changeset 77f6f2396343 (bug 1638711)
Backed out changeset c1d12e04bc27 (bug 1638711)
Backed out changeset 6e702b519ef0 (bug 1638711)
Backed out changeset 9e5a049b57ed (bug 1638711)
2020-06-08 12:36:09 +03:00
Matt Woodrow
52d72e0243
Bug 1638711 - Report correct error code in DocumentLoadListener if AsyncOpen fails. r=jya,necko-reviewers,valentin
...
Depends on D77171
Differential Revision: https://phabricator.services.mozilla.com/D77954
2020-06-08 07:29:58 +00:00
Matt Woodrow
7148736309
Bug 1638711 - Do document security checks in parent process. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D75720
2020-06-02 23:03:40 +00:00
Valentin Gosu
42d7490489
Bug 1640091 - Make sure we TRRServiceChannel::mProxyRequest is initialized and used r=kershaw,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D78525
2020-06-08 06:57:23 +00:00
Kershaw Chang
8230af21ce
Bug 1641496 - P8: Introduce PNativeDNSResolverOverride.ipdl r=valentin
...
A straightforward patch. Since DNS resolution is moved to socket process, we have to add another ipdl to make `nsINativeDNSResolverOverride` work.
Differential Revision: https://phabricator.services.mozilla.com/D78483
2020-06-05 13:27:35 +00:00
Liang-Heng Chen
01f8cce7e1
Bug 1640135 - P4: update usage of PartitionKey; r=timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D77917
2020-06-04 10:51:21 +00:00
Matt Woodrow
6653839518
Bug 1638652 - Only disable content conversion in the parent process if we're going to be delivering data to a content process. r=jya,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D77399
2020-06-02 23:43:19 +00:00
Honza Bambas
2db5052835
Bug 1631327 - Do not crash with IPC_FAIL when RecvPredLearn receives a null target URI, we handle it gracefully later, r=valentin,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D77795
2020-06-02 12:51:05 +00:00
Andrea Marchesini
01cf5e2ca5
Bug 1638358 - Cookie Schemeful Same-Site - part 1 - scheme map in nsICookie, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D75624
2020-06-02 13:48:28 +00:00
Kershaw Chang
7e46af5f99
Bug 1524035 - Make parent process shut down when socket process crashed and MOZ_CRASHREPORTER_SHUTDOWN is set r=dragana
...
This patch is mainly for stoping the testsuite keeps going when the socket process is crashed.
Differential Revision: https://phabricator.services.mozilla.com/D76817
2020-05-29 13:56:27 +00:00
Honza Bambas
cbb21fd55a
Bug 1605895 - Advance the diagnostic assertion to check status of channel event queues, r=michal,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D77687
2020-06-01 21:35:03 +00:00
Csoregi Natalia
e960b9f449
Backed out 7 changesets (bug 1640405, bug 1638358) for failures on browser_webconsole_network_messages_status_code.js. CLOSED TREE
...
Backed out changeset ef5f7479ddf8 (bug 1640405)
Backed out changeset 286e0c83eb30 (bug 1638358)
Backed out changeset 89e396b2896e (bug 1638358)
Backed out changeset 33ad5fa05209 (bug 1638358)
Backed out changeset d213264c1379 (bug 1638358)
Backed out changeset 6bc05236afb4 (bug 1638358)
Backed out changeset 87e9d0ed3982 (bug 1638358)
2020-06-02 15:16:42 +03:00
Andrea Marchesini
4b72e0214f
Bug 1638358 - Cookie Schemeful Same-Site - part 1 - scheme map in nsICookie, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D75624
2020-06-02 09:12:54 +00:00
Razvan Maries
79fe28f0d6
Backed out 6 changesets (bug 1638358) for perma failures on browser_webconsole_navigate_to_parse_error.js. CLOSED TREE
...
Backed out changeset beb85cf281d5 (bug 1638358)
Backed out changeset 39f2e21623aa (bug 1638358)
Backed out changeset 2c873c72bf1f (bug 1638358)
Backed out changeset e91292c7c719 (bug 1638358)
Backed out changeset 0219ef931cd9 (bug 1638358)
Backed out changeset 4ac06f3992f4 (bug 1638358)
2020-06-02 00:24:46 +03:00
Andrea Marchesini
1bb5a79565
Bug 1638358 - Cookie Schemeful Same-Site - part 1 - scheme map in nsICookie, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D75624
2020-06-01 16:48:53 +00:00
Noemi Erli
e40be0aa72
Backed out 6 changesets (bug 1638358) for causing failures in test_Chrome_cookies.js CLOSED TREE
...
Backed out changeset 4e8fbe01aa38 (bug 1638358)
Backed out changeset 532731e94bb2 (bug 1638358)
Backed out changeset fad2ba760157 (bug 1638358)
Backed out changeset 932a3fdbd07c (bug 1638358)
Backed out changeset 05a62901a3f5 (bug 1638358)
Backed out changeset cddeada5c4a6 (bug 1638358)
2020-06-01 19:45:46 +03:00
Andrea Marchesini
0cc026faf1
Bug 1638358 - Cookie Schemeful Same-Site - part 1 - scheme map in nsICookie, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D75624
2020-06-01 11:43:23 +00:00
Dorel Luca
9574e25c80
Backed out 6 changesets (bug 1638358) for XPCShell failures in netwerk/cookie/test/unit/test_schemeMap.js. CLOSED TREE
...
Backed out changeset 745eab35e851 (bug 1638358)
Backed out changeset a45df1876e37 (bug 1638358)
Backed out changeset 1a85cc92d2fb (bug 1638358)
Backed out changeset 2156294cb158 (bug 1638358)
Backed out changeset 31101054c52c (bug 1638358)
Backed out changeset d284b50551ab (bug 1638358)
2020-06-01 14:38:22 +03:00
Andrea Marchesini
4afe05e324
Bug 1638358 - Cookie Schemeful Same-Site - part 1 - scheme map in nsICookie, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D75624
2020-06-01 10:27:51 +00:00
Jean-Yves Avenard
6131e9fa5c
Bug 1637869
- P7. Call DisconnectChildListeners when an error occurs. r=mattwoodrow
...
This will allow the DocumentChannel to be removed from the loading group and the docshell to stop waiting for for the ParentProcessDocumentChannel to do something.
Depends on D77201
Differential Revision: https://phabricator.services.mozilla.com/D77202
2020-05-28 07:42:35 +00:00
Jean-Yves Avenard
2746af48c3
Bug 1637869
- P6. Propagate proper error code when cancelling a channel. r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D77201
2020-05-28 10:22:31 +00:00
Jean-Yves Avenard
66a61d942d
Bug 1637869
- P2. Allow ParentProcessDocumentChannel to perform process switching. r=nika,mattwoodrow
...
The moves all decisions to perform a process switch into the DocumentLoadListerner. This removes the unnecessary need to go via a content process to start the load.
Differential Revision: https://phabricator.services.mozilla.com/D76315
2020-05-28 00:07:39 +00:00
Jean-Yves Avenard
3943449ac1
Bug 1637869
- P1. Cancel channel before resuming. r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D76314
2020-05-28 00:07:24 +00:00
Razvan Maries
a985167fa6
Backed out 7 changesets (bug 1638711) for perma failures on test_bug375314-2.html. CLOSED TREE
...
Backed out changeset 9643bf18ac31 (bug 1638711)
Backed out changeset 3d06b48e2e3a (bug 1638711)
Backed out changeset c2a1461890c3 (bug 1638711)
Backed out changeset 9eda9f6c5877 (bug 1638711)
Backed out changeset f776c30279f3 (bug 1638711)
Backed out changeset b34546384903 (bug 1638711)
Backed out changeset 47da03dd8365 (bug 1638711)
2020-05-28 04:25:38 +03:00
Matt Woodrow
74388c26ab
Bug 1638711 - Do document security checks in parent process. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D75720
2020-05-27 09:39:44 +00:00
Eden Chuang
8ec5c50a7f
Bug 1575095 - P2 Apply COOP switch with InterceptedHttpChannel in DocumentLoadListener r=necko-reviewers,valentin,mattwoodrow
...
The response from ServiceWorker might also be COOP mismatched, such that the document/sub-document loading need to be performed on another process.
However, DocumentLoadListener only works with nsHttpChannel.
This patch would like to support InterceptedHttpChannel in DocumentLoadListener.
Differential Revision: https://phabricator.services.mozilla.com/D76841
2020-05-27 15:37:21 +00:00
Dorel Luca
34b793064e
Backed out 6 changesets (bug 1638711) for Geckoview failures in NavigationDelegateTest.loadUriReferrerSessionFileUrl.CLOSED TREE
...
Backed out changeset 22a7b8f16c44 (bug 1638711)
Backed out changeset 75d97b8df5ba (bug 1638711)
Backed out changeset 254871b49de9 (bug 1638711)
Backed out changeset 97d1d2390586 (bug 1638711)
Backed out changeset bebe76fca022 (bug 1638711)
Backed out changeset 164b842bea99 (bug 1638711)
2020-05-27 12:28:10 +03:00
Matt Woodrow
edc0d0a35f
Bug 1638711 - Do document security checks in parent process. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D75720
2020-05-27 00:32:05 +00:00