5 if (window.testRunner) {
6 testRunner.dumpAsText();
7 testRunner.dumpChildFramesAsText();
8 testRunner.grantWebNotificationPermission("file://");
13 <p>Normal iframe. Should inherit permissions.</p>
14 <iframe src="resources/notifications-iframe.html"></iframe>
16 <p>Sandboxed iframe, with allow-same-origin. Should inherit permissions.</p>
17 <iframe sandbox="allow-scripts allow-same-origin"
18 src="resources/notifications-iframe.html"></iframe>
20 <p>Sandboxed iframe, without allow-same-origin. Should not inherit permissions.</p>
21 <iframe sandbox="allow-scripts"
22 src="resources/notifications-iframe.html"></iframe>