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

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

Issue 2496133002: DOM: Remove standard-violating optimizations in appendChild, insertBefore, and replaceChild. (Closed)
Patch Set: . Created 3 years, 10 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: 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
index f7b9775b7b13dc626ec376a8b37d894918f7bdef..1e4f213dfd647ba2b37c4f02e59ba564cdc6d0e7 100644
--- a/third_party/WebKit/LayoutTests/plugins/reattach-plugin-during-access.html
+++ b/third_party/WebKit/LayoutTests/plugins/reattach-plugin-during-access.html
@@ -3,11 +3,11 @@
if (window.testRunner)
testRunner.dumpAsText();
-function f() {
+onload = function() {
divElem.appendChild(objElem);
objElem[''] = 42;
}
</script>
<div id='divElem'></div>
-<object id='objElem' type="text/javascript" onload='f()'></object>
+<object id='objElem' type="text/javascript"></object>
<p>Test passes if it doesn't crash</p>

Powered by Google App Engine
This is Rietveld 408576698