Closed
Bug 1398514
Opened 8 years ago
Closed 8 years ago
Intermittent browser/components/extensions/test/browser/test-oop-extensions/browser_ext_tabs_executeScript_runAt.js | Got the earliest expected states at least once -
Categories
(WebExtensions :: General, defect, P3)
WebExtensions
General
Tracking
(firefox57 disabled, firefox58 fixed)
RESOLVED
FIXED
mozilla58
People
(Reporter: intermittent-bug-filer, Assigned: zombie)
References
Details
(Keywords: intermittent-failure, Whiteboard: [stockwell fixed])
Attachments
(1 file)
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 3•8 years ago
|
||
This started after bug 1394348 landed and looks pretty frequent on PGO builds. Can you please look, zombie?
https://treeherder.mozilla.org/logviewer.html#?job_id=130902057&repo=try
Blocks: 1394348
Flags: needinfo?(tomica)
Assignee | ||
Comment 4•8 years ago
|
||
Yeah, that whole test is a pain. I'm trying to land something before beta, so it might be a week before I get to this, sorry.. :(
Assignee: nobody → tomica
Status: NEW → ASSIGNED
Flags: needinfo?(tomica)
![]() |
||
Updated•8 years ago
|
Whiteboard: [stockwell needswork]
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 10•8 years ago
|
||
landed a patch to disable this:
https://hg.mozilla.org/integration/mozilla-inbound/rev/be3a7857a1e7fefdd757d54cff99e6eefb9c7294
Keywords: leave-open
Whiteboard: [stockwell disable-recommended] → [stockwell disabled]
Comment 11•8 years ago
|
||
bugherder |
Comment hidden (Intermittent Failures Robot) |
Comment 13•8 years ago
|
||
Skipped harder on Beta.
https://hg.mozilla.org/releases/mozilla-beta/rev/a2e26860d2a9
status-firefox57:
--- → disabled
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 16•8 years ago
|
||
This is currently disabled on Windows, but looks like it will likely also be disabled on Linux soon, based on comment 15, so we should treat this as a higher priority to fix to enable. I see that it's already assigned to zombie.
Component: WebExtensions: Untriaged → WebExtensions: General
Priority: P5 → P3
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Updated•8 years ago
|
Attachment #8915686 -
Flags: review?(kmaglione+bmo)
Comment 19•8 years ago
|
||
mozreview-review |
Comment on attachment 8915686 [details]
Bug 1398514 - Use slower documents for executeScript_runAt test
https://reviewboard.mozilla.org/r/186886/#review192080
Thanks!
::: browser/components/extensions/test/browser/file_slowed_document.sjs:10
(Diff revision 2)
> // This script slows the load of an HTML document so that we can reliably test
> // all phases of the load cycle supported by the extension API.
>
> /* eslint-disable no-unused-vars */
>
> -const DELAY = 1 * 1000; // Delay one second before completing the request.
> +const URL = "./file_slowed_document.sjs";
Nit: No need for the './'
::: browser/components/extensions/test/browser/file_slowed_document.sjs:37
(Diff revision 2)
> `);
>
> // Note: We need to store a reference to the timer to prevent it from being
> // canceled when it's GCed.
> timer = new nsTimer(() => {
> - response.write(`
> + if (request.queryString.includes("iframe")) {
This is always going to confuse me, trying to remember whether `iframe` means this *is* the iframe, or it should *contain* an iframe... but *shrug*
::: mobile/android/components/extensions/test/mochitest/file_slowed_document.sjs:10
(Diff revision 2)
> // This script slows the load of an HTML document so that we can reliably test
> // all phases of the load cycle supported by the extension API.
>
> /* eslint-disable no-unused-vars */
>
> -const DELAY = 1 * 1000; // Delay one second before completing the request.
> +const URL = "./file_slowed_document.sjs";
Same nit.
Also... I really wish we didn't have this in the tree twice... (which, I know, is my fault)
::: mobile/android/components/extensions/test/mochitest/test_ext_tabs_executeScript_runAt.html:37
(Diff revision 2)
> let tab;
>
> const BASE = "http://mochi.test:8888/tests/mobile/android/components/extensions/test/mochitest/";
> - const URL = BASE + "file_iframe_document.sjs";
> + const URL = BASE + "file_slowed_document.sjs";
>
> - const MAX_TRIES = 30;
> + const MAX_TRIES = 20;
Eh, let's keep it at 30. It doesn't hurt.
Attachment #8915686 -
Flags: review?(kmaglione+bmo) → review+
Comment hidden (mozreview-request) |
Assignee | ||
Comment 21•8 years ago
|
||
mozreview-review-reply |
Comment on attachment 8915686 [details]
Bug 1398514 - Use slower documents for executeScript_runAt test
https://reviewboard.mozilla.org/r/186886/#review192080
> Same nit.
>
> Also... I really wish we didn't have this in the tree twice... (which, I know, is my fault)
fixing this in Q4, one way or another..
> Eh, let's keep it at 30. It doesn't hurt.
I think the bump to 30 was before we caught the error with the `DEBUG` condition below.
Comment 22•8 years ago
|
||
Pushed by tomica@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/52565b672351
Use slower documents for executeScript_runAt test r=kmag
![]() |
||
Comment 23•8 years ago
|
||
bugherder |
Comment hidden (Intermittent Failures Robot) |
Comment 25•8 years ago
|
||
No instances on trunk since the most recent patch was merged around \m/.
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox58:
--- → fixed
Keywords: leave-open
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
Comment 26•8 years ago
|
||
This test has been re-enabled on Nightly, but is still disabled on beta. I cannot imagine an uplift happening for this, as the fix involves changes to more than just the test, so I'm going to mark this as [stockwell fixed].
Whiteboard: [stockwell disabled] → [stockwell fixed]
Updated•7 years ago
|
Product: Toolkit → WebExtensions
You need to log in
before you can comment on or make changes to this bug.
Description
•