Commit Graph

23 Commits

Author SHA1 Message Date
Ben Kelly
ce076455ed Bug 1184607 P7.5 Add RequestRedirect to Cache API schema with migration. r=ehsan 2015-08-31 14:26:30 -07:00
Nikhil Marathe
ceb6e00867 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.
2015-06-04 21:39:34 -07:00
Ben Kelly
7674db423c Bug 1173439 P4 Remove Request url field from Cache API database. r=ehsan 2015-06-16 17:39:05 -07:00
Ben Kelly
27071f76d6 Bug 1173439 P2 Parse Response URL query as a separate field. r=ehsan 2015-06-16 17:39:05 -07:00
Ben Kelly
f892b6826b Bug 1173439 P1 Store URLs as UTF8 strings in Cache instead of UTF16. r=ehsan 2015-06-16 17:39:05 -07:00
Ehsan Akhgari
b6744d169a Bug 1174868 - Avoid storing RequestContext inside InternalRequest; r=nsm,bkelly,smaug
We are going to infer all RequestContext types from the corresponding
nsContentPolicyType. It no longer makes sense to store both of these on
InternalRequest.  This has the extra benefit that we don't need to worry
about keeping them in sync any more.
2015-06-15 21:36:04 -04:00
Ehsan Akhgari
021ed38d58 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
Carsten "Tomcat" Book
ef72c48967 Backed out changeset ae9c77fa58d1 (bug 1168208) for bustage on a CLOSED TREE 2015-05-27 14:50:43 +02:00
Ehsan Akhgari
7c178923f2 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 08:25:03 -04:00
Ben Kelly
70c4125c44 Bug 1120501 P2 Move Cache Add/AddAll logic to child process. r=ehsan,smaug 2015-04-29 08:59:43 -07:00
Ben Kelly
65d16c8ea8 Bug 1110485 P3 Move Fetch IPC PHeaderEntry type to Cache. Rename HeadesEntry. r=nsm 2015-04-16 12:00:15 -07:00
Ben Kelly
8f0a2f0db1 Bug 1110485 P2 Remove 'P' prefix from non-protocol IPC types in Cache API. r=baku 2015-04-16 12:00:15 -07:00
Carsten "Tomcat" Book
2b2cc53c16 Backed out changeset a74f0b2545ab (bug 1110485) 2015-04-15 09:54:48 +02:00
Carsten "Tomcat" Book
0e646e32dd Backed out changeset 1bbb1ec38652 (bug 1110485) 2015-04-15 09:54:45 +02:00
Ben Kelly
f50ca3c005 Bug 1110485 P3 Move Fetch IPC PHeaderEntry type to Cache. Rename HeadesEntry. r=nsm 2015-04-14 17:11:19 -07:00
Ben Kelly
4a1b47327d Bug 1110485 P2 Remove 'P' prefix from non-protocol IPC types in Cache API. r=baku 2015-04-14 17:11:19 -07:00
Wes Kocher
837a3a6567 Backed out changeset 114377b11793 (bug 1110485) 2015-04-14 15:27:46 -07:00
Wes Kocher
66c30b1df2 Backed out changeset 565246a02797 (bug 1110485) 2015-04-14 15:27:45 -07:00
Ben Kelly
8accf790f2 Bug 1110485 P3 Move Fetch IPC PHeaderEntry type to Cache. Rename HeadesEntry. r=nsm 2015-04-14 12:21:14 -07:00
Ben Kelly
bf3eafd295 Bug 1110485 P2 Remove 'P' prefix from non-protocol IPC types in Cache API. r=baku 2015-04-14 12:21:14 -07:00
Wes Kocher
e856f526b8 Backed out 3 changesets (bug 1110485) for wpt-3 bustage
Backed out changeset e8bd3bf404ff (bug 1110485)
Backed out changeset fa29dbb49a66 (bug 1110485)
Backed out changeset 12deb121d126 (bug 1110485)
2015-04-13 15:18:19 -07:00
Ben Kelly
27358559d2 Bug 1110485 P3 Move Fetch IPC PHeaderEntry type to Cache. Rename HeadesEntry. r=nsm 2015-04-13 14:05:57 -07:00
Ben Kelly
17224749c6 Bug 1110485 P2 Remove 'P' prefix from non-protocol IPC types in Cache API. r=baku 2015-04-13 14:05:57 -07:00