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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/WebIDL/ecmascript-binding/es-exceptions/DOMException-constants.html

Issue 1979363002: Moved web-platform-tests to wpt. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/WebIDL/ecmascript-binding/es-exceptions/DOMException-constants.html
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/WebIDL/ecmascript-binding/es-exceptions/DOMException-constants.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/WebIDL/ecmascript-binding/es-exceptions/DOMException-constants.html
deleted file mode 100644
index ffe361c4b0c4dfe97ed3f63ce62a879eecf884c7..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/WebIDL/ecmascript-binding/es-exceptions/DOMException-constants.html
+++ /dev/null
@@ -1,59 +0,0 @@
-<!doctype html>
-<meta charset=utf-8>
-<title>DOMException constants</title>
-<link rel=help href="https://heycam.github.io/webidl/#es-DOMException-constructor-object">
-<link rel=help href="https://heycam.github.io/webidl/#es-DOMException-prototype-object">
-<script src="../../../../../resources/testharness.js"></script>
-<script src="../../../../../resources/testharnessreport.js"></script>
-<div id="log"></div>
-<script>
-test(function() {
- // https://www.w3.org/Bugs/Public/show_bug.cgi?id=27732
- var constants = [
- "INDEX_SIZE_ERR",
- "DOMSTRING_SIZE_ERR",
- "HIERARCHY_REQUEST_ERR",
- "WRONG_DOCUMENT_ERR",
- "INVALID_CHARACTER_ERR",
- "NO_DATA_ALLOWED_ERR",
- "NO_MODIFICATION_ALLOWED_ERR",
- "NOT_FOUND_ERR",
- "NOT_SUPPORTED_ERR",
- "INUSE_ATTRIBUTE_ERR",
- "INVALID_STATE_ERR",
- "SYNTAX_ERR",
- "INVALID_MODIFICATION_ERR",
- "NAMESPACE_ERR",
- "INVALID_ACCESS_ERR",
- "VALIDATION_ERR",
- "TYPE_MISMATCH_ERR",
- "SECURITY_ERR",
- "NETWORK_ERR",
- "ABORT_ERR",
- "URL_MISMATCH_ERR",
- "QUOTA_EXCEEDED_ERR",
- "TIMEOUT_ERR",
- "INVALID_NODE_TYPE_ERR",
- "DATA_CLONE_ERR"
- ]
- var objects = [
- [DOMException, "DOMException constructor object"],
- [DOMException.prototype, "DOMException prototype object"]
- ]
- constants.forEach(function(name, i) {
- objects.forEach(function(o) {
- var object = o[0], description = o[1];
- test(function() {
- assert_equals(object[name], i + 1, name)
- assert_own_property(object, name)
- var pd = Object.getOwnPropertyDescriptor(object, name)
- assert_false("get" in pd, "property has getter")
- assert_false("set" in pd, "property has setter")
- assert_false(pd.writable, "not writable")
- assert_true(pd.enumerable, "enumerable")
- assert_false(pd.configurable, "not configurable")
- }, "Constant " + name + " on " + description)
- })
- })
-})
-</script>

Powered by Google App Engine
This is Rietveld 408576698