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: third_party/WebKit/LayoutTests/fast/forms/setCustomValidity-arguments.html

Issue 2536993002: Remove support for the keygen tag (Closed)
Patch Set: Rebased Created 3 years, 12 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
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../resources/js-test.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <p id="description"></p> 7 <p id="description"></p>
8 <div id="console"></div> 8 <div id="console"></div>
9 <script> 9 <script>
10 description('Test how setCustomValidity reacts to too few arguments.'); 10 description('Test how setCustomValidity reacts to too few arguments.');
11 var b = document.createElement('button'); 11 var b = document.createElement('button');
12 shouldThrow("b.setCustomValidity()"); 12 shouldThrow("b.setCustomValidity()");
13 var fs = document.createElement('fieldset'); 13 var fs = document.createElement('fieldset');
14 shouldThrow("fs.setCustomValidity()"); 14 shouldThrow("fs.setCustomValidity()");
15 var i = document.createElement('input'); 15 var i = document.createElement('input');
16 shouldThrow("i.setCustomValidity()"); 16 shouldThrow("i.setCustomValidity()");
17 var k = document.createElement('keygen');
18 shouldThrow("k.setCustomValidity()");
19 successfullyParsed = true;
20 </script> 17 </script>
21 </body> 18 </body>
22 </html> 19 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698