content/html/content/test/file_iframe_sandbox_top_navigation_pass.html
author Matt Brubeck <mbrubeck@mozilla.com>
Wed, 08 May 2013 16:14:03 -0700
changeset 131669 6e52ff141274ceadc96a6a74414f1c5c70609fa1
parent 131631 a5b13623631ca32b8eaf8a011ab244921cfd5f58
child 135692 65cd5eac8b2e2b89648edc077fd2e3a4e4ded268
permissions -rw-r--r--
Backed out changeset a5b13623631c:0200fd49efc3 (bug 838692) for frequent Linux debug test_iframe_sandbox_navigation.html timeouts CLOSED TREE

<!DOCTYPE HTML>
<html>
<head>
  <meta charset="utf-8">
  <title>Test for Bug 341604</title>
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
</head>
<script>
function doStuff() {
	window.opener.postMessage({ok: true, desc:  "top navigation should be allowed by a document sandboxed with 'allow-top-navigation'"}, "*");
	window.close();
}
</script>
<body onLoad="doStuff()">
PASS
</body>
</html>