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

Issue 1772303002: CORS-RFC1918: Teach appcache responses to passthrough their socket address. (Closed)

Created:
4 years, 9 months ago by Mike West
Modified:
4 years, 9 months ago
CC:
blink-reviews, chromium-reviews, darin-cc_chromium.org, jam, michaeln
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

CORS-RFC1918: Teach appcache responses to passthrough their socket address. In order to do the right thing for external requests and preflights, we need to teach AppCacheURLRequestJob to passthrough the IP address of the cached request. This is especially important for main resources, as those control whether or not preflights are necessary. This patch overrides the default 'GetSocketAddress' method to pass through the socket address stored along with the AppCacheEntry object, and ensures that the socket address is propegated for synchronous requests. Layout tests verify that this results in a main resource whose 'document.addressSpace' is accurate. BUG=591672 Committed: https://crrev.com/b035ad2b4894c007b5580c8da151dca8ad550975 Cr-Commit-Position: refs/heads/master@{#379805}

Patch Set 1 #

Patch Set 2 : Test. #

Messages

Total messages: 9 (4 generated)
Mike West
Mind taking a look at this, Jochen? It introduces basically no behavioral change in AppCache, ...
4 years, 9 months ago (2016-03-08 09:41:08 UTC) #2
jochen (gone - plz use gerrit)
lgtm
4 years, 9 months ago (2016-03-08 09:42:18 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1772303002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1772303002/20001
4 years, 9 months ago (2016-03-08 10:26:51 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-08 10:59:20 UTC) #7
commit-bot: I haz the power
4 years, 9 months ago (2016-03-08 11:00:43 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/b035ad2b4894c007b5580c8da151dca8ad550975
Cr-Commit-Position: refs/heads/master@{#379805}

Powered by Google App Engine
This is Rietveld 408576698