Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that disables it given conditions:
- os == "android" : https://bugzilla.mozilla.org/show_bug.cgi?id=1687280
- This WPT test may be referenced by the following Test IDs:
- /focus/iframe-focuses-parent-different-site.html - WPT Dashboard Interop Dashboard
<!doctype html>
<meta charset=utf-8>
<title>iframe focuses parent</title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
setup({explicit_done:true});
var w = null;
window.onload = function() {
window.onmessage = function(e) {
test(function() {
assert_equals(e.data, "PASS", 'Check result');
}, "Check result");
w.close();
w = null;
done();
};
w = window.open("support/iframe-focuses-parent-different-site-outer.sub.html");
}
</script>