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

Issue 606993002: [ServiceWorker] Set setSkipServiceWorker flag of the request from plugins with private permission. (Closed)

Created:
6 years, 2 months ago by horo
Modified:
6 years, 2 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, serviceworker-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[ServiceWorker] Set setSkipServiceWorker flag of the request from plugins with private permission. The plugins with private permission such as Flash plugin can bypass same origin checking by calling URLLoaderResource::GrantUniversalAccess(). They have their own origin checking logic (ex:cross-origin.xml). If ServiceWorker can intercept the HTTP requests from them, they can be misled. So ServiceWorker must be disabled for such plugins. These plugins have PERMISSION_PRIVATE permissions. - PDF Viewer - Google Talk Plugin Video Renderer - Google Talk Effects Plugin - Google Talk Plugin - Chrome Remote Desktop Viewer - Pepper Flash - Widevine Cdm Plugin BUG=413094 Committed: https://crrev.com/69354ff099fcff76361bc74c1abe41b6f45de188 Cr-Commit-Position: refs/heads/master@{#297396}

Patch Set 1 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M content/renderer/pepper/pepper_url_loader_host.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
horo
michaeln@ Could you please review this?
6 years, 2 months ago (2014-09-26 04:42:52 UTC) #3
michaeln
lgtm i think we really only need to prevent hooking xorigin requests but +1 to ...
6 years, 2 months ago (2014-09-29 21:49:44 UTC) #4
michaeln
Hmmm... what about webplugin_impl.cc and plugin_url_fetcher.cc, it looks like those also creates url loaders on ...
6 years, 2 months ago (2014-09-29 22:16:15 UTC) #5
horo
On 2014/09/29 22:16:15, michaeln wrote: > Hmmm... what about webplugin_impl.cc and plugin_url_fetcher.cc, it looks like ...
6 years, 2 months ago (2014-09-30 04:52:49 UTC) #6
horo
jochen@ Could you please review this?
6 years, 2 months ago (2014-09-30 04:53:21 UTC) #8
jochen (gone - plz use gerrit)
lgtm
6 years, 2 months ago (2014-09-30 08:42:20 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/606993002/20001
6 years, 2 months ago (2014-09-30 09:00:37 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:20001) as dd3af7b24992aae23c438d26deafdd04cff30039
6 years, 2 months ago (2014-09-30 10:09:28 UTC) #12
commit-bot: I haz the power
6 years, 2 months ago (2014-09-30 10:10:04 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/69354ff099fcff76361bc74c1abe41b6f45de188
Cr-Commit-Position: refs/heads/master@{#297396}

Powered by Google App Engine
This is Rietveld 408576698