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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/storage_clear.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_clear.html
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/storage_clear.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/storage_clear.html
deleted file mode 100644
index e2dd196f5cee98c459eab15d83dc0a222d590368..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/storage_clear.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<!DOCTYPE HTML>
-<meta charset=utf-8>
-<title>WebStorage Test: Storage - clear()</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();
-
- storage.setItem("name", "user1");
- assert_equals(storage.getItem("name"), "user1");
- assert_equals(storage.name, "user1");
- assert_equals(storage.length, 1);
-
- storage.clear();
- assert_equals(storage.getItem("name"), null, "storage.getItem('name')");
- assert_equals(storage.name, undefined, "storage.name");
- assert_equals(storage.length, 0, "storage.length");
- }, "Clear in " + name);
-});
-</script>

Powered by Google App Engine
This is Rietveld 408576698