Bug 1492482 - Remove CPOW usage from browser_tab_dragdrop2.js. r=Gijs

Depends on D6947

Differential Revision: https://phabricator.services.mozilla.com/D6949

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Mike Conley 2018-10-02 17:55:07 +00:00
parent 0972057135
commit 8559b263d0

View File

@ -39,7 +39,10 @@ add_task(async function() {
// Run tests once again.
let promise = promiseTestsDone(win2);
win2.gBrowser.contentWindowAsCPOW.test_panels();
let browser2 = win2.gBrowser.selectedBrowser;
await ContentTask.spawn(browser2, null, async () => {
content.test_panels();
});
await promise;
ok(true, "tests succeeded a second time");