dom/browser-element/mochitest/file_browserElement_OpenWindowDifferentOrigin.html

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 <html>
     2 <body>
     4 <div id='name'></div>
     6 <script>
     7 if (location.search == "?1") {
     8   open("http://example.com/tests/dom/browser-element/mochitest/file_browserElement_OpenWindowDifferentOrigin.html?2");
     9 }
    10 else if (location.search == "?2") {
    11   alert("finish");
    12 }
    14 document.getElementById('name').innerHTML = location.search;
    15 </script>
    17 </body>
    18 </html>

mercurial