Christoph Kerschbaumer
e1da8f0ded
Bug 1048048 - add preload content policy types for scripts (r=baku)
2015-09-20 14:56:21 -07:00
Wes Kocher
7e27875d2c
Backed out 7 changesets (bug 1048048) for android crashes in various chunks CLOSED TREE
...
Backed out changeset b5abe23a4ea5 (bug 1048048)
Backed out changeset 4f91b10e8be0 (bug 1048048)
Backed out changeset 450d4a13c90e (bug 1048048)
Backed out changeset 6a727c40eb68 (bug 1048048)
Backed out changeset 88c2333ff745 (bug 1048048)
Backed out changeset 740ab1ecd079 (bug 1048048)
Backed out changeset 02c6d6aef163 (bug 1048048)
2015-09-21 09:08:34 -07:00
Christoph Kerschbaumer
94689f139b
Bug 1048048 - add preload content policy types for scripts (r=baku)
2015-09-20 14:56:21 -07:00
Nikhil Marathe
4d4496194c
Bug 1180861 - Various ServiceWorker registration fixes to get test passing. r=bkelly,jgraham.
...
This commit implements the following changes to get registration.https.html working.
1) Fail with NS_ERROR_DOM_SECURITY_ERR where the spec requires it.
2) Propagate JSExnType to ServiceWorkerManager::HandleError() so that a JS
exception object with the correct .name can be created.
3) Fail with security error on redirect failure.
4) Check fetched script's mimetype.
5) Add missing python server files for web-platform-tests.
6) Update web-platform-tests expected data.
7) Several tests have been changed to use TypeError or more appropriate JS
errors based on my reading of the spec.
2015-08-19 16:21:25 -07:00
Andrew McCreight
37dca56c9f
Bug 1176341 - De-holder nsIXPConnect::CreateSandbox. r=baku,gabor
2015-07-21 11:31:44 -07:00
Ryan VanderMeulen
81ed743c4f
Backed out changeset 553a3e1e7b18 (bug 1176341) for bustage.
...
CLOSED TREE
2015-07-21 13:00:55 -04:00
Andrew McCreight
d108d4c56a
Bug 1176341 - De-holder nsIXPConnect::CreateSandbox. r=baku,gabor
2015-07-21 09:44:37 -07:00
Birunthan Mohanathas
a29151dc87
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Michael Layzell
fc38f44dd3
Bug 1181321 - Eliminate duplicate mRefCnt members in PromiseNativeHandler subclasses. r=baku
2015-07-09 08:56:00 +02:00
Wes Kocher
421260e747
Backed out changeset 74293125739a (bug 1176341)
2015-07-10 12:48:20 -07:00
Andrew McCreight
b63d113ad6
Bug 1176341 - De-holder nsIXPConnect::CreateSandbox. r=baku,gabor
2015-07-10 07:41:33 -07:00
Emanuel Hoogeveen
b30abdc582
Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell
2015-07-07 04:17:00 +02:00
Hiroyuki Ikezoe
b61dee95d7
Bug 1179982 - Fix all compile errors in dom/workers on non-unified build. r=mrbkap
2015-07-02 14:54:00 +02:00
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