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

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

Issue 1291723004: Remove all support for <applet> handling in Chrome. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 5 years, 4 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: LayoutTests/fast/frames/sandboxed-iframe-plugins.html
diff --git a/LayoutTests/fast/frames/sandboxed-iframe-plugins.html b/LayoutTests/fast/frames/sandboxed-iframe-plugins.html
index 6b3fd686266c29cb11d639a558f08cfe09cf068d..a5fb977ff922f68c62a03fdfc40b8e5ac874f625 100644
--- a/LayoutTests/fast/frames/sandboxed-iframe-plugins.html
+++ b/LayoutTests/fast/frames/sandboxed-iframe-plugins.html
@@ -6,9 +6,6 @@ if (window.testRunner)
testRunner.dumpAsText();
window.onload = function() {
- shouldBeTrue("(self.appletFrame1.document['app'].init) != undefined");
- shouldBeTrue("(self.appletFrame2.document['app'].init) == undefined");
-
shouldBeTrue("(self.embedFrame1.document.getElementById('plugin').destroyStream) != undefined");
shouldBeTrue("(self.embedFrame2.document.getElementById('plugin').destroyStream) == undefined");
@@ -23,25 +20,10 @@ window.onload = function() {
<body>
<p id="description"></p>
- <p>NOTE: The first sub-test will fail in DumpRenderTree, since DumpRenderTree
- does not support applets. That sub-test must be run in Safari instead.</p>
-
<div id="console"></div>
- <!-- Applets -->
-
- <iframe name="appletFrame1"
- style="width: 200px; height: 100px;"
- src="resources/sandboxed-iframe-plugins-frame-applet.html">
- </iframe>
- <iframe name="appletFrame2"
- style="width: 200px; height: 100px;"
- sandbox="allow-same-origin allow-scripts"
- src="resources/sandboxed-iframe-plugins-frame-applet.html">
- </iframe>
-
<!-- Embeds -->
-
+
<iframe name="embedFrame1"
style="width: 200px; height: 100px;"
src="resources/sandboxed-iframe-plugins-frame-embed.html">
@@ -53,7 +35,7 @@ window.onload = function() {
</iframe>
<!-- Objects -->
-
+
<iframe name="objectFrame1"
style="width: 200px; height: 100px;"
src="resources/sandboxed-iframe-plugins-frame-object.html">
@@ -65,7 +47,7 @@ window.onload = function() {
</iframe>
<script>
- description("This test verifies that sandboxing of plugins works as intended. Three tests are made, each in one sandboxed and one non-sandboxed IFrame: applets, embeds, and objects.");
+ description("This test verifies that sandboxing of plugins works as intended. Two tests are made, each in one sandboxed and one non-sandboxed IFrame: embeds and objects.");
</script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698