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

Side by Side Diff: LayoutTests/fast/dom/null-chardata-crash.html

Issue 106773003: Make arguments to Document methods non-optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <body> 2 <body>
3 <p>To pass, this test should not crash</p> 3 <p>To pass, this test should not crash</p>
4 <script> 4 <script>
5 if (window.testRunner) 5 if (window.testRunner)
6 window.testRunner.dumpAsText(); 6 window.testRunner.dumpAsText();
7 7
8 var o = document.createTextNode(); 8 var o = document.createTextNode('');
9 try { 9 try {
10 o.data = null; 10 o.data = null;
11 o.splitText(1); 11 o.splitText(1);
12 } catch (e) {} 12 } catch (e) {}
13 </script> 13 </script>
14 </body> 14 </body>
15 </html> 15 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/normalize-attributes-mutation-event-crash.html ('k') | LayoutTests/fast/dom/wrapper-classes.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698