Perma devtools/client/webconsole/test/browser/browser_webconsole_promise_rejected_object.js | Uncaught exception when Gecko 78 merges to Beta on 2020-06-01
Categories
(DevTools :: Console, defect)
Tracking
(firefox-esr68 unaffected, firefox76 unaffected, firefox77 unaffected, firefox78+ verified)
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox76 | --- | unaffected |
firefox77 | --- | unaffected |
firefox78 | + | verified |
People
(Reporter: aryx, Assigned: nchevobbe)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
central-as-beta simulation: https://treeherder.mozilla.org/#/jobs?repo=try&group_state=expanded&selectedTaskRun=cTPBJkRZR_ikSHRIoT-6Ag-0&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel%2Crunnable&revision=e825575f0b8018f08665384d7afcdce01d14b0e8
This fails mostly on shippable opt.
Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=302910289&repo=try
[task 2020-05-19T14:16:09.137Z] 14:16:09 INFO - TEST-START | devtools/client/webconsole/test/browser/browser_webconsole_csp_violation.js
[task 2020-05-19T14:16:10.408Z] 14:16:10 INFO - GECKO(6305) | console.log: test-csp-violation-base-uri.html:15:24
[task 2020-05-19T14:16:10.448Z] 14:16:10 INFO - GECKO(6305) | JavaScript error: https://example.com/browser/devtools/client/webconsole/test/browser/test-csp-violation-form-action.html, line 14: :
[task 2020-05-19T14:16:10.849Z] 14:16:10 INFO - GECKO(6305) | DevToolsUtils.assert threw an exception: Error: Assertion failure: Target must not be exited to create a sheet actor.
[task 2020-05-19T14:16:10.850Z] 14:16:10 INFO - GECKO(6305) | Stack: reallyAssert@resource://devtools/shared/DevToolsUtils.js:407:17
[task 2020-05-19T14:16:10.853Z] 14:16:10 INFO - GECKO(6305) | createStyleSheetActor@resource://devtools/server/actors/targets/browsing-context.js:1521:11
[task 2020-05-19T14:16:10.854Z] 14:16:10 INFO - GECKO(6305) | _getImported/<@resource://devtools/server/actors/stylesheets.js:839:42
[task 2020-05-19T14:16:10.854Z] 14:16:10 INFO - GECKO(6305) | Line: 407, column: 17
[task 2020-05-19T14:16:10.856Z] 14:16:10 INFO - GECKO(6305) | console.error: (new Error("Assertion failure: Target must not be exited to create a sheet actor.", "resource://devtools/shared/DevToolsUtils.js", 407))
[task 2020-05-19T14:16:10.856Z] 14:16:10 INFO - GECKO(6305) | console.error: "Error while calling actor 'stylesheets's method 'getStyleSheets'" "Assertion failure: Target must not be exited to create a sheet actor."
[task 2020-05-19T14:16:10.856Z] 14:16:10 INFO - GECKO(6305) | console.error: "reallyAssert@resource://devtools/shared/DevToolsUtils.js:407:17\ncreateStyleSheetActor@resource://devtools/server/actors/targets/browsing-context.js:1521:11\n_getImported/<@resource://devtools/server/actors/stylesheets.js:839:42\n"
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Comment 1•5 years ago
|
||
Actually, it failed on the same platforms for the central-as-late-beta simulation.
Assignee | ||
Comment 2•5 years ago
|
||
Tom, is the stacktrace retrieval for promise rejection behind a pref or something?
The failure screenshot seems to indicate we don't have them in Beta simulation: https://firefoxci.taskcluster-artifacts.net/cTPBJkRZR_ikSHRIoT-6Ag/0/public/test_info//mozilla-test-fail-screenshot_HHNYHf.png
Comment 3•5 years ago
|
||
Yes. It is actually! We need to set javascript.options.asyncstack
like we did in bug 1638549.
Updated•5 years ago
|
Assignee | ||
Comment 4•5 years ago
|
||
okay thanks! Let me do that
Assignee | ||
Comment 5•5 years ago
|
||
The javascript.options.asyncstack pref is needed for unhandled
rejected promises messages to have a stacktrace.
Comment 7•5 years ago
|
||
bugherder |
Reporter | ||
Comment 8•5 years ago
|
||
Verified fixed with yesterday's simulation: https://treeherder.mozilla.org/#/jobs?repo=try&resultStatus=testfailed%2Cbusted%2Cexception%2Crunnable&revision=0a2a522a5a5d64fa1bd762b819bcf5aa86d12484
Comment hidden (Intermittent Failures Robot) |
Updated•5 years ago
|
Description
•