OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <script src="../resources/testharness.js"></script> | 2 <script src="../resources/testharness.js"></script> |
3 <script src="../resources/testharnessreport.js"></script> | 3 <script src="../resources/testharnessreport.js"></script> |
4 <script src="resources/property-parsing-test.js"></script> | 4 <script src="resources/property-parsing-test.js"></script> |
5 <script> | 5 <script> |
6 assert_valid_value("counterIncrement", "hello world 999", "hello 1, world 999"); | 6 assert_valid_value("counterIncrement", "hello world 999", "hello 1 world 999"); |
| 7 assert_valid_value("counterIncrement", "a 1234567"); |
7 assert_invalid_value("counterIncrement", 'hello "world"'); | 8 assert_invalid_value("counterIncrement", 'hello "world"'); |
8 assert_invalid_value("counterIncrement", "40"); | 9 assert_invalid_value("counterIncrement", "40"); |
9 assert_invalid_value("counterReset", 'c 10 20'); | 10 assert_invalid_value("counterReset", 'c 10 20'); |
10 assert_invalid_value("counterReset", "c + 5"); | 11 assert_invalid_value("counterReset", "c + 5"); |
11 </script> | 12 </script> |
OLD | NEW |