Closed
Bug 1251175
Opened 8 years ago
Closed 8 years ago
Intermittent browser_ManifestFinder_browserHasManifestLink.js | Uncaught exception - at :0 - Error: operation not possible on dead CPOW
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla50
People
(Reporter: cbook, Assigned: marcosc)
References
(Blocks 1 open bug, )
Details
(Keywords: intermittent-failure, Whiteboard: btpp-active)
Attachments
(1 file, 4 obsolete files)
https://treeherder.mozilla.org/logviewer.html#?job_id=22359637&repo=mozilla-inbound 04:33:14 INFO - 190 INFO TEST-UNEXPECTED-FAIL | dom/manifest/test/browser_ManifestFinder_browserHasManifestLink.js | Uncaught exception - at :0 - Error: operation not possible on dead CPOW
Updated•8 years ago
|
Blocks: e10s-tests
tracking-e10s:
--- → ?
Comment hidden (Intermittent Failures Robot) |
Updated•8 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 hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → mcaceres
Assignee | ||
Comment 11•8 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=01c3b08c7f31
Assignee | ||
Comment 12•8 years ago
|
||
Removed dependence on getting contentWindowAsCPOW + simplified the tests.
Attachment #8758119 -
Flags: review?(mconley)
Assignee | ||
Updated•8 years ago
|
Whiteboard: btpp-active
Comment 13•8 years ago
|
||
Comment on attachment 8758119 [details] [diff] [review] Remove getting contentWindowAsCPOW Review of attachment 8758119 [details] [diff] [review]: ----------------------------------------------------------------- The changes in here look fine, but I don't see where we've skipped using a CPOW... where did that happen? ::: dom/manifest/test/browser_ManifestFinder_browserHasManifestLink.js @@ +2,4 @@ > /*global Cu, BrowserTestUtils, is, ok, add_task, gBrowser */ > "use strict"; > const { ManifestFinder } = Cu.import("resource://gre/modules/ManifestFinder.jsm", {}); > +const defaultURL = new URL("http://example.org/browser/dom/manifest/test/resource.sjs"); I haven't actually checked if this works, but I do note that nothing else in the tree points to this new path. They all point to the old one. Was an alias made, or is there some kind of redirector? Can I assume that you checked that this URL resolves correctly? @@ +38,5 @@ > }, > }]; > > +function makeTestURL({ body }) { > + var url = new URL(defaultURL); let, not var
Updated•8 years ago
|
Flags: needinfo?(mcaceres)
Comment 14•8 years ago
|
||
Comment on attachment 8758119 [details] [diff] [review] Remove getting contentWindowAsCPOW Review of attachment 8758119 [details] [diff] [review]: ----------------------------------------------------------------- Oh, I see - this relies on the other patch you added to my queue. ::: dom/manifest/test/browser_ManifestFinder_browserHasManifestLink.js @@ +48,5 @@ > * Test basic API error conditions > */ > add_task(function*() { > const expected = "Invalid types should throw a TypeError."; > + for (let invalidValue of [undefined, null, 1, {}, "test"]) { You did the const thing in the other patch I'm reviewing, and undoing this here. Intentional? It might just be best to fold these two patches together.
Updated•8 years ago
|
Flags: needinfo?(mcaceres)
Comment 15•8 years ago
|
||
Comment on attachment 8758119 [details] [diff] [review] Remove getting contentWindowAsCPOW Review of attachment 8758119 [details] [diff] [review]: ----------------------------------------------------------------- I find it odd that this undoes some of the stuff you do in your other patch, but the end result is fine. Maybe consider folding the two patches together before landing. Up to you.
Attachment #8758119 -
Flags: review?(mconley) → review+
Assignee | ||
Comment 16•8 years ago
|
||
> I find it odd that this undoes some of the stuff you do in your other patch, but the end result is fine. Maybe consider folding the two patches together before landing. Up to you.
Woopsy... that was not intentional... will merge them as you suggested.
Assignee | ||
Comment 17•8 years ago
|
||
> They all point to the old one. Was an alias made, or is there some kind of redirector? > Can I assume that you checked that this URL resolves correctly? The URL resolves correctly. I don't know if there was some recent change or something, but browser_* tests are now supposed to get their support files from /browser/ or they 404. See the last paragraph of: https://developer.mozilla.org/en-US/docs/Mozilla/Browser_chrome_tests This tripped me up when all my tests started returning 404 (even though they worked fine previously o_0). Anyway, the new path fixes it. Something to be aware of, in case it comes up with other folks. Thanks again for the prompt and helpful review!
Flags: needinfo?(mconley)
Assignee | ||
Comment 18•8 years ago
|
||
Attachment #8758119 -
Attachment is obsolete: true
Assignee | ||
Updated•8 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 19•8 years ago
|
||
Attachment #8758998 -
Attachment is obsolete: true
Comment 20•8 years ago
|
||
Pushed by cbook@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/3bd665597cff Removed dependence on CPOW. r=mconley
Keywords: checkin-needed
Reporter | ||
Comment 21•8 years ago
|
||
sorry had to back this out since this caused failures like https://treeherder.mozilla.org/logviewer.html#?job_id=29295555&repo=mozilla-inbound
Flags: needinfo?(mcaceres)
Comment 22•8 years ago
|
||
Backout by cbook@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/29fc4a93e85c Backed out changeset 3bd665597cff for causing bc failures
Comment 23•8 years ago
|
||
(In reply to Marcos Caceres [:marcosc] from comment #17) > The URL resolves correctly. I don't know if there was some recent change or > something, but browser_* tests are now supposed to get their support files > from /browser/ or they 404. See the last paragraph of: > > https://developer.mozilla.org/en-US/docs/Mozilla/Browser_chrome_tests > > This tripped me up when all my tests started returning 404 (even though they > worked fine previously o_0). Anyway, the new path fixes it. Something to be > aware of, in case it comes up with other folks. > Huh. Good to know, thanks.
Flags: needinfo?(mconley)
Assignee | ||
Comment 25•8 years ago
|
||
Attachment #8759003 -
Attachment is obsolete: true
Assignee | ||
Updated•8 years ago
|
Keywords: checkin-needed
Comment 26•8 years ago
|
||
Pushed by cbook@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/941fd40d73de Removed dependence on CPOW. r=mconley
Keywords: checkin-needed
Reporter | ||
Comment 27•8 years ago
|
||
had to back this out for test failures like https://treeherder.mozilla.org/logviewer.html#?job_id=29651943&repo=mozilla-inbound
Flags: needinfo?(mcaceres)
Comment 28•8 years ago
|
||
Backout by cbook@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/c1a5cf90a1ee Backed out changeset 941fd40d73de for causing perma time out failures in browser_ManifestObtainer_obtain.js
Assignee | ||
Comment 29•8 years ago
|
||
Investigating... it's going to be one of those bugs...
Flags: needinfo?(mcaceres)
Assignee | ||
Comment 30•8 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=bb6d00dbde36
Assignee | ||
Comment 31•8 years ago
|
||
Linuxis are definitely busted. Will try adding a requestLongerTimeout() and see what happens.
Assignee | ||
Comment 32•8 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=4c8cd8106876
Assignee | ||
Comment 33•8 years ago
|
||
requestLongerTimeout seemed to do the trick.
Assignee | ||
Comment 34•8 years ago
|
||
Attachment #8760552 -
Attachment is obsolete: true
Assignee | ||
Updated•8 years ago
|
Keywords: checkin-needed
Comment 35•8 years ago
|
||
Pushed by cbook@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/ef957b0217bb Removed dependence on CPOW. r=mconley
Keywords: checkin-needed
Reporter | ||
Comment 36•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/ef957b0217bb
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox50:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
Comment 37•8 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-aurora/rev/5d89998e40c6
status-firefox49:
--- → fixed
Comment 38•8 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-beta/rev/d6862260e78b
status-firefox48:
--- → fixed
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•