Remove workaround for localhost browser chrome test as added by bug 1553849
Categories
(Remote Protocol :: CDP, enhancement, P3)
Tracking
(firefox94 fixed)
| Tracking | Status | |
|---|---|---|
| firefox94 | --- | fixed |
People
(Reporter: whimboo, Assigned: etienne)
References
Details
Attachments
(1 file)
Follow-up from bug 1553849, which added workarounds for browser chrome tests to check offline mode also for localhost. With bug 1634246 fixed these are no longer necessary anymore.
| Assignee | ||
Comment 1•4 years ago
|
||
Since Bug 1634246 got resolved, connections to localhost can be
blocked when in offline mode. This commit now makes use of that
in the testing of the offline-part of emulateNetworkConditions.
Updated•4 years ago
|
| Assignee | ||
Comment 2•4 years ago
|
||
I reuploaded a new commit / with a fresh commit message, so https://phabricator.services.mozilla.com/D125040 is no longer needed.
Updated•4 years ago
|
Comment 4•4 years ago
|
||
Backed out for causing mochitest-remote failures on browser_emulateNetworkConditions.js.
| Reporter | ||
Comment 5•4 years ago
•
|
||
As it looks like the failures only happen on these builds which use networking on the socket channel:
Does that specific feature as added via bug 1634246 require a dedicated patch? Nihanth and Valentin, could you please help?
Comment 6•4 years ago
|
||
Kershaw, do you know if the patch in bug 1634246 requires a follow-up for socket process?
Comment 7•4 years ago
|
||
(In reply to Nihanth Subramanya [:nhnt11] from comment #6)
Kershaw, do you know if the patch in bug 1634246 requires a follow-up for socket process?
I think we need to let socket process know that the pref network.disable-localhost-when-offline is changed. To do this, we need to add network.disable-localhost-when-offline in this array.
I'll file another bug to do this.
Comment 8•4 years ago
|
||
Since the tests added in bug 1634246 don't fail for socket process, we should probably see if they're running correctly on the socket process.
Comment 9•4 years ago
|
||
With the patch in bug 1730983, the test in this bug is not failed.
https://treeherder.mozilla.org/jobs?repo=try&revision=a188d2ed9fcc3e9344d8d702d4424a625f7bb443&selectedTaskRun=NXb7bumJSACpW1oaF0ySDQ.0
| Reporter | ||
Comment 10•4 years ago
|
||
Great news. Thanks a lot for fixing it! We will push once that mentioned bug has been reached mozilla-central.
Comment 11•4 years ago
|
||
Comment 12•4 years ago
|
||
| bugherder | ||
Description
•