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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/frames/sandboxed-iframe-about-blank.html

Issue 1744073002: Remove NPAPI use in fast/frames/sandboxed-iframe-navigation-allowed.html (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make test results slightly more sensible. Created 4 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
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>
5
6 if (window.testRunner)
7 testRunner.dumpAsText();
8
9 window.onload = function() {
10 if (self.containing_frame.document.getElementById('plugin').destroyStream)
11 testPassed("containing frame was able to instantiate plugin");
12 else
13 testFailed("containing frame was unable to instantiate plugin");
14
15 isSuccessfullyParsed();
16 }
17
18 </script>
19 </head> 4 </head>
20 <body> 5 <body onload="finishJSTest()">
21 <iframe name="containing_frame" 6 <iframe src="resources/sandboxed-iframe-about-blank.html"></iframe>
22 src="resources/sandboxed-iframe-about-blank.html">
23 </iframe>
24
25 <p id="description"></p>
26
27 <div id="console"></div>
28
29 <script> 7 <script>
8 jsTestIsAsync = true;
30 description("This test verifies that sandboxing 'about:blank' does not make the containing frame sandboxed."); 9 description("This test verifies that sandboxing 'about:blank' does not make the containing frame sandboxed.");
31 </script> 10 </script>
32 </body> 11 </body>
33 </html> 12 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698