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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/storage_builtins.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/webstorage/storage_builtins.html
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/storage_builtins.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/storage_builtins.html
deleted file mode 100644
index d3271e1fbac99b2aa65b22fb27d63e9984d3f057..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/storage_builtins.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<!DOCTYPE HTML>
-<meta charset=utf-8>
-<title>WebStorage Test: Storage - builtins</title>
-<script src="../../../resources/testharness.js"></script>
-<script src="../../../resources/testharnessreport.js"></script>
-<div id="log"></div>
-<script>
-["localStorage", "sessionStorage"].forEach(function(name) {
- test(function() {
- var storage = window[name];
- storage.clear();
- assert_equals(storage.length, 0, "storage.length");
-
- var builtins = ["key", "getItem", "setItem", "removeItem", "clear"];
- var origBuiltins = builtins.map(function(b) { return Storage.prototype[b]; });
- assert_array_equals(builtins.map(function(b) { return storage[b]; }), origBuiltins, "a");
- builtins.forEach(function(b) { storage[b] = b; });
- assert_array_equals(builtins.map(function(b) { return storage[b]; }), origBuiltins, "b");
- assert_array_equals(builtins.map(function(b) { return storage.getItem(b); }), builtins, "c");
-
- assert_equals(storage.length, builtins.length, "storage.length");
- }, "Builtins in " + name);
-});
-</script>

Powered by Google App Engine
This is Rietveld 408576698