Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1061)

Side by Side Diff: LayoutTests/fast/notifications/notifications-sandbox-permission.html

Issue 187323005: Revert of Remove support for legacy WebKit Notifications (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698