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

Side by Side Diff: LayoutTests/fast/forms/select/options-indexed-properties.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="../../../fast/js/resources/js-test-pre.js"></script> 4 <script src="../../../fast/js/resources/js-test-pre.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <select id="select1"> 7 <select id="select1">
8 <option value="a">A</option> 8 <option value="a">A</option>
9 <option value="b">B</option> 9 <option value="b">B</option>
10 </select> 10 </select>
11 <div id="console"></div> 11 <div id="console"></div>
12 12
13 <script> 13 <script>
14 description("https://bugs.webkit.org/show_bug.cgi?id=85937 - [Chromium][Forms] H TMLOptionsCollection doesn't have indexed properties on property enumeration"); 14 description("https://bugs.webkit.org/show_bug.cgi?id=85937 - [Chromium][Forms] H TMLOptionsCollection doesn't have indexed properties on property enumeration");
15 var properties = {}; 15 var properties = {};
16 var select1 = document.getElementById("select1"); 16 var select1 = document.getElementById("select1");
17 var options = select1.options; 17 var options = select1.options;
18 for (var propertyKey in options) { 18 for (var propertyKey in options) {
19 properties[propertyKey] = options[propertyKey]; 19 properties[propertyKey] = options[propertyKey];
20 } 20 }
21 shouldBeEqualToString('properties[0].value', "a"); 21 shouldBeEqualToString('properties[0].value', "a");
22 shouldBeEqualToString('properties[1].value', "b"); 22 shouldBeEqualToString('properties[1].value', "b");
23 </script> 23 </script>
24 24
25 <script src="../../../fast/js/resources/js-test-post.js"></script>
26 </body> 25 </body>
27 </html> 26 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/select/option-selecting.html ('k') | LayoutTests/fast/forms/select/popup-closes-on-blur.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698