content/base/test/file_bug907892.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     1 <!DOCTYPE html>
     2 <script>
     3   var threw;
     4   try {
     5     document.domain = "example.org";
     6     threw = false;
     7   } catch (e) {
     8     threw = true;
     9   }
    10   var sandboxed = (location.search == "?sandboxed");
    11   parent.postMessage({ threw: threw, sandboxed: sandboxed }, "*");
    12 </script>

mercurial