mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
6df7712da7
From 53d47a84c35781e73545eab3e665d63c742a9d20 Mon Sep 17 00:00:00 2001 --HG-- rename : browser/components/sessionstore/test/browser_346337_sample.html => browser/components/sessionstore/test/browser_formdata_xpath_sample.html
21 lines
489 B
HTML
21 lines
489 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>browser_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>
|