Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop.

This commit is contained in:
Florian Quèze
2017-06-22 12:51:42 +02:00
parent 3731fbe0e7
commit d0406d270c
380 changed files with 4509 additions and 4545 deletions

View File

@@ -1,5 +1,5 @@
// Tests that the DOMDocElementInserted event is visible on the frame
add_task(function*() {
add_task(async function() {
let tab = BrowserTestUtils.addTab(gBrowser);
let uri = "data:text/html;charset=utf-8,<html/>"
@@ -17,7 +17,7 @@ add_task(function*() {
});
tab.linkedBrowser.loadURI(uri);
let loadedURI = yield eventPromise;
let loadedURI = await eventPromise;
is(loadedURI, uri, "Should have seen the event for the right URI");
gBrowser.removeTab(tab);