toolkit/components/extensions/test/mochitest/file_remote_frame.html
author Sebastian Hengst <archaeopteryx@coole-files.de>
Thu, 11 May 2017 10:15:55 +0200
changeset 357701 e1e81b129b5b389f59ccc2144573a7c7af728a2a
parent 357699 e0f9c56c15f0f412f2111f1f3379d69b2a213188
child 357703 61f9d530898ae753cddeecc240ad1896b9b9b939
permissions -rw-r--r--
Backed out changeset e0f9c56c15f0 (bug 1362947) for linting failures, e.g. at accessible/tests/mochitest/jsat/doc_content_text.html:15. r=backout

<!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>