Chromium Code Reviews
DescriptionCORS-RFC1918: Teach Service Workers about address spaces.
Service Workers don't currently understand address spaces, this patch does the
minimum amount of work necessary to ensure two things:
1. The initial request for a service worker has the correct address space
associated with the loader (the changes the `WebEmbeddedWorker*`).
2. The address space of the response is piped down through the content
layer (the change to `resource_loader.cc`: this worked for everything
up through now, but Service Workers have a caching mechanism inbetween
URLRequest and here which made `GetSocketAddress` unreliable. The cached
response info, however, is accurate).
BUG=591672
R=jochen@chromium.org
Committed: https://crrev.com/64ecde25bae52de55a682386ad05701498ecd5bd
Cr-Commit-Position: refs/heads/master@{#391170}
Patch Set 1 #Patch Set 2 : Works. #Dependent Patchsets: Messages
Total messages: 9 (4 generated)
|