mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 04:05:32 +00:00
75e6200c17
Enabled ESLint for: * docshell/test/navigation/** * docshell/test/unit/** * docshell/test/unit_ipc/** Changed .eslintignore to allow for this and ran ./mach eslint --fix on the above directories and checked automatic fixes Differential Revision: https://phabricator.services.mozilla.com/D9430 --HG-- extra : moz-landing-system : lando
23 lines
704 B
HTML
23 lines
704 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Test for bug 1375833</title>
|
|
</head>
|
|
<body onload="test();">
|
|
<iframe id="testFrame" src="file_bug1375833-frame1.html"></iframe>
|
|
<script type="application/javascript">
|
|
function test() {
|
|
let iframe = document.querySelector("#testFrame");
|
|
setTimeout(function() { iframe.src = "file_bug1375833-frame1.html"; }, 0);
|
|
iframe.onload = function(e) {
|
|
setTimeout(function() { iframe.src = "file_bug1375833-frame2.html"; }, 0);
|
|
iframe.onload = function() {
|
|
opener.postMessage(iframe.contentWindow.location.href, "*");
|
|
};
|
|
};
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|