blob: f298dffb3cf0f890a9a36a0eb92c2732d7a2d999 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.dumpChildFramesAsText();
testRunner.grantWebNotificationPermission("file://");
}
</script>
</head>
<body>
<p>Normal iframe. Should inherit permissions.</p>
<iframe src="resources/notifications-iframe.html"></iframe>
<p>Sandboxed iframe, with allow-same-origin. Should inherit permissions.</p>
<iframe sandbox="allow-scripts allow-same-origin"
src="resources/notifications-iframe.html"></iframe>
<p>Sandboxed iframe, without allow-same-origin. Should not inherit permissions.</p>
<iframe sandbox="allow-scripts"
src="resources/notifications-iframe.html"></iframe>
</body>
</html>