Perma dom/serviceworkers/test/browser_devtools_serviceworker_interception.js | Test timed out - when Gecko 71 merges to Beta on 2019-10-14
Categories
(Core :: DOM: Service Workers, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox-esr68 | --- | unaffected |
firefox69 | --- | unaffected |
firefox70 | --- | unaffected |
firefox71 | --- | verified |
People
(Reporter: NarcisB, Assigned: asuth)
References
(Regression)
Details
(Keywords: regression, Whiteboard: [stockwell needswork:owner])
Attachments
(1 file)
Log link: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=270467326&repo=try&lineNumber=14612
Log snippet:
[task 2019-10-09T12:45:14.177Z] 12:45:14 INFO - TEST-PASS | dom/serviceworkers/test/browser_devtools_serviceworker_interception.js | Service worker intercepted the channel as expected - true == true -
[task 2019-10-09T12:45:14.177Z] 12:45:14 INFO - Console message: [JavaScript Error: "ReferenceError: isParentInterceptEnabled is not defined" {file: "resource://testing-common/content-task.js line 62 > eval" line: 61}]
[task 2019-10-09T12:45:14.178Z] 12:45:14 INFO - Buffered messages finished
[task 2019-10-09T12:45:14.179Z] 12:45:14 INFO - TEST-UNEXPECTED-FAIL | dom/serviceworkers/test/browser_devtools_serviceworker_interception.js | Test timed out -
[task 2019-10-09T12:45:14.179Z] 12:45:14 INFO - GECKO(4811) | MEMORY STAT | vsize 2941MB | residentFast 322MB | heapAllocated 103MB
[task 2019-10-09T12:45:14.182Z] 12:45:14 INFO - TEST-OK | dom/serviceworkers/test/browser_devtools_serviceworker_interception.js | took 90028ms
[task 2019-10-09T12:45:14.183Z] 12:45:14 INFO - Not taking screenshot here: see the one that was previously logged
[task 2019-10-09T12:45:14.184Z] 12:45:14 INFO - TEST-UNEXPECTED-FAIL | dom/serviceworkers/test/browser_devtools_serviceworker_interception.js | Found a tab after previous test timed out: http://mochi.test:8888/browser/dom/serviceworkers/test/empty.html -
[task 2019-10-09T12:45:14.184Z] 12:45:14 INFO - Not taking screenshot here: see the one that was previously logged
[task 2019-10-09T12:45:14.193Z] 12:45:14 INFO - TEST-UNEXPECTED-FAIL | dom/serviceworkers/test/browser_devtools_serviceworker_interception.js | Found a tab after previous test timed out: http://mochi.test:8888/browser/dom/serviceworkers/test/empty.html -
[task 2019-10-09T12:45:14.194Z] 12:45:14 INFO - GECKO(4811) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmptfXBIJ.mozrunner/runtests_leaks_tab_pid5078.log
[task 2019-10-09T12:45:14.194Z] 12:45:14 INFO - checking window state
![]() |
||
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
It looks like the problem here is that:
- the checkObserver function consults "isParentIntercept" enabled at https://searchfox.org/mozilla-central/rev/c8933daeb71df02566407eff88904ee981a7bcdd/dom/serviceworkers/test/browser_devtools_serviceworker_interception.js#76
- Under parent intercept, the function is run directly at https://searchfox.org/mozilla-central/rev/c8933daeb71df02566407eff88904ee981a7bcdd/dom/serviceworkers/test/browser_devtools_serviceworker_interception.js#172
- But when not under parent-intercept, the task is run via ContentTask.spawn at https://searchfox.org/mozilla-central/rev/c8933daeb71df02566407eff88904ee981a7bcdd/dom/serviceworkers/test/browser_devtools_serviceworker_interception.js#174 and the eval context the stringified function is evaluated in lacks the value in the lexical scope.
While we intend for the parent-intercept mode to ride the trains, we should fix the test.
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 4•5 years ago
|
||
Pushed by bugmail@asutherland.org: https://hg.mozilla.org/integration/autoland/rev/122a3f51fd9b Make isParentInterceptEnabled an arg for spawned child-intercept version. r=perry
Comment 6•5 years ago
|
||
bugherder |
Comment 7•5 years ago
|
||
Comment hidden (Intermittent Failures Robot) |
Updated•3 years ago
|
Updated•3 years ago
|
Description
•