Fix various issues with httpResponseProcessSelection pref
Categories
(Core :: DOM: Content Processes, enhancement, P2)
Tracking
()
People
(Reporter: nika, Assigned: nika)
References
(Blocks 1 open bug)
Details
Attachments
(8 files, 1 obsolete file)
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details |
In bug 1467223, the pref "browser.tabs.remote.useHTTPResponseProcessSelection" was added. When enabled this allows for toplevel loads to change their process mid-http load in basic cases.
This bug tracks enabling that pref by default.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Assignee | ||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
Depends on D18602
Assignee | ||
Comment 4•6 years ago
|
||
Depends on D18603
Assignee | ||
Comment 5•6 years ago
|
||
Depends on D18604
Assignee | ||
Comment 6•6 years ago
|
||
Depends on D18605
Assignee | ||
Comment 7•6 years ago
|
||
Depends on D18606
Assignee | ||
Comment 9•6 years ago
|
||
Try run: https://treeherder.mozilla.org/#/jobs?repo=try&revision=428d032bc24c610c0434d3de5fa724abe66548ca
Here's hoping I caught all of the issues :-)
Comment 10•6 years ago
|
||
Comment 11•6 years ago
|
||
Backed out 6 changesets (Bug 1522637) for en-US failures in testing/firefox-ui/tests/functional/safebrowsing/test_notification.py TestSafeBrowsingNotificationBar.test_notification_bar CLOSED TREE
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=227314522&repo=autoland&lineNumber=7199
Comment 12•6 years ago
|
||
Comment 13•6 years ago
|
||
There were also bc failures.
Log link: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=227313195&repo=autoland&lineNumber=5704
Comment 14•6 years ago
|
||
Ading another bc log for browser_aboutnewtab_process_selection.js failures:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=227333243&repo=autoland&lineNumber=3808
Assignee | ||
Comment 15•6 years ago
|
||
Issues were occuring where a process swap would be decided upon during
on-examine-response, but before the swap could be handled by the
channel, the channel was redirected.
This new code takes the mildly hacky approach of simply using a separate
observer notification which is fired at the correct time. A better
solution may be to use a dedicated service for responding to these
events, however that was not implemented for this initial patch.
Depends on D18607
Assignee | ||
Comment 16•6 years ago
|
||
For HTTP loads from the preloaded document, no process swap was occuring
if the preloaded document was loaded in a 'web' process. This caused
test failures, and has potentially undesireable behaviour.
This patch just moves the check for preloaded document swaps to before
the check for http parent process interception, forcing a swap like
normal.
Depends on D19691
Updated•6 years ago
|
Comment 17•6 years ago
|
||
Comment 18•6 years ago
|
||
Backed out 8 changesets (Bug 1522637) for browser_all_files_referenced.js failures.
Backout link: https://hg.mozilla.org/integration/autoland/rev/ff5227d3d1fd4f517bb5ceb696fcf8790c28fdaa
ps: this also seems to have introduced a Tier 2 failure: https://treeherder.mozilla.org/#/jobs?repo=autoland&searchStr=linux%2Cx64%2Copt%2Cfirefox%2Cfunctional%2Ctests%2C%28remote%29%2Cwith%2Ce10s%2Ctest-linux64%2Fopt-firefox-ui-functional-remote-e10s%2Cfxfn-r-e10s%28en-us%29&tochange=f7ab0e6e739bd54b66b8aaa6219c7dba78f37eb1&fromchange=39bb681343d6f429ced7ea706649e48890d27c28&selectedJob=228430680
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=228430683&repo=autoland&lineNumber=2510
[task 2019-02-14T16:43:45.422Z] 16:43:45 INFO - TEST-START | browser/base/content/test/static/browser_all_files_referenced.js
[task 2019-02-14T16:43:56.647Z] 16:43:56 INFO - TEST-INFO | started process screentopng
[task 2019-02-14T16:43:57.154Z] 16:43:57 INFO - TEST-INFO | screentopng: exit 0
[task 2019-02-14T16:43:57.154Z] 16:43:57 INFO - Buffered messages logged at 16:43:45
[task 2019-02-14T16:43:57.155Z] 16:43:57 INFO - Entering test bound checkAllTheFiles
[task 2019-02-14T16:43:57.155Z] 16:43:57 INFO - Buffered messages logged at 16:43:56
[task 2019-02-14T16:43:57.155Z] 16:43:57 INFO - indirectly whitelisted file: chrome://marionette/content/test_dialog.dtd used from chrome://marionette/content/test_dialog.xul
...
[task 2019-02-14T16:43:57.227Z] 16:43:57 INFO - Buffered messages finished
[task 2019-02-14T16:43:57.228Z] 16:43:57 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/static/browser_all_files_referenced.js | there should be no unreferenced files - Got 1, expected 0
[task 2019-02-14T16:43:57.230Z] 16:43:57 INFO - Stack trace:
[task 2019-02-14T16:43:57.231Z] 16:43:57 INFO - chrome://mochikit/content/browser-test.js:test_is:1315
[task 2019-02-14T16:43:57.235Z] 16:43:57 INFO - chrome://mochitests/content/browser/browser/base/content/test/static/browser_all_files_referenced.js:checkAllTheFiles:782
[task 2019-02-14T16:43:57.237Z] 16:43:57 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1106
[task 2019-02-14T16:43:57.238Z] 16:43:57 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1134
[task 2019-02-14T16:43:57.239Z] 16:43:57 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:995
[task 2019-02-14T16:43:57.240Z] 16:43:57 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:803
[task 2019-02-14T16:43:57.242Z] 16:43:57 INFO - Not taking screenshot here: see the one that was previously logged
[task 2019-02-14T16:43:57.243Z] 16:43:57 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/static/browser_all_files_referenced.js | unreferenced file: resource://gre/modules/FluentSyntax.jsm -
[task 2019-02-14T16:43:57.245Z] 16:43:57 INFO - Stack trace:
[task 2019-02-14T16:43:57.247Z] 16:43:57 INFO - chrome://mochikit/content/browser-test.js:test_ok:1304
[task 2019-02-14T16:43:57.249Z] 16:43:57 INFO - chrome://mochitests/content/browser/browser/base/content/test/static/browser_all_files_referenced.js:checkAllTheFiles:786
[task 2019-02-14T16:43:57.250Z] 16:43:57 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1106
[task 2019-02-14T16:43:57.251Z] 16:43:57 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1134
[task 2019-02-14T16:43:57.253Z] 16:43:57 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:995
[task 2019-02-14T16:43:57.254Z] 16:43:57 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:803
[task 2019-02-14T16:43:57.256Z] 16:43:57 INFO - ignored unused whitelist entry: resource://app/blocklist.xml
Comment 19•6 years ago
|
||
Sorry, wrong backout. Test has shifted between chunks.
Relanding in a few minutes.
Comment 20•6 years ago
|
||
Assignee | ||
Comment 21•6 years ago
|
||
The element has never existed in the new process, so it gets a missing
error rather than a stale error in that case.
Depends on D19692
Comment 22•6 years ago
|
||
Comment 23•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0f759e91eca8
https://hg.mozilla.org/mozilla-central/rev/e6ca9ad18d15
https://hg.mozilla.org/mozilla-central/rev/7e38890c72fa
https://hg.mozilla.org/mozilla-central/rev/67e838f49f4b
https://hg.mozilla.org/mozilla-central/rev/d7eb272688be
https://hg.mozilla.org/mozilla-central/rev/4c7c512a262d
https://hg.mozilla.org/mozilla-central/rev/0886a317a108
https://hg.mozilla.org/mozilla-central/rev/540e5f318768
https://hg.mozilla.org/mozilla-central/rev/e4ca191d62a5
Comment 24•6 years ago
|
||
Backed out for causing bug 1528188.
Backout: https://hg.mozilla.org/mozilla-central/rev/99f1a95f032e1d90d5ab85c1d9a091df06fcf8d2
Updated•6 years ago
|
Comment 26•6 years ago
|
||
Fission Milestone got accidentally removed. Nika, can you put that back to M1, please?
Updated•6 years ago
|
Assignee | ||
Comment 27•6 years ago
|
||
Renaming the bug, as I'm going to move the actual enabling of the pref into a separate bug, so we can land this now.
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Comment 28•6 years ago
|
||
Comment 29•6 years ago
|
||
Comment on attachment 9041297 [details]
Bug 1522637 - Part 6: Enable httpResponseProcessSelection by default,
Revision D18607 was moved to bug 1528360. Setting attachment 9041297 [details] to obsolete.
Comment 30•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/663ed0c62558
https://hg.mozilla.org/mozilla-central/rev/7eca000f53a6
https://hg.mozilla.org/mozilla-central/rev/f3f386e5ae07
https://hg.mozilla.org/mozilla-central/rev/ca6808f60f9b
https://hg.mozilla.org/mozilla-central/rev/bfbc4f8775fc
https://hg.mozilla.org/mozilla-central/rev/28d4b904c004
https://hg.mozilla.org/mozilla-central/rev/f71650099143
https://hg.mozilla.org/mozilla-central/rev/a92bdbd9b982
Updated•6 years ago
|
Description
•