Commit 6b960a04 authored by Kyle Machulis's avatar Kyle Machulis
Browse files

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

Differential Revision: https://phabricator.services.mozilla.com/D28760
parent 35ea701f
......@@ -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");
});
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment