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

Unified Diff: third_party/WebKit/LayoutTests/fast/workers/resources/storagequota-query-usage.js

Issue 1896043002: WorkerNavigator: Remove deprecated Quota Management API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update comment in IDL. Created 4 years, 8 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/workers/resources/worker-storagequota-query-usage.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/workers/resources/storagequota-query-usage.js
diff --git a/third_party/WebKit/LayoutTests/fast/workers/resources/storagequota-query-usage.js b/third_party/WebKit/LayoutTests/fast/workers/resources/storagequota-query-usage.js
deleted file mode 100644
index a761035e504e8e784665f7be2bd2fa6d989ad98f..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/workers/resources/storagequota-query-usage.js
+++ /dev/null
@@ -1,28 +0,0 @@
-
-description("This tests querying usage and quota using Quota API.");
-
-if (navigator.webkitTemporaryStorage) {
- window.jsTestIsAsync = true;
- // navigator.webkitTemporaryStorage.queryUsageAndQuota(usageCallback, errorCallback);
-}
-
-var worker = createWorker();
-
-worker.postMessage("ping");
-worker.postMessage("eval importScripts('worker-storagequota-query-usage.js');");
-worker.postMessage("eval requestUsage(self.port || self)");
-worker.onmessage = function(evt) {
- var match = /^result:(.*)/.exec(evt.data);
- if (match) {
- usageData = JSON.parse(match[1]);
-
- // Quota value would vary depending on the test environment.
- shouldBeGreaterThanOrEqual("usageData.usage", "0");
- shouldBeGreaterThanOrEqual("usageData.quota", "usageData.usage");
-
- worker.postMessage("close");
- finishJSTest();
- }
-};
-
-window.successfullyParsed = true;
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/workers/resources/worker-storagequota-query-usage.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698