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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/WebIDL/ecmascript-binding/es-exceptions/DOMException-constants.html

Issue 2018873002: Fix testharness paths in imported/wpt/* except dom and html. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
OLDNEW
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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698