Closed
Bug 1146543
Opened 10 years ago
Closed 5 years ago
[e10s] browser_bug575561.js causes unsafe CPOW usage warnings
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
RESOLVED
DUPLICATE
of bug 1375710
Tracking | Status | |
---|---|---|
e10s | + | --- |
People
(Reporter: Kwan, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [test-only])
+++ This bug was initially created as a clone of Bug #1133577 +++
Mined from test logs
In browser/base/content/test/general/browser_bug575561.js
let waitForPageLoad = Task.async(function*(browser, linkLocation) {
yield waitForDocLoadComplete();
is(browser.contentDocument.location.href, linkLocation, "Link should not open in a new tab"); <- Causes unsafe CPOW warning
});
[...]
let testLink = Task.async(function*(aLinkIndex, pinTab, expectNewTab, testSubFrame) {
let appTab = gBrowser.addTab(TEST_URL, {skipAnimation: true});
if (pinTab)
gBrowser.pinTab(appTab);
gBrowser.selectedTab = appTab;
yield waitForDocLoadComplete();
let browser = appTab.linkedBrowser;
if (testSubFrame)
browser = browser.contentDocument.querySelector("iframe"); <- Causes unsafe CPOW warning
let link = browser.contentDocument.querySelectorAll("a")[aLinkIndex]; <- Causes unsafe CPOW warning
let promise;
if (expectNewTab)
promise = waitForTabOpen();
else
promise = waitForPageLoad(browser, link.href); <- Causes unsafe CPOW warning
info("Clicking " + link.textContent); <- Causes unsafe CPOW warning
link.click(); <- Causes unsafe CPOW warning
yield promise;
gBrowser.removeTab(appTab);
});
Reporter | ||
Updated•10 years ago
|
Component: Menus → General
Updated•10 years ago
|
Updated•10 years ago
|
tracking-e10s:
m8+ → ---
Whiteboard: [unsafe-cpow-usage]
Updated•10 years ago
|
tracking-e10s:
--- → ?
Whiteboard: [unsafe-cpow-usage] → [test-only]
Comment 1•10 years ago
|
||
Is there a CPOW usage bug that this might just depend on?
Updated•10 years ago
|
Comment 2•5 years ago
|
||
Looks like bug 1375710 removed the CPOW usage from this test.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•