fune/docshell/test/navigation/file_triggeringprincipal_subframe.html
Toby Ward 75e6200c17 Bug 1496082: Enable ESLint for docshell/test/navigation and docshell/test/unit (automatic fixes only). r=bzbarsky
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
2018-11-07 13:55:47 +00:00

15 lines
426 B
HTML

<!DOCTYPE HTML>
<html>
<head><meta charset='utf-8'></head>
<body>
<b>Sub Frame 2</b><br/>
<script type='application/javascript'>
// make sure to set document.domain to same domain as frame 1
window.onload = function() {
document.domain = "mochi.test";
// let Frame 1 know that we are ready to run the test
window.parent.parent.frames[0].postMessage({start: "startTest"}, "*");
};
</script>
</body>
</html>