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

Side by Side Diff: LayoutTests/fast/forms/image/image-error-event-modifies-type-crash.html

Issue 12573007: Merge 145423 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1410/
Patch Set: Created 7 years, 9 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/forms/image/image-error-event-modifies-type-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 <body> 3 <body>
4 <script> 4 <script>
5 if (window.testRunner) { 5 if (window.testRunner) {
6 testRunner.waitUntilDone(); 6 testRunner.waitUntilDone();
7 testRunner.dumpAsText(); 7 testRunner.dumpAsText();
8 } 8 }
9 function eventhandler() { 9 function eventhandler() {
10 inputNode = document.getElementById("imageInput"); 10 inputNode = document.getElementById("imageInput");
11 inputNode.type = ""; 11 inputNode.type = "";
12 setTimeout("cleanup()", 10); 12 setTimeout("cleanup()", 10);
13 } 13 }
14 14
15 function cleanup() { 15 function cleanup() {
16 if (window.testRunner) 16 if (window.testRunner)
17 { 17 {
18 testRunner.notifyDone(); 18 testRunner.notifyDone();
19 } 19 }
20 } 20 }
21 </script> 21 </script>
22 <input> 22 <input>
23 <input id="imageInput" type="image" onerror="eventhandler()" src="http://1 27.0.0.1/not-likely-to-be-found.html" /> 23 <input id="imageInput" type="image" onerror="eventhandler()" src="http://1 27.0.0.1/not-likely-to-be-found.html" />
24 </input> 24 </input>
25 Test Passes if it does not crash. 25 Test Passes if it does not crash.
26 </body> 26 </body>
27 </html> 27 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/forms/image/image-error-event-modifies-type-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698