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

Side by Side Diff: LayoutTests/fast/dom/element-attribute-js-null.html

Issue 123833005: Limit HTMLKeygenElement.keytype to only known values. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased + updated reflect attribute syntax to current Created 6 years, 11 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 <html> 1 <html>
2 <head> 2 <head>
3 <style type="text/css"> 3 <style type="text/css">
4 .pass { color: green; } 4 .pass { color: green; }
5 .fail { color: red; } 5 .fail { color: red; }
6 </style> 6 </style>
7 <script> 7 <script>
8 function printOut(msg) 8 function printOut(msg)
9 { 9 {
10 var console = document.getElementById("console"); 10 var console = document.getElementById("console");
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 elementToUse: document.createElement('input'), 385 elementToUse: document.createElement('input'),
386 attributes: [ 386 attributes: [
387 {name: 'value', expectedNull: ''} 387 {name: 'value', expectedNull: ''}
388 ] 388 ]
389 }, 389 },
390 { 390 {
391 type: 'HTMLKeygenElement', 391 type: 'HTMLKeygenElement',
392 elementToUse: document.createElement('keygen'), 392 elementToUse: document.createElement('keygen'),
393 attributes: [ 393 attributes: [
394 {name: 'challenge', expectedNull: 'null'}, 394 {name: 'challenge', expectedNull: 'null'},
395 {name: 'keytype', expectedNull: 'null'}, 395 {name: 'keytype', expectedNull: ''},
396 {name: 'name', expectedNull: 'null'} 396 {name: 'name', expectedNull: 'null'}
397 ] 397 ]
398 }, 398 },
399 { 399 {
400 type: 'HTMLLabelElement', 400 type: 'HTMLLabelElement',
401 elementToUse: document.createElement('label'), 401 elementToUse: document.createElement('label'),
402 attributes: [ 402 attributes: [
403 {name: 'htmlFor', expectedNull: 'null'} 403 {name: 'htmlFor', expectedNull: 'null'}
404 ] 404 ]
405 }, 405 },
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
719 printOut(''); 719 printOut('');
720 } 720 }
721 } 721 }
722 </script> 722 </script>
723 </head> 723 </head>
724 <body onload="runTests()"> 724 <body onload="runTests()">
725 <p>This test setting various attributes of a elements to JavaScript null.</p > 725 <p>This test setting various attributes of a elements to JavaScript null.</p >
726 <div id="console"></div> 726 <div id="console"></div>
727 </body> 727 </body>
728 </html> 728 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698