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

Side by Side Diff: LayoutTests/fast/inspector-support/uncaught-dom1-exception.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 <head> 2 <head>
3 <script> 3 <script>
4 4
5 function onload() 5 function onload()
6 { 6 {
7 if (window.testRunner) 7 if (window.testRunner)
8 testRunner.dumpAsText(); 8 testRunner.dumpAsText();
9 9
10 // Following code generates an exception. 10 // Following code generates an exception.
11 var p = document.createTextNode(); 11 var p = document.createTextNode('');
12 p.textContent = "foo"; 12 p.textContent = "foo";
13 p.splitText(10000); 13 p.splitText(10000);
14 } 14 }
15 15
16 </script> 16 </script>
17 </head> 17 </head>
18 18
19 <body onload="onload()"> 19 <body onload="onload()">
20 <p> 20 <p>
21 This tests that we are getting the correct message for DOM Exception 1: INDEX_SI ZE_ERR. 21 This tests that we are getting the correct message for DOM Exception 1: INDEX_SI ZE_ERR.
22 </p> 22 </p>
23 23
24 </body> 24 </body>
25 </html> 25 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/basic-textareas.html ('k') | LayoutTests/fast/inspector-support/uncaught-dom3-exception.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698