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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/storage_local_setitem_quotaexceedederr.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_local_setitem_quotaexceedederr.html
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/storage_local_setitem_quotaexceedederr.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/storage_local_setitem_quotaexceedederr.html
deleted file mode 100644
index 8fe0f3a053e4e59a5e774c676512a1374285ff14..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/storage_local_setitem_quotaexceedederr.html
+++ /dev/null
@@ -1,31 +0,0 @@
-<!DOCTYPE HTML>
-<html>
- <head>
- <title>WebStorage Test: localStorage - setItem throws QuotaExceededError</title>
- <meta name="timeout" content="long">
- <script src="../../../resources/testharness.js"></script>
- <script src="../../../resources/testharnessreport.js"></script>
- </head>
- <body>
- <h1>storage_local_setItem_QUOTA_EXCEEDED_ERR</h1>
- <div id="log"></div>
- <script>
- test(function() {
- localStorage.clear();
-
- var index = 0;
- var key = "name";
- var val = "x".repeat(1024);
-
- assert_throws("QUOTA_EXCEEDED_ERR", function() {
- while (true) {
- index++;
- localStorage.setItem("" + key + index, "" + val + index);
- }
- });
-
- localStorage.clear();
- }, "Throws QuotaExceededError when the quota has been exceeded");
- </script>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698