| OLD | NEW |
| (Empty) |
| 1 <!DOCTYPE html> | |
| 2 <html> | |
| 3 <head> | |
| 4 <script> | |
| 5 if (window.testRunner) { | |
| 6 testRunner.dumpAsText(); | |
| 7 testRunner.dumpChildFramesAsText(); | |
| 8 testRunner.grantWebNotificationPermission("file://"); | |
| 9 } | |
| 10 </script> | |
| 11 </head> | |
| 12 <body> | |
| 13 <p>Normal iframe. Should inherit permissions.</p> | |
| 14 <iframe src="resources/notifications-iframe.html"></iframe> | |
| 15 | |
| 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> | |
| 19 | |
| 20 <p>Sandboxed iframe, without allow-same-origin. Should not inherit permissio
ns.</p> | |
| 21 <iframe sandbox="allow-scripts" | |
| 22 src="resources/notifications-iframe.html"></iframe> | |
| 23 </body> | |
| 24 </html> | |
| OLD | NEW |