| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <meta charset=utf-8> | 2 <meta charset=utf-8> |
| 3 <title>DOMException constants</title> | 3 <title>DOMException constants</title> |
| 4 <link rel=help href="https://heycam.github.io/webidl/#es-DOMException-constructo
r-object"> | 4 <link rel=help href="https://heycam.github.io/webidl/#es-DOMException-constructo
r-object"> |
| 5 <link rel=help href="https://heycam.github.io/webidl/#es-DOMException-prototype-
object"> | 5 <link rel=help href="https://heycam.github.io/webidl/#es-DOMException-prototype-
object"> |
| 6 <script src="../../../../../resources/testharness.js"></script> | 6 <script src="/resources/testharness.js"></script> |
| 7 <script src="../../../../../resources/testharnessreport.js"></script> | 7 <script src="/resources/testharnessreport.js"></script> |
| 8 <div id="log"></div> | 8 <div id="log"></div> |
| 9 <script> | 9 <script> |
| 10 test(function() { | 10 test(function() { |
| 11 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=27732 | 11 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=27732 |
| 12 var constants = [ | 12 var constants = [ |
| 13 "INDEX_SIZE_ERR", | 13 "INDEX_SIZE_ERR", |
| 14 "DOMSTRING_SIZE_ERR", | 14 "DOMSTRING_SIZE_ERR", |
| 15 "HIERARCHY_REQUEST_ERR", | 15 "HIERARCHY_REQUEST_ERR", |
| 16 "WRONG_DOCUMENT_ERR", | 16 "WRONG_DOCUMENT_ERR", |
| 17 "INVALID_CHARACTER_ERR", | 17 "INVALID_CHARACTER_ERR", |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 assert_false("get" in pd, "property has getter") | 50 assert_false("get" in pd, "property has getter") |
| 51 assert_false("set" in pd, "property has setter") | 51 assert_false("set" in pd, "property has setter") |
| 52 assert_false(pd.writable, "not writable") | 52 assert_false(pd.writable, "not writable") |
| 53 assert_true(pd.enumerable, "enumerable") | 53 assert_true(pd.enumerable, "enumerable") |
| 54 assert_false(pd.configurable, "not configurable") | 54 assert_false(pd.configurable, "not configurable") |
| 55 }, "Constant " + name + " on " + description) | 55 }, "Constant " + name + " on " + description) |
| 56 }) | 56 }) |
| 57 }) | 57 }) |
| 58 }) | 58 }) |
| 59 </script> | 59 </script> |
| OLD | NEW |