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

Side by Side Diff: webkit/data/layout_tests/chrome/fast/dom/htmloptionscollection_call_as_function.html

Issue 55025: Remove tests that have been upstreamed. Update test_expectations list... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 8 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <body>
3
4 <select id='s'>
5 <option id='o0'>o0</option>
6 <option id='o1'>o1</option>
7 </select>
8
9 <script>
10 if (window.layoutTestController) {
11 layoutTestController.dumpAsText();
12 }
13
14 var select = document.getElementById('s');
15 var options = select.options;
16
17 try {
18 var o0 = options(0);
19 var o1 = options(1);
20 if (document.getElementById('o0') == o0 &&
21 document.getElementById('o1') == o1) {
22 document.write('PASS');
23 } else {
24 document.write('FAIL');
25 }
26 } catch(e) {
27 document.write('FAIL: threw exception ' + e);
28 }
29 </script>
30
31 </body>
32 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698