mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 16:25:38 +00:00
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:
parent
0972057135
commit
8559b263d0
@ -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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user