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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/dom/elements/global-attributes/dataset-prototype.html

Issue 1991613002: Move the html directory from web-platform-tests/ to wpt/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased 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/html/dom/elements/global-attributes/dataset-prototype.html
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/dom/elements/global-attributes/dataset-prototype.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/dom/elements/global-attributes/dataset-prototype.html
deleted file mode 100644
index 290c62ef26afc9e9d133f374c0f8c307e112867b..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/dom/elements/global-attributes/dataset-prototype.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <title>Dataset - element.dataset is an instance of DOMStringMap</title>
- <script src="../../../../../../resources/testharness.js"></script>
- <script src="../../../../../../resources/testharnessreport.js"></script>
- </head>
- <body>
- <h1>Dataset - element.dataset is an instance of DOMStringMap</h1>
- <div id="log"></div>
- <script>
- test(function() { assert_true(document.createElement("div").dataset instanceof window.DOMStringMap); },
- "An elements dataset property is an instance of a DOMStringMap");
- test(function() {
- var dataset = document.createElement("div").dataset;
- assert_true("toString" in dataset, '"toString" in dataset');
- assert_equals(dataset.toString, Object.prototype.toString);
- assert_false("expando" in dataset, '"expando" in dataset');
- assert_equals(dataset.expando, undefined);
- Object.prototype.expando = 42;
- assert_true("expando" in dataset, '"expando" in dataset');
- assert_equals(dataset.expando, 42);
- }, "Properties on Object.prototype should shine through.");
- </script>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698