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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <script src="../resources/testharness.js"></script> 3 <script src="../resources/testharness.js"></script>
4 <script src="../resources/testharnessreport.js"></script> 4 <script src="../resources/testharnessreport.js"></script>
5 <body>
5 <script> 6 <script>
6 test(function() { 7 test(function() {
7 var obj = document.createElement("object"); 8 var obj = document.createElement("object");
9 obj.type = "application/x-blink-deprecated-test-plugin";
10 document.body.appendChild(obj);
8 obj.foo = 1; 11 obj.foo = 1;
9 assert_equals(obj.foo, 1, "Setting an expando on an <object> works"); 12 assert_equals(obj.foo, 1, "Setting an expando on an <object> works");
13 obj.foo = 2;
14 assert_equals(obj.foo, 2, "Repeatedly setting an expando on an <object> works" );
10 }, "setting an expando"); 15 }, "setting an expando");
11 </script> 16 </script>
17 </body>
OLDNEW
« 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