Bug 1540839 - Update tests for frameloader browsing context reuse; r=nika

Differential Revision: https://phabricator.services.mozilla.com/D28760
This commit is contained in:
Kyle Machulis 2019-04-18 15:32:40 -07:00
Родитель 35ea701f35
Коммит 6b960a04db
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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");
});