Bug 1744924 - Part 2: Adjust iframe sandbox test r=ckerschb

Differential Revision: https://phabricator.services.mozilla.com/D133626
This commit is contained in:
Frederik Braun 2021-12-13 12:57:10 +00:00
parent 223875d312
commit 65f2fbb9ff

View File

@ -45,7 +45,7 @@ function waitForMessage(aCallback) {
let url = "file_top_navigation_by_user_activation.html";
if (sameOrigin) {
url = "http://example.org/tests/docshell/test/iframesandbox/" + url;
url = `${location.origin}/tests/docshell/test/iframesandbox/${url}`;
}
let promise = waitForMessage((e) => {