Thu, 22 Jan 2015 13:21:57 +0100
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>