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

Side by Side Diff: LayoutTests/fast/frames/sandboxed-iframe-plugins.html

Issue 196523007: Revert of id of iframe incorrectly sets window name (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
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../resources/js-test.js"></script> 3 <script src="../../resources/js-test.js"></script>
4 <script> 4 <script>
5 if (window.testRunner) 5 if (window.testRunner)
6 testRunner.dumpAsText(); 6 testRunner.dumpAsText();
7 7
8 window.onload = function() { 8 window.onload = function() {
9 shouldBeTrue("(self.appletFrame1.document['app'].init) != undefined"); 9 shouldBeTrue("(self.appletFrame1.document['app'].init) != undefined");
10 shouldBeTrue("(self.appletFrame2.document['app'].init) == undefined"); 10 shouldBeTrue("(self.appletFrame2.document['app'].init) == undefined");
(...skipping 12 matching lines...) Expand all
23 <body> 23 <body>
24 <p id="description"></p> 24 <p id="description"></p>
25 25
26 <p>NOTE: The first sub-test will fail in DumpRenderTree, since DumpRenderTre e 26 <p>NOTE: The first sub-test will fail in DumpRenderTree, since DumpRenderTre e
27 does not support applets. That sub-test must be run in Safari instead.</p> 27 does not support applets. That sub-test must be run in Safari instead.</p>
28 28
29 <div id="console"></div> 29 <div id="console"></div>
30 30
31 <!-- Applets --> 31 <!-- Applets -->
32 32
33 <iframe name="appletFrame1" 33 <iframe id="appletFrame1"
34 style="width: 200px; height: 100px;" 34 style="width: 200px; height: 100px;"
35 src="resources/sandboxed-iframe-plugins-frame-applet.html"> 35 src="resources/sandboxed-iframe-plugins-frame-applet.html">
36 </iframe> 36 </iframe>
37 <iframe name="appletFrame2" 37 <iframe id="appletFrame2"
38 style="width: 200px; height: 100px;" 38 style="width: 200px; height: 100px;"
39 sandbox="allow-same-origin allow-scripts" 39 sandbox="allow-same-origin allow-scripts"
40 src="resources/sandboxed-iframe-plugins-frame-applet.html"> 40 src="resources/sandboxed-iframe-plugins-frame-applet.html">
41 </iframe> 41 </iframe>
42 42
43 <!-- Embeds --> 43 <!-- Embeds -->
44 44
45 <iframe name="embedFrame1" 45 <iframe id="embedFrame1"
46 style="width: 200px; height: 100px;" 46 style="width: 200px; height: 100px;"
47 src="resources/sandboxed-iframe-plugins-frame-embed.html"> 47 src="resources/sandboxed-iframe-plugins-frame-embed.html">
48 </iframe> 48 </iframe>
49 <iframe name="embedFrame2" 49 <iframe id="embedFrame2"
50 style="width: 200px; height: 100px;" 50 style="width: 200px; height: 100px;"
51 sandbox="allow-same-origin" 51 sandbox="allow-same-origin"
52 src="resources/sandboxed-iframe-plugins-frame-embed.html"> 52 src="resources/sandboxed-iframe-plugins-frame-embed.html">
53 </iframe> 53 </iframe>
54 54
55 <!-- Objects --> 55 <!-- Objects -->
56 56
57 <iframe name="objectFrame1" 57 <iframe id="objectFrame1"
58 style="width: 200px; height: 100px;" 58 style="width: 200px; height: 100px;"
59 src="resources/sandboxed-iframe-plugins-frame-object.html"> 59 src="resources/sandboxed-iframe-plugins-frame-object.html">
60 </iframe> 60 </iframe>
61 <iframe name="objectFrame2" 61 <iframe id="objectFrame2"
62 style="width: 200px; height: 100px;" 62 style="width: 200px; height: 100px;"
63 sandbox="allow-same-origin" 63 sandbox="allow-same-origin"
64 src="resources/sandboxed-iframe-plugins-frame-object.html"> 64 src="resources/sandboxed-iframe-plugins-frame-object.html">
65 </iframe> 65 </iframe>
66 66
67 <script> 67 <script>
68 description("This test verifies that sandboxing of plugins works as intended . Three tests are made, each in one sandboxed and one non-sandboxed IFrame: appl ets, embeds, and objects."); 68 description("This test verifies that sandboxing of plugins works as intended . Three tests are made, each in one sandboxed and one non-sandboxed IFrame: appl ets, embeds, and objects.");
69 </script> 69 </script>
70 </body> 70 </body>
71 </html> 71 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/frames/iframe-no-name-expected.txt ('k') | LayoutTests/fast/frames/unload-reparent-sibling-frame.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698