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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/storage_in.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_in.html
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/storage_in.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/storage_in.html
deleted file mode 100644
index bf717700648fe76256bda4047782b71e9ad1043c..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/storage_in.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<!DOCTYPE HTML>
-<meta charset=utf-8>
-<title>WebStorage Test: Storage - in operator</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_false("name" in storage);
- storage["name"] = "user1";
- assert_true("name" in storage);
- }, "The in operator in " + name + ": property access");
-
- test(function() {
- var storage = window[name];
- storage.clear();
-
- assert_false("name" in storage);
- storage.setItem("name", "user1");
- assert_true("name" in storage);
- assert_equals(storage.name, "user1");
- storage.removeItem("name");
- assert_false("name" in storage);
- }, "The in operator in " + name + ": method access");
-});
-</script>

Powered by Google App Engine
This is Rietveld 408576698