uriloader/exthandler/tests/mochitest/handlerApp.xhtml
author Syeda Asra Arshia Qadri <asra.qadri@gmail.com>
Thu, 14 Mar 2019 11:19:44 +0000
changeset 521883 9e322c3c5db7941730308e3022222a8904081b99
parent 521860 14c61ee043c8e0507c05e13b8c82a0610df660fa
child 528457 c9c0c6f2eed54a187e124942e53c3660b4cf17d8
permissions -rw-r--r--
Bug 1532941 - Enable ESLint for uriloader (automatic changes). r=Standard8,qdot Differential Revision: https://phabricator.services.mozilla.com/D22308

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>Pseudo Web Handler App</title>
  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
</head>
<body onload="onLoad()">
Pseudo Web Handler App

<script class="testbody" type="text/javascript">
<![CDATA[
function onLoad() {
  // if we have a window.opener, this must be the windowContext
  // instance of this test.  check that we got the URI right and clean up.
  if (window.opener) {
    window.opener.is(location.search,
                     "?uri=" + encodeURIComponent(window.opener.testURI),
                     "uri passed to web-handler app");
    window.opener.SimpleTest.finish();
  }

  window.close();
}
]]>
</script>

</body>
</html>