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

Unified Diff: third_party/WebKit/LayoutTests/plugins/reattach-plugin-during-access.html

Issue 2566663002: Better handle non-existant wrappers when intercepting writes to plugin objects (Closed)
Patch Set: updates Created 4 years 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/plugins/reattach-plugin-during-access.html
diff --git a/third_party/WebKit/LayoutTests/plugins/reattach-plugin-during-access.html b/third_party/WebKit/LayoutTests/plugins/reattach-plugin-during-access.html
new file mode 100644
index 0000000000000000000000000000000000000000..f7b9775b7b13dc626ec376a8b37d894918f7bdef
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/plugins/reattach-plugin-during-access.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText();
+
+function f() {
+ divElem.appendChild(objElem);
+ objElem[''] = 42;
+}
+</script>
+<div id='divElem'></div>
+<object id='objElem' type="text/javascript" onload='f()'></object>
+<p>Test passes if it doesn't crash</p>

Powered by Google App Engine
This is Rietveld 408576698