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

Unified Diff: content/worker/websharedworkerclient_proxy.cc

Issue 55433006: Explicitly reject storage access if requesting security origin is unique (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | « content/worker/shared_worker_permission_client_proxy.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/worker/websharedworkerclient_proxy.cc
diff --git a/content/worker/websharedworkerclient_proxy.cc b/content/worker/websharedworkerclient_proxy.cc
index 29b977b63076801cbeba86c9646f425374cead32..769b201ccde5bb0da1511336c65af6c3b87beb0a 100644
--- a/content/worker/websharedworkerclient_proxy.cc
+++ b/content/worker/websharedworkerclient_proxy.cc
@@ -81,10 +81,8 @@ WebApplicationCacheHost* WebSharedWorkerClientProxy::createApplicationCacheHost(
WebKit::WebWorkerPermissionClientProxy*
WebSharedWorkerClientProxy::createWorkerPermissionClientProxy(
const WebKit::WebSecurityOrigin& origin) {
- if (origin.isUnique())
- return NULL;
michaeln 2013/11/01 18:22:46 right... no proxy means "allowed" by default which
return new SharedWorkerPermissionClientProxy(
- GURL(origin.toString()), route_id_,
+ GURL(origin.toString()), origin.isUnique(), route_id_,
ChildThread::current()->thread_safe_sender());
}
« no previous file with comments | « content/worker/shared_worker_permission_client_proxy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698