comm Perma docshell/test/unit/test_allowJavascript.js | xpcshell return code: 0
Categories
(Thunderbird :: Upstream Synchronization, defect, P5)
Tracking
(Not tracked)
People
(Reporter: intermittent-bug-filer, Assigned: jdescottes)
References
(Regression)
Details
(Keywords: intermittent-failure, intermittent-testcase, regression, Whiteboard: [stockwell disable-recommended])
Attachments
(1 file)
Filed by: martin [at] humanoids.be
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=405711493&repo=comm-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/QUAHgAwmTo2bGqjOkVGvbQ/runs/0/artifacts/public/logs/live_backing.log
ERROR Unexpected exception TypeError: can't access property "wrappedJSObject", this.contentWindow is null at resource://test/AllowJavascriptChild.sys.mjs:7
receiveMessage@resource://test/AllowJavascriptChild.sys.mjs:7:9
Updated•2 years ago
|
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 7•2 years ago
|
||
Julian, you added this part of the test. Any idea why it would be failing on Thunderbird only? Some preference, perhaps?
Assignee | ||
Comment 8•2 years ago
|
||
No idea, it seems to throw around:
await page.loadURL("http://example.org/?other");
await assertLoadFired(
bc,
undefined,
"top BC with scripts disabled after navigation"
);
which is not directly related to what I want to test.
I use the loadURL helper:
async loadURL(url, redirectUrl = undefined) {
await this.browserReady;
this.browser.fixupAndLoadURIString(url, {
triggeringPrincipal: Services.scriptSecurityManager.getSystemPrincipal(),
});
return promiseBrowserLoaded(this.browser, url, redirectUrl);
}
I wonder if the browsing context gets replaced after this navigation on TB?
Could you try to add a bc = page.browsingContext;
at L276 in this test and see if this helps (I don't have a dev environment setup for thunderbird, sorry :/)
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 10•2 years ago
|
||
Thanks for checking I can ask for a quick review
Assignee | ||
Comment 11•2 years ago
|
||
The browsing context might be replaced after the navigation
Comment hidden (Intermittent Failures Robot) |
Comment 13•2 years ago
|
||
Comment hidden (Intermittent Failures Robot) |
Comment 15•2 years ago
|
||
bugherder |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Description
•