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

Unified 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, 10 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/frames/sandboxed-iframe-about-blank.html
diff --git a/third_party/WebKit/LayoutTests/fast/frames/sandboxed-iframe-about-blank.html b/third_party/WebKit/LayoutTests/fast/frames/sandboxed-iframe-about-blank.html
index 80f59f51148f61d2b98b19858eaeca2c878b7dd9..12f936b0021eb781397f3137d36d33caf9a7845d 100644
--- a/third_party/WebKit/LayoutTests/fast/frames/sandboxed-iframe-about-blank.html
+++ b/third_party/WebKit/LayoutTests/fast/frames/sandboxed-iframe-about-blank.html
@@ -1,32 +1,11 @@
<html>
<head>
<script src="../../resources/js-test.js"></script>
-<script>
-
-if (window.testRunner)
- testRunner.dumpAsText();
-
-window.onload = function() {
- if (self.containing_frame.document.getElementById('plugin').destroyStream)
- testPassed("containing frame was able to instantiate plugin");
- else
- testFailed("containing frame was unable to instantiate plugin");
-
- isSuccessfullyParsed();
-}
-
-</script>
</head>
-<body>
- <iframe name="containing_frame"
- src="resources/sandboxed-iframe-about-blank.html">
- </iframe>
-
- <p id="description"></p>
-
- <div id="console"></div>
-
+<body onload="finishJSTest()">
+ <iframe src="resources/sandboxed-iframe-about-blank.html"></iframe>
<script>
+ jsTestIsAsync = true;
description("This test verifies that sandboxing 'about:blank' does not make the containing frame sandboxed.");
</script>
</body>

Powered by Google App Engine
This is Rietveld 408576698