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

Side by Side Diff: LayoutTests/fast/dom/set-custom-validity-with-too-few-arguments.html

Issue 48903019: Delete js-test-post.js. (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 <script src="../js/resources/js-test-pre.js"></script> 4 <script src="../js/resources/js-test-pre.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 description('Test how setCustomValidity reacts to too few arguments.'); 8 description('Test how setCustomValidity reacts to too few arguments.');
9 9
10 var b = document.createElement('button'); 10 var b = document.createElement('button');
11 shouldThrow("b.setCustomValidity()"); 11 shouldThrow("b.setCustomValidity()");
12 12
13 var fs = document.createElement('fieldset'); 13 var fs = document.createElement('fieldset');
14 shouldThrow("fs.setCustomValidity()"); 14 shouldThrow("fs.setCustomValidity()");
15 15
16 var i = document.createElement('input'); 16 var i = document.createElement('input');
17 shouldThrow("i.setCustomValidity()"); 17 shouldThrow("i.setCustomValidity()");
18 18
19 var k = document.createElement('keygen'); 19 var k = document.createElement('keygen');
20 shouldThrow("k.setCustomValidity()"); 20 shouldThrow("k.setCustomValidity()");
21 </script> 21 </script>
22 <script src="../js/resources/js-test-post.js"></script>
23 </body> 22 </body>
24 </html> 23 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698