Ehsan Akhgari
091092faac
Bug 1148935 - Correctly reflect worker and sharedworker RequestContext values; r=smaug
2015-06-30 18:52:42 -04:00
Ryan VanderMeulen
63ceae91b7
Backed out changeset 07bf31cca660 (bug 1148935) for Werror bustage.
...
CLOSED TREE
2015-06-30 15:53:43 -04:00
Ehsan Akhgari
0b1720ebbd
Bug 1148935 - Correctly reflect worker and sharedworker RequestContext values; r=smaug
2015-06-30 15:30:08 -04:00
Ben Kelly
1222b50d28
Bug 1175138 P5 Make CacheStorage reject on untrusted origins. r=ehsan
2015-06-27 23:19:24 -04:00
Ben Kelly
17962b6f82
Bug 1173467 P3 Pass private browsing flag into CacheStorage factory methods. r=ehsan
2015-06-26 19:36:40 -07:00
Cameron McCormack
5869f35dd7
Back out bug 1173467 (changesets a20799ebf48c, 9312c5cb756e, c0e8bba17067, af075443ab21, 30cefdf8d020) for assertion failures in test_app_protocol.html.
2015-06-27 11:57:17 +10:00
Ben Kelly
07f9c978c2
Bug 1173467 P3 Pass private browsing flag into CacheStorage factory methods. r=ehsan
2015-06-26 17:42:56 -07:00
Nikhil Marathe
171fda05df
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
Josh Matthews
78dbef7133
Bug 1137683 - Use a loadgroup derived from the document's when updating a ServiceWorker; r=bkelly
2015-06-23 10:50:04 -07:00
Ehsan Akhgari
e8c86479b9
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
c58dbca945
Backed out changeset ae9c77fa58d1 (bug 1168208) for bustage on a CLOSED TREE
2015-05-27 14:50:43 +02:00
Ehsan Akhgari
f770eb78bf
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
Ehsan Akhgari
19c21aed0a
Bug 1163945 - Handle aborted CompareNetwork jobs properly in CompareNetwork::OnStartRequst; r=nsm
2015-05-14 11:27:35 -04:00
Ehsan Akhgari
acb3211fe0
Bug 1130101 - Part 2: Honor the Service-Worker-Allowed header when prefix matching the service worker scope; r=nsm
2015-05-07 21:06:34 -04:00
Ehsan Akhgari
381a75309c
Bug 1130101 - Part 1: Store the value of the Service-Worker-Allowed header in the CompareManager object; r=nsm
2015-05-07 21:06:33 -04:00
Ehsan Akhgari
2f6ab55ab7
Bug 1159378 - Part 2: When storing the service worker downloaded after a failed network compare into the cache, store its security info in the cache as well; r=nsm
2015-05-04 10:18:01 -04:00
Nikhil Marathe
806219414b
Bug 1154494 - patch 2 - Hold a ref to the sandbox. r=baku
2015-05-04 13:02:12 -04:00
Nikhil Marathe
f4fbf7f348
Bug 1154494 - Hit network only once. r=baku,bkelly
2015-04-13 21:05:28 -07:00
Andrew McCreight
92010d3e4c
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Doug Turner
cc6f6b3bc4
Bug 1147214 - Allow app: urls to use sw. r=baku
2015-04-25 08:27:50 +02:00
Boris Zbarsky
311cd550e2
Bug 1157898 part 5. Eliminate the remaining non-ErrorResult consumers of ErrorResult::ErrorCode and make it protected. r=peterv
2015-04-27 09:18:52 -04:00
Boris Zbarsky
789a3bf96e
Bug 1157898 part 1. Make code of the form "return rv.ErrorCode();" where rv is an ErrorResult use StealNSResult instead. r=peterv
...
This patch was generated with the following command:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 's/return ([a-zA-Z0-9]+)\.ErrorCode\(\);/return \1.StealNSResult();/'
2015-04-27 09:18:51 -04:00
L. David Baron
4b2943fc7c
Back out bug 1154494 (changeset 94c2f1d254e7 and changeset d1269f811e05) for causing intermittent orange in various service worker tests.
2015-04-25 15:07:54 -07:00
Daniel Holbert
320c4ba94a
Bug 1154494 followup: Annotate ServiceWorker helper-class 'CompareManager' refcounting functions as 'override'. rs=ehsan
2015-04-24 21:26:51 -07:00
Nikhil Marathe
0906cd1f97
Bug 1154494 - Hit network only once. r=baku,bkelly
2015-04-13 21:05:28 -07:00
Ehsan Akhgari
bf955bc48e
Back out bug 1154494 for test bustage on a CLOSED TREE
2015-04-23 16:59:24 -04:00
Nikhil Marathe
e5d073699c
Bug 1154494 - Hit network only once. r=baku,bkelly
2015-04-23 16:00:58 -04:00
Nikhil Marathe
71e7dca5f4
Bug 931249 - Patch 10 - Bypass HTTP cache when downloading ServiceWorker script to compare against. r=bkelly
...
We don't have to bypass in ScriptLoader since this bypass will 'refresh' the cache to the new version.
Talked to :mcmanus about bug comment 78 and there isn't an easy way to ask HTTP Cache for 24 hr expiration, so falling back to this.
2015-03-19 16:41:55 -07:00
Nikhil Marathe
d56792002e
Bug 931249 - Patch 6 - Fix abort condition in CompareCache::OnStreamComplete. r=bkelly
2015-03-19 14:57:27 -07:00
Nikhil Marathe
13e7902f80
Bug 931249 - patch 5 - set redirection limit back to zero. r=bkelly
2015-03-18 13:55:33 -07:00
Nikhil Marathe
982f4678c0
Bug 931249 - patch 4 - comparison. r=nsm
2015-03-18 09:52:54 -07:00
Nikhil Marathe
c87c82a2b9
Bug 931249 - patch 2 - cachename integration. r=nsm
2015-03-18 09:46:38 -07:00