Closed
Bug 1146560
Opened 9 years ago
Closed 7 years ago
[e10s] test-firefox-tabs.js causes unsafe CPOW usage warnings
Categories
(Add-on SDK Graveyard :: General, defect, P4)
Add-on SDK Graveyard
General
Tracking
(e10s+)
RESOLVED
INCOMPLETE
Tracking | Status | |
---|---|---|
e10s | + | --- |
People
(Reporter: Kwan, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [unsafe-cpow-usage] triaged)
+++ This bug was initially created as a clone of Bug #1133577 +++ Mined from test logs In addon-sdk/source/test/tabs/test-firefox-tabs.js: // TEST: open tab in new window exports.testOpenInNewWindow = function(assert, done) { let startWindowCount = windows().length; let url = "data:text/html;charset=utf-8,testOpenInNewWindow"; tabs.open({ url: url, inNewWindow: true, onReady: function(tab) { let newWindow = getOwnerWindow(viewFor(tab)); assert.equal(windows().length, startWindowCount + 1, "a new window was opened"); onFocus(newWindow).then(function() { assert.equal(getMostRecentBrowserWindow(), newWindow, "new window is active"); assert.equal(tab.url, url, "URL of the new tab matches"); assert.equal(newWindow.content.location, url, "URL of new tab in new window matches"); <- Causes CPOW warning assert.equal(tabs.activeTab.url, url, "URL of activeTab matches"); return close(newWindow).then(done); }).then(null, assert.fail); } }); }
Updated•9 years ago
|
Updated•9 years ago
|
tracking-e10s:
m8+ → ---
Whiteboard: [unsafe-cpow-usage]
Comment 2•8 years ago
|
||
we are going to check which tests pass - and then disable all that do not to detect breakages from this point on. correcting the test suite issue across the board is a months long effort - that doesn't align with 2017 plans.
Priority: P1 → P4
Whiteboard: [unsafe-cpow-usage] → [unsafe-cpow-usage] triaged
Comment 3•7 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1399562
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•