Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
|
jochen (gone - plz use gerrit)
2014/05/21 09:20:11
where are the expected results?
mlamouri (slow - plz ping)
2014/05/21 16:27:55
testharness tests don't need expected files. They
| |
| 2 <html> | |
| 3 <body> | |
| 4 <script src="../resources/testharness.js"></script> | |
| 5 <script src="../resources/testharnessreport.js"></script> | |
| 6 <script> | |
| 7 | |
| 8 test(function() { | |
| 9 assert_true('language' in window.navigator); | |
|
jochen (gone - plz use gerrit)
2014/05/21 09:20:11
4spaces indent
mlamouri (slow - plz ping)
2014/05/21 16:27:55
Could Blink and Chrome just find an agreement here
| |
| 10 assert_false('languages' in window.navigator); | |
| 11 assert_true('onlanguagechange' in window); | |
| 12 }, "Test that NavigatorLanguage API is present in window"); | |
| 13 | |
| 14 // FIXME: test runner needs to be extended in order to test the feature. | |
| 15 | |
| 16 </script> | |
| 17 </body> | |
| 18 </html> | |
| OLD | NEW |