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

Unified Diff: LayoutTests/fast/plugins/plugin-placeholder-explicit-size.html

Issue 1291723004: Remove all support for <applet> handling in Chrome. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Hopefully all the tests 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/plugins/plugin-placeholder-explicit-size.html
diff --git a/LayoutTests/fast/plugins/plugin-placeholder-explicit-size.html b/LayoutTests/fast/plugins/plugin-placeholder-explicit-size.html
index 465ce24a1375dbe92cf48327974a8f12f365e728..9536be61328a45223d7efc7471a56e35266c0d49 100644
--- a/LayoutTests/fast/plugins/plugin-placeholder-explicit-size.html
+++ b/LayoutTests/fast/plugins/plugin-placeholder-explicit-size.html
@@ -1,11 +1,10 @@
<!DOCTYPE html>
<style>
-applet, embed, object { display: block; margin: 10px; }
+embed, object { display: block; margin: 10px; }
</style>
-<!-- These should appear as green blocks of various sizes (200x150, 300x100, 200x100). -->
-<applet code="DoesNotExist.class" width="200"></applet>
+<!-- These should appear as green blocks of various sizes (300x100, 200x100). -->
<embed type="application/x-fake-plugin" height="100"></embed>
<object type="application/x-fake-plugin" width="200" height="100"></object>
@@ -21,7 +20,7 @@ applet, embed, object { display: block; margin: 10px; }
internals.settings.setJavaEnabled(true);
var templateContent = document.getElementById('placeholder-template').content;
-Array.prototype.forEach.call(document.querySelectorAll("applet, embed, object"), function(plugin) {
+Array.prototype.forEach.call(document.querySelectorAll("embed, object"), function(plugin) {
internals.forcePluginPlaceholder(plugin, templateContent);
});
</script>

Powered by Google App Engine
This is Rietveld 408576698