forked from mirrors/gecko-dev
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;
MozReview-Commit-ID: AzhtdwJwVNg
--HG--
extra : rebase_source : e8f90249454c0779d926f87777f457352961748d
20 lines
477 B
HTML
20 lines
477 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">
|
|
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>
|