toolkit/components/extensions/test/mochitest/file_remote_frame.html
author Mark Banner <standard8@mozilla.com>
Mon, 08 May 2017 10:29:47 +0100
changeset 357703 61f9d530898ae753cddeecc240ad1896b9b9b939
parent 357701 e1e81b129b5b389f59ccc2144573a7c7af728a2a
permissions -rw-r--r--
Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws MozReview-Commit-ID: 5fVG7akPnGM

<!DOCTYPE>
<html>
  <head>
    <meta charset="utf-8">
    <script>
      "use strict";
      var response = {
        tabs: false,
        cookie: document.cookie,
      };
      try {
        browser.tabs.create({url: "file_sample.html"});
        response.tabs = true;
      } catch (e) {
        // ok
      }
      window.parent.postMessage(response, "*");
    </script>
  </head>
</html>