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

Side by Side Diff: LayoutTests/fast/files/blob-builder-crash.html

Issue 7134095: Merge 88510 - Calling WebKitBlobBuilder.append with null argument should not crash (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/742/
Patch Set: Created 9 years, 6 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
« no previous file with comments | « no previous file | LayoutTests/fast/files/blob-builder-crash-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script> 4 <script>
5 function log(message) 5 function log(message)
6 { 6 {
7 document.getElementById('console').appendChild(document.createTextNode(messa ge + "\n")); 7 document.getElementById('console').appendChild(document.createTextNode(messa ge + "\n"));
8 } 8 }
9 9
10 function test() 10 function test()
11 { 11 {
12 log("Test that calling WebKitBlobBuilder.append with null value should not c ause crash."); 12 log("Test that calling WebKitBlobBuilder.append with null value should not c ause crash.");
13 var builder = new WebKitBlobBuilder(); 13 var builder = new WebKitBlobBuilder();
14 builder.append(null); 14 builder.append(null);
15 15
16 log("DONE"); 16 log("DONE");
17 } 17 }
18 18
19 if (window.layoutTestController) 19 if (window.layoutTestController)
20 layoutTestController.dumpAsText(); 20 layoutTestController.dumpAsText();
21 </script> 21 </script>
22 </head> 22 </head>
23 <body onload="test()"> 23 <body onload="test()">
24 <pre id='console'></pre> 24 <pre id='console'></pre>
25 </body> 25 </body>
26 </html> 26 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/files/blob-builder-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698