Bug 1346286 - Remove CPOWs from browser_child_resource.js. r=Gijs

MozReview-Commit-ID: 9GXn1snauxt

--HG--
extra : rebase_source : 3bbb4e973445ff74626f6c04e6e4f52be8704516
This commit is contained in:
Blake Kaplan 2017-03-09 17:18:09 -08:00
parent 8a279c4708
commit 59c1540717

View File

@ -121,7 +121,7 @@ function remoteResolveURI(uri) {
var loadTestTab = Task.async(function*() {
gBrowser.selectedTab = gBrowser.addTab(TEST_URL);
let browser = gBrowser.selectedBrowser;
yield waitForEvent(browser, "load", true);
yield BrowserTestUtils.browserLoaded(browser);
browser.messageManager.loadFrameScript("data:,(" + frameScript.toString() + ")();", true);
return browser;
});