gecko-dev/dom/fetch
Nikhil Marathe b52b66ebf5 Bug 1169044 - Patch 3 - Store and set principal with script URI on ServiceWorkers. r=ehsan
The ServiceWorkerRegistrationInfo's principal is the principal of the document
that called register(). If we create WorkerPrivate instances based off of
this, they have a valid principal in terms of security and same-origin-ness,
but the URI path is wrong. When fetching the script from the network, the
channel's principal is used to update the worker principal. We need to do the
same when the script is loaded from Cache. This patch adds support to store the
channel principal in the cache.

--HG--
extra : rebase_source : e7d527335aa4f0d4ee52e58915c8b0ef4ad26983
2015-06-04 21:39:34 -07:00
..
ChannelInfo.cpp Bug 1173378 - crash in mozilla::net::HttpBaseChannel::OverrideSecurityInfo(nsISupports*), r=ehsan 2015-06-17 13:16:33 +02:00
ChannelInfo.h Bug 1164397 - Part 4: Add infromation about whether a channel was redirected to ChannelInfo; r=jdm 2015-06-05 15:57:42 -04:00
ChannelInfo.ipdlh Bug 1164397 - Part 4: Add infromation about whether a channel was redirected to ChannelInfo; r=jdm 2015-06-05 15:57:42 -04:00
Fetch.cpp Bug 1169044 - Patch 1 - Refactor setting referrer and referrer policy between fetch and XHR. r=khuey 2015-06-04 14:05:00 -07:00
Fetch.h Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
FetchDriver.cpp Bug 1169044 - Patch 3 - Store and set principal with script URI on ServiceWorkers. r=ehsan 2015-06-04 21:39:34 -07:00
FetchDriver.h Bug 1170937 - Set the URL on the Response object created from a fetch() properly if the underlying channel gets redirected; r=baku 2015-06-09 20:07:48 -04:00
Headers.cpp Bug 931249 - patch 1 - Scriptloader use cache if needed. r=khuey 2015-03-19 11:41:42 -07:00
Headers.h Bug 1156632 - Remove unused forward class declarations - patch 3 - dom/{events,xbl,xslt,xul} and others, r=ehsan 2015-04-22 08:29:18 +02:00
InternalHeaders.cpp Bug 1110485 P3 Move Fetch IPC PHeaderEntry type to Cache. Rename HeadesEntry. r=nsm 2015-04-16 12:00:15 -07:00
InternalHeaders.h Bug 1156632 - Remove unused forward class declarations - patch 3 - dom/{events,xbl,xslt,xul} and others, r=ehsan 2015-04-22 08:29:18 +02:00
InternalRequest.cpp Bug 1147668 - Correctly reflect video and track RequestContext values; r=smaug 2015-06-16 21:18:08 -04:00
InternalRequest.h Bug 1147668 - Correctly reflect video and track RequestContext values; r=smaug 2015-06-16 21:18:08 -04:00
InternalResponse.cpp Bug 1169044 - Patch 3 - Store and set principal with script URI on ServiceWorkers. r=ehsan 2015-06-04 21:39:34 -07:00
InternalResponse.h Bug 1169044 - Patch 3 - Store and set principal with script URI on ServiceWorkers. r=ehsan 2015-06-04 21:39:34 -07:00
Request.cpp Bug 1154268 - Fetch Request should not allow creating a GET request with a body by copying a PUT request. r=bkelly 2015-05-13 15:15:23 -07:00
Request.h Bug 1174868 - Avoid storing RequestContext inside InternalRequest; r=nsm,bkelly,smaug 2015-06-15 21:36:04 -04:00
Response.cpp Bug 1161625. Use nsIURI, not dom::URL, to create URIs on main thread in fetch code. Also, use the entry settings document's base URI, not the callee document's document URI, as the base. r=nsm 2015-05-07 11:08:34 -04:00
Response.h Bug 1169044 - Patch 3 - Store and set principal with script URI on ServiceWorkers. r=ehsan 2015-06-04 21:39:34 -07:00
moz.build Bug 1168208 - Refactor the existing logic for syncing the security info between Response and channel objects into a new helper class; r=nsm,jdm,bkelly 2015-05-27 14:22:53 -04:00