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

Side by Side 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script> 2 <script>
3 if (window.testRunner) 3 if (window.testRunner)
4 testRunner.dumpAsText(); 4 testRunner.dumpAsText();
5 5
6 function f() { 6 onload = function() {
7 divElem.appendChild(objElem); 7 divElem.appendChild(objElem);
8 objElem[''] = 42; 8 objElem[''] = 42;
9 } 9 }
10 </script> 10 </script>
11 <div id='divElem'></div> 11 <div id='divElem'></div>
12 <object id='objElem' type="text/javascript" onload='f()'></object> 12 <object id='objElem' type="text/javascript"></object>
13 <p>Test passes if it doesn't crash</p> 13 <p>Test passes if it doesn't crash</p>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698