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/external/wpt/workers/data-url-shared.html

Issue 2697003002: Fix incorrect tests for storage APIs in data: URL workers (Closed)
Patch Set: Created 3 years, 10 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/external/wpt/workers/data-url-shared.html
diff --git a/third_party/WebKit/LayoutTests/external/wpt/workers/data-url-shared.html b/third_party/WebKit/LayoutTests/external/wpt/workers/data-url-shared.html
index 05d3b5138b99d7949d04b088ef42b61e741d89d4..fcde3586137105a8bd2c41a54d78792da1b41090 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/workers/data-url-shared.html
+++ b/third_party/WebKit/LayoutTests/external/wpt/workers/data-url-shared.html
@@ -28,8 +28,8 @@ assert_worker_sends_pass('communication goes both ways', 'application/javascript
// 'data:' workers are cross-origin
assert_worker_throws('indexedDB inaccessible', 'self.indexedDB.open("someDBName")');
-assert_worker_throws('localStorage inaccessible', 'self.localStorage.testItem');
assert_worker_sends_pass('cross-origin worker', '', 'fetch("/").then(() => port.postMessage("FAIL"), () => port.postMessage("PASS"))');
+assert_worker_throws('websql inaccessible', 'self.openDatabase("someDBName", "1.0", "someDBName", 1);');
jochen (gone - plz use gerrit) 2017/02/15 08:50:41 the official name is WebDatabase
andypaicu2 2017/02/15 09:10:54 Changed name to the title in the specs: Web SQL Da
// 'data:' workers have opaque origin
assert_worker_sends_pass('worker has opaque origin', 'application/javascript', 'if (self.location.origin == "null") port.postMessage("PASS"); else port.postMessage("FAIL");');

Powered by Google App Engine
This is Rietveld 408576698