browser/components/sessionstore/test/browser_formdata_sample.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 <!DOCTYPE html>
     2 <html lang="en">
     3   <head>
     4     <meta charset="utf-8">
     5     <title>browser_formdata_sample.html</title>
     6   </head>
     7   <body>
     8     <input id="txt" />
    10     <script type="text/javascript;version=1.8">
    11       let isOuter = window == window.top;
    13       if (isOuter) {
    14         let iframe = document.createElement("iframe");
    15         iframe.setAttribute("src", "https://example.com" + location.pathname);
    16         document.body.appendChild(iframe);
    17       }
    18     </script>
    19   </body>
    20 </html>

mercurial