Closed
Bug 1330818
Opened 8 years ago
Closed 8 years ago
base URLs broken in windowcreator test
Categories
(Core Graveyard :: Embedding: APIs, defect)
Core Graveyard
Embedding: APIs
Tracking
(firefox53 fixed)
RESOLVED
FIXED
mozilla53
Tracking | Status | |
---|---|---|
firefox53 | --- | fixed |
People
(Reporter: myk, Assigned: myk)
References
Details
Attachments
(1 file)
1.06 KB,
patch
|
mossop
:
review+
|
Details | Diff | Splinter Review |
Bug 1309049 broke loading of a test page in toolkit/components/windowcreator/test/browser_bug1204626.js (although the test still passes), as the URL bases still reference the embedding/ directory. Here's the fix.
Attachment #8826387 -
Flags: review?(dtownsend)
Updated•8 years ago
|
Attachment #8826387 -
Flags: review?(dtownsend) → review+
Pushed by myk@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/8cf18e375fde
update base URLs in windowcreator test, r=mossop
Comment 2•8 years ago
|
||
(In reply to Myk Melez [:myk] [@mykmelez] from comment #0)
> Bug 1309049 broke loading of a test page in
> toolkit/components/windowcreator/test/browser_bug1204626.js (although the
> test still passes), as the URL bases still reference the embedding/
> directory. Here's the fix.
Is it possible to make the test fail when the directory is changed again?
Comment 3•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
Assignee | ||
Comment 4•8 years ago
|
||
(In reply to Masatoshi Kimura [:emk] from comment #2)
> (In reply to Myk Melez [:myk] [@mykmelez] from comment #0)
> > Bug 1309049 broke loading of a test page in
> > toolkit/components/windowcreator/test/browser_bug1204626.js (although the
> > test still passes), as the URL bases still reference the embedding/
> > directory. Here's the fix.
>
> Is it possible to make the test fail when the directory is changed again?
I'm unsure. The test uses BrowserTestUtils.openNewForegroundTab, which resolves its promise after opening the tab and loading a URL in it, whether or not that URL is found on the test server. I suppose it could be made to reject the promise if the URL isn't found, although there may be tests that rely on the ability to load such URLs.
Updated•6 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•