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

Unified Diff: third_party/WebKit/LayoutTests/plugins/simple-expando.html

Issue 2745483002: Ensure that we can repeatedly set an expando on a plugin object (Closed)
Patch Set: Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLPlugInElementCustom.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/plugins/simple-expando.html
diff --git a/third_party/WebKit/LayoutTests/plugins/simple-expando.html b/third_party/WebKit/LayoutTests/plugins/simple-expando.html
index 3a5ef971e0d2768d91fa5195b3611cd85d1e4adf..4a1000a4dd17d10378a70d98b1bb8144ee32ac5c 100644
--- a/third_party/WebKit/LayoutTests/plugins/simple-expando.html
+++ b/third_party/WebKit/LayoutTests/plugins/simple-expando.html
@@ -2,10 +2,16 @@
<html>
<script src="../resources/testharness.js"></script>
<script src="../resources/testharnessreport.js"></script>
+<body>
<script>
test(function() {
var obj = document.createElement("object");
+ obj.type = "application/x-blink-deprecated-test-plugin";
+ document.body.appendChild(obj);
obj.foo = 1;
assert_equals(obj.foo, 1, "Setting an expando on an <object> works");
+ obj.foo = 2;
+ assert_equals(obj.foo, 2, "Repeatedly setting an expando on an <object> works");
}, "setting an expando");
</script>
+</body>
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLPlugInElementCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698