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

Issue 654713002: Bypass Service Worker for favicon loads (Closed)

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

Description

Bypass Service Worker for favicon loads Since Service Workers can intercept off-origin requests for controlled pages, a controlled page at http://a.example.com/ that requests a favicon from http://b.example.com would give the SW the opportunity to taint the browser's favicon cache for http://b.example.com, While we determine how (or if) we should restructure the favicon cache, just bypass the SW for favicon loads. R=horo@chromium.org,mkwest@chromium.org,jochen@chromium.org BUG=422250 Committed: https://crrev.com/f82b4f6830ad16a3dd0c1bfa04f095426aa6ea25 Cr-Commit-Position: refs/heads/master@{#299744}

Patch Set 1 #

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

Messages

Total messages: 12 (2 generated)
horo
lgtm
6 years, 2 months ago (2014-10-14 02:13:51 UTC) #1
jsbell
jochen@ or mmenke@ - please take a look? (and cq if ok?) I haven't come ...
6 years, 2 months ago (2014-10-14 21:07:56 UTC) #3
falken
On 2014/10/14 21:07:56, jsbell wrote: > jochen@ or mmenke@ - please take a look? (and ...
6 years, 2 months ago (2014-10-15 02:14:56 UTC) #4
mmenke
On 2014/10/15 02:14:56, falken wrote: > On 2014/10/14 21:07:56, jsbell wrote: > > jochen@ or ...
6 years, 2 months ago (2014-10-15 13:54:14 UTC) #5
jsbell
On 2014/10/15 02:14:56, falken wrote: > I'm curious, does the patch work for both default ...
6 years, 2 months ago (2014-10-15 19:23:06 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/654713002/1
6 years, 2 months ago (2014-10-15 19:24:18 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
6 years, 2 months ago (2014-10-15 19:39:38 UTC) #9
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/f82b4f6830ad16a3dd0c1bfa04f095426aa6ea25 Cr-Commit-Position: refs/heads/master@{#299744}
6 years, 2 months ago (2014-10-15 19:40:31 UTC) #10
mmenke
On 2014/10/15 19:40:31, I haz the power (commit-bot) wrote: > Patchset 1 (id:??) landed as ...
6 years, 2 months ago (2014-10-15 20:23:04 UTC) #11
jsbell
6 years, 2 months ago (2014-10-15 20:33:21 UTC) #12
Message was sent while issue was closed.
On 2014/10/15 20:23:04, mmenke wrote:
> On 2014/10/15 19:40:31, I haz the power (commit-bot) wrote:
> > Patchset 1 (id:??) landed as
> > https://crrev.com/f82b4f6830ad16a3dd0c1bfa04f095426aa6ea25
> > Cr-Commit-Position: refs/heads/master@{#299744}
> 
> Oh, also, we should probably have a test for this - this is the kind of subtle
> thing that can easily regress during a refactoring, and go for decades with no
> one noticing it.

Agreed - see #3. I implemented a content_browsertest but the favicons weren't
fetched at all in that case :P. I'll see if a full blown browser_test exercises
things appropriately.

Powered by Google App Engine
This is Rietveld 408576698