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

Side by Side Diff: LayoutTests/fast/html/input-type-change-crash.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <script src="../js/resources/js-test-pre.js"></script> 5 <script src="../../resources/js-test.js"></script>
6 </head> 6 </head>
7 <body> 7 <body>
8 <input type="text"/> 8 <input type="text"/>
9 <script> 9 <script>
10 10
11 description("This test checks that changing the 'type' attribute on an input ele ment without a 'value' attribute doesn't crash."); 11 description("This test checks that changing the 'type' attribute on an input ele ment without a 'value' attribute doesn't crash.");
12 12
13 var inputElement = document.getElementsByTagName("input")[0]; 13 var inputElement = document.getElementsByTagName("input")[0];
14 14
15 shouldBe("inputElement.type", "'text'"); 15 shouldBe("inputElement.type", "'text'");
16 inputElement.type = 'submit'; 16 inputElement.type = 'submit';
17 shouldBe("inputElement.type", "'submit'"); 17 shouldBe("inputElement.type", "'submit'");
18 18
19 document.body.removeChild(inputElement); 19 document.body.removeChild(inputElement);
20 20
21 </script> 21 </script>
22 </body> 22 </body>
23 </html> 23 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/html/imports/sub-imports-onload.html ('k') | LayoutTests/fast/html/main-element.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698