diff options
Diffstat (limited to 'mobile/android/tests/browser/chrome/session_formdata_sample.html')
-rw-r--r-- | mobile/android/tests/browser/chrome/session_formdata_sample.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/mobile/android/tests/browser/chrome/session_formdata_sample.html b/mobile/android/tests/browser/chrome/session_formdata_sample.html new file mode 100644 index 000000000..f88e8668f --- /dev/null +++ b/mobile/android/tests/browser/chrome/session_formdata_sample.html @@ -0,0 +1,20 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>session_formdata_sample.html</title> + </head> + <body> + <input id="txt" /> + + <script type="text/javascript;version=1.8"> + let isOuter = window == window.top; + + if (isOuter) { + let iframe = document.createElement("iframe"); + iframe.setAttribute("src", "https://example.com" + location.pathname); + document.body.appendChild(iframe); + } + </script> + </body> +</html> |