зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1540839 - Update tests for frameloader browsing context reuse; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D28760
This commit is contained in:
Родитель
cd6da5db9b
Коммит
4820f1d340
|
@ -45,7 +45,7 @@ add_task(async function oopProcessSwap() {
|
|||
});
|
||||
|
||||
is(browser.browsingContext.getChildren().length, 1);
|
||||
todo(frameId == oopinfo.browsingContextId, "BrowsingContext should not have changed");
|
||||
is(frameId, oopinfo.browsingContextId, `BrowsingContext should not have changed (${frameId} != ${oopinfo.browsingContextId})`);
|
||||
is(oopinfo.location, WEB, "correct location");
|
||||
});
|
||||
|
||||
|
@ -99,7 +99,7 @@ add_task(async function oopOriginProcessSwap() {
|
|||
});
|
||||
|
||||
is(browser.browsingContext.getChildren().length, 1);
|
||||
todo(frameId == oopinfo.browsingContextId, "BrowsingContext should not have changed");
|
||||
is(frameId, oopinfo.browsingContextId, `BrowsingContext should not have changed (${frameId} != ${oopinfo.browsingContextId})`);
|
||||
is(oopinfo.location, ORG_POSTMSG, "correct location");
|
||||
});
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче