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)

defect

Tracking

(firefox57 disabled, firefox58 fixed)

RESOLVED FIXED
mozilla58
Tracking Status
firefox57 --- disabled
firefox58 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: zombie)

References

Details

(Keywords: intermittent-failure, Whiteboard: [stockwell fixed])

Attachments

(1 file)

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)
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)
Whiteboard: [stockwell needswork]
Keywords: leave-open
Whiteboard: [stockwell disable-recommended] → [stockwell disabled]
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
Attachment #8915686 - Flags: review?(kmaglione+bmo)
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 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.
Pushed by tomica@gmail.com: https://hg.mozilla.org/integration/autoland/rev/52565b672351 Use slower documents for executeScript_runAt test r=kmag
No instances on trunk since the most recent patch was merged around \m/.
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Keywords: leave-open
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
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]
Flags: qe-verify-
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: