Closed
Bug 1312161
Opened 8 years ago
Closed 8 years ago
Intermittent toolkit/components/extensions/test/mochitest/test_ext_contentscript_about_blank.html | Test timed out.
Categories
(WebExtensions :: Untriaged, defect)
WebExtensions
Untriaged
Tracking
(firefox50 unaffected, firefox51 unaffected, firefox52 fixed)
RESOLVED
FIXED
mozilla52
Tracking | Status | |
---|---|---|
firefox50 | --- | unaffected |
firefox51 | --- | unaffected |
firefox52 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: zombie)
References
Details
(Keywords: intermittent-failure)
Attachments
(1 obsolete file)
Assignee | ||
Updated•8 years ago
|
Comment hidden (mozreview-request) |
Comment 2•8 years ago
|
||
mozreview-review |
Comment on attachment 8803622 [details]
bug 1312161 - Ensure cleanup when match_about_blank test fails,
https://reviewboard.mozilla.org/r/87806/#review86800
Thanks for looking into this. However, I don't think this is going to fix the problem. `awaitMessage` queues unexpected messages, so it can actually be safely called even after the message has been received. And looking into the logs for the failures, there aren't any "script ran" messages for these scripts.
This is only happening on Android, so perhaps there's some Android-specific optimization that's preventing us from handling these iframes correctly some of the time?
Attachment #8803622 -
Flags: review?(kmaglione+bmo)
Comment hidden (mozreview-request) |
Assignee | ||
Comment 4•8 years ago
|
||
> And looking into the logs for the failures, there aren't any "script ran"
> messages for these scripts.
doh!
> This is only happening on Android, so perhaps there's some Android-specific
> optimization that's preventing us from handling these iframes correctly some
> of the time?
I know little about android optimizations. This is causing fallout test failures (bug 1272890 comment 18), so as a temp measure, we can try cleaning up better on failures.
Or if it's too frequent, maybe we should disable it on android.
Comment 5•8 years ago
|
||
mozreview-review |
Comment on attachment 8803622 [details]
bug 1312161 - Ensure cleanup when match_about_blank test fails,
https://reviewboard.mozilla.org/r/87806/#review86804
This has already been backed out, so there's no need for a separate patch. Let's just disable the test on Android and re-land the original patch, and then file a follow-up bug to fix it on Android.
::: toolkit/components/extensions/test/mochitest/test_ext_contentscript_about_blank.html:74
(Diff revision 2)
> + if (win && !win.closed) {
> + win.close();
> + }
This isn't really necessary. Cascading failures are expected after timeouts.
::: toolkit/components/extensions/test/mochitest/test_ext_contentscript_about_blank.html:77
(Diff revision 2)
> + let win;
> + SimpleTest.registerCleanupFunction(() => {
> + if (win && !win.closed) {
> + win.close();
> + }
> + return extension.unload();
This happens automatically.
Attachment #8803622 -
Flags: review?(kmaglione+bmo)
Updated•8 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
status-firefox50:
--- → unaffected
status-firefox51:
--- → unaffected
status-firefox52:
--- → fixed
Target Milestone: --- → mozilla52
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Updated•8 years ago
|
Attachment #8803622 -
Attachment is obsolete: true
Comment hidden (Intermittent Failures Robot) |
Updated•7 years ago
|
Product: Toolkit → WebExtensions
You need to log in
before you can comment on or make changes to this bug.
Description
•