fune/dom/browser-element/mochitest/file_browserElement_OpenWindowDifferentOrigin.html
Jagmeet Bhamber e15a06b5ac Bug 1508823 - Enable ESLint for dom/browser-element (manual changes). r=mccr8
Depends on D21215

Differential Revision: https://phabricator.services.mozilla.com/D14130

--HG--
extra : moz-landing-system : lando
2019-03-19 20:56:24 +00:00

18 lines
397 B
HTML

<html>
<body>
<div id='name'></div>
<script>
if (location.search == "?1") {
open("http://example.com/tests/dom/browser-element/mochitest/file_browserElement_OpenWindowDifferentOrigin.html?2");
} else if (location.search == "?2") {
alert("finish");
}
// eslint-disable-next-line no-unsanitized/property
document.getElementById("name").innerHTML = location.search;
</script>
</body>
</html>