Closed Bug 1593437 Opened 5 years ago Closed 5 years ago

Perma TEST-UNEXPECTED-FAIL | dom/serviceworkers/test/browser_navigation_process_swap.js | http://example.com/browser/dom/serviceworkers/test/empty_with_utils.html should load in a web-content process when Gecko 72 merges to Beta on 2019-12-02

Categories

(Core :: DOM: Service Workers, defect, P1)

defect

Tracking

()

VERIFIED FIXED
mozilla72
Tracking Status
firefox-esr68 --- unaffected
firefox70 --- unaffected
firefox71 --- unaffected
firefox72 + verified

People

(Reporter: apavel, Assigned: pbone)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 obsolete file)

Central as Beta simulation

Treeherder link: https://treeherder.mozilla.org/#/jobs?repo=try&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel%2Crunnable&revision=7615639a6ca7cad0078a854e1331d7a58444619a&selectedJob=274212032

Failure log https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=274212032&repo=try&lineNumber=4066

[task 2019-11-02T11:38:41.250Z] 11:38:41 INFO - TEST-START | dom/serviceworkers/test/browser_navigation_process_swap.js
[task 2019-11-02T11:38:41.595Z] 11:38:41 INFO - GECKO(3648) | console.log: "...calling register"
[task 2019-11-02T11:38:41.631Z] 11:38:41 INFO - GECKO(3648) | console.log: "...waiting for activation"
[task 2019-11-02T11:38:41.634Z] 11:38:41 INFO - GECKO(3648) | console.log: "...activated!"
[task 2019-11-02T11:38:42.373Z] 11:38:42 INFO - GECKO(3648) | Waiting for browser load
[task 2019-11-02T11:38:42.415Z] 11:38:42 INFO - GECKO(3648) | Saw state c0010 and status 0
[task 2019-11-02T11:38:42.415Z] 11:38:42 INFO - GECKO(3648) | Browser loaded http://mochi.test:8888/browser/dom/serviceworkers/test/redirect.sjs?http://example.com/browser/dom/serviceworkers/test/empty_with_utils.html
[task 2019-11-02T11:38:42.415Z] 11:38:42 INFO - TEST-INFO | started process screentopng
[task 2019-11-02T11:38:43.180Z] 11:38:43 INFO - TEST-INFO | screentopng: exit 0
[task 2019-11-02T11:38:43.181Z] 11:38:43 INFO - Buffered messages logged at 11:38:41
[task 2019-11-02T11:38:43.181Z] 11:38:43 INFO - Entering test bound runTest
[task 2019-11-02T11:38:43.182Z] 11:38:43 INFO - Loading tab with page http://mochi.test:8888/browser/dom/serviceworkers/test/empty_with_utils.html
[task 2019-11-02T11:38:43.182Z] 11:38:43 INFO - Loaded page http://mochi.test:8888/browser/dom/serviceworkers/test/empty_with_utils.html
[task 2019-11-02T11:38:43.183Z] 11:38:43 INFO - Registering Service Worker http://mochi.test:8888/browser/dom/serviceworkers/test/empty.js
[task 2019-11-02T11:38:43.183Z] 11:38:43 INFO - Registered and activated Service Worker http://mochi.test:8888/browser/dom/serviceworkers/test/empty.js
[task 2019-11-02T11:38:43.184Z] 11:38:43 INFO - Loading file:///builds/worker/workspace/build/tests/mochitest/browser/dom/serviceworkers/test/empty.html
[task 2019-11-02T11:38:43.190Z] 11:38:43 INFO - Console message: [JavaScript Warning: "Sending message that cannot be cloned. Are you trying to send an XPCOM object?" {file: "resource://testing-common/content-task.js" line: 114}]
[task 2019-11-02T11:38:43.190Z] 11:38:43 INFO - Buffered messages logged at 11:38:42
[task 2019-11-02T11:38:43.190Z] 11:38:43 INFO - Console message: [JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "file:///builds/worker/workspace/build/tests/mochitest/browser/dom/serviceworkers/test/empty.html" line: 0}]
[task 2019-11-02T11:38:43.190Z] 11:38:43 INFO - TEST-PASS | dom/serviceworkers/test/browser_navigation_process_swap.js | file:///builds/worker/workspace/build/tests/mochitest/browser/dom/serviceworkers/test/empty.html should load in a file process - "file" == "file" -
[task 2019-11-02T11:38:43.190Z] 11:38:43 INFO - Dynamically creating file:///builds/worker/workspace/build/tests/mochitest/browser/dom/serviceworkers/test/empty.html's link
[task 2019-11-02T11:38:43.190Z] 11:38:43 INFO - Starting navigation
[task 2019-11-02T11:38:43.191Z] 11:38:43 INFO - Waiting for location to change to http://example.com/browser/dom/serviceworkers/test/empty_with_utils.html
[task 2019-11-02T11:38:43.191Z] 11:38:43 INFO - Waiting for the browser to stop
[task 2019-11-02T11:38:43.191Z] 11:38:43 INFO - Console message: [JavaScript Error: "RemoteWebProgress failed to call onProgressChange: [Exception... "JavaScript component does not have a method named: "onProgressChange"'JavaScript component does not have a method named: "onProgressChange"' when calling method: [nsIWebProgressListener::onProgressChange]" nsresult: "0x80570030 (NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED)" location: "JS frame :: resource://gre/modules/RemoteWebProgress.jsm :: _callProgressListeners :: line 75" data: no]
[task 2019-11-02T11:38:43.191Z] 11:38:43 INFO - " {file: "resource://gre/modules/RemoteWebProgress.jsm" line: 77}]
[task 2019-11-02T11:38:43.192Z] 11:38:43 INFO - _callProgressListeners@resource://gre/modules/RemoteWebProgress.jsm:77:14
[task 2019-11-02T11:38:43.192Z] 11:38:43 INFO - onProgressChange@resource://gre/modules/RemoteWebProgress.jsm:104:10
[task 2019-11-02T11:38:43.192Z] 11:38:43 INFO -
[task 2019-11-02T11:38:43.192Z] 11:38:43 INFO - Buffered messages finished
[task 2019-11-02T11:38:43.194Z] 11:38:43 INFO - TEST-UNEXPECTED-FAIL | dom/serviceworkers/test/browser_navigation_process_swap.js | http://example.com/browser/dom/serviceworkers/test/empty_with_utils.html should load in a web-content process - false == true - JS frame :: chrome://mochitests/content/browser/dom/serviceworkers/test/browser_navigation_process_swap.js :: runTest :: line 116
[task 2019-11-02T11:38:43.195Z] 11:38:43 INFO - Stack trace:
[task 2019-11-02T11:38:43.195Z] 11:38:43 INFO - chrome://mochitests/content/browser/dom/serviceworkers/test/browser_navigation_process_swap.js:runTest:116
[task 2019-11-02T11:38:43.195Z] 11:38:43 INFO - Loading initial page to unregister all Service Workers
[task 2019-11-02T11:38:43.195Z] 11:38:43 INFO - GECKO(3648) | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2019-11-02T11:38:43.195Z] 11:38:43 INFO - Unregistering all Service Workers
[task 2019-11-02T11:38:43.195Z] 11:38:43 INFO - Closing tab
[task 2019-11-02T11:38:43.195Z] 11:38:43 INFO - Leaving test bound runTest
[task 2019-11-02T11:38:43.195Z] 11:38:43 INFO - GECKO(3648) | MEMORY STAT | vsize 20975097MB | residentFast 1085MB
[task 2019-11-02T11:38:43.197Z] 11:38:43 INFO - TEST-OK | dom/serviceworkers/test/browser_navigation_process_swap.js | took 1592ms

Brian can this be from bug 1593140?

Flags: needinfo?(ehsan)
Flags: needinfo?(ehsan) → needinfo?(bhackett1024)
Regressed by: 1593140
No longer regressed by: 1590763

(In reply to Andreea Pavel [:apavel] from comment #0)

Brian can this be from bug 1593140?

No, bug 1593140 only changes behavior when recording/replaying, which is only the case on macOS dt-wr tests.

Flags: needinfo?(bhackett1024)
Flags: needinfo?(honzab.moz)
Regressed by: 1588412
No longer regressed by: 1593140

This is similar to bug 1555382 which ended up forcing the pref for "browser.tabs.remote.useHTTPResponseProcessSelection" to true but the signature changed because of bug 1574543.

It seems like https://hg.mozilla.org/integration/autoland/rev/55c0d49b821c3bbe25f4bda4c4e5cca9e725287c in the bisection may have made that pre-documentchannel mode of process swapping no longer work? Maybe the test should only run if fission is enabled now because fission/DocumentChannel is the only mode of process swapping that we support in this case?

I'm afraid I can't help here.

Flags: needinfo?(honzab.moz)

Same problem as Bug 1593435.

Assignee: nobody → pbone
Blocks: 1592894
Status: NEW → ASSIGNED
Flags: needinfo?(pbone)
See Also: → 1593435
Priority: -- → P1

Fixed in bug 1595284.

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
Attachment #9108022 - Attachment is obsolete: true
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: