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
Ben Kelly
9a4819a8a4
Bug 1178508 ServiceWorker scripts should never be intercepted. r=baku
2015-07-02 07:30:06 -07: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
Andrea Marchesini
27bcc25a4a
Bug 1168933 - Send referrer when downloading worker script. r=khuey
2015-06-04 16:20:13 -07:00
Nikhil Marathe
48d3d0cb17
Bug 1169044 - Patch 5 - build fixes. a=bustage
2015-06-04 17:26:05 -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
Ben Turner
487105475c
Bug 1173139 - Reorder global creation on workers, r=khuey.
2015-06-10 14:12:55 -07:00
Ben Turner
bfee4b5e19
Bug 1173002 - Set worker system principal flag correctly when created from chrome, r=bz, a=kwierso.
2015-06-09 14:34:00 -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
Ben Turner
f94a1dbf0c
Bug 1163109. Restrict the resource:// weirdness in workers to loads from a system principal. r=bzbarsky
2015-05-26 17:27:01 -04:00
Andrew McCreight
92010d3e4c
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Daniel Holbert
584f632cba
Bug 1156847 followup: annotate workers helper-class "ScriptLoaderRunnable" OnStartRequest/OnStopRequest as override. rs=ehsan
2015-04-30 11:42:16 -07:00
Ehsan Akhgari
25dfb4b33c
Bug 1156847 - Part 5: When loading a service worker from the cache, set its security info on the WorkerPrivate; r=nsm
2015-04-29 20:22:30 -04:00
Ehsan Akhgari
a5a416e9de
Bug 1156847 - Part 4: When storing a service worker script to the cache, store its security info in the cache as well; r=khuey
...
Before this patch, we would call Cache.put() before opening the channel,
which means that we have no way of knowing the security info for the
channel in order to set it on the Response object that we synthesize.
This patch adds an nsIRequestObserver to the tee created for piping the
body of the response to the cache, and delays calling Cache.put() until
we receive the nsIRequestObserver::OnStartRequest() notification, at
which point we set the obtained security info on the Response object to
be stored in the cache.
2015-04-29 20:22:29 -04:00
Ehsan Akhgari
fab88e9090
Bug 1156847 - Part 3: When loading a service worker from the network, remember the security info of the channel on the WorkerPrivate; r=nsm
2015-04-29 20:22:28 -04: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
Ehsan Akhgari
c05c22901f
Bug 1148942 - Ensure that the registration of empty service workers succeeds; r=bent
2015-04-16 18:18:20 -04:00
Nikhil Marathe
d348d9420f
Bug 1151916 - Set worker principalinfo on cache load. r=bkelly
2015-04-10 14:14:44 -07:00
Nikhil Marathe
6efd0b9951
Bug 931249 - Patch 15 - assert later. r=baku
2015-03-27 13:29:40 -07:00
Nikhil Marathe
9d264c91be
Bug 931249 - Patch 14 - kungfuDeathGrip. r=baku
2015-03-27 10:00:59 -07:00
Nikhil Marathe
75dfabf37e
Bug 931249 - Patch 13 - Fix finish condition in CacheScriptLoader::Fail. r=baku
2015-03-26 15:56:02 -07:00
Nikhil Marathe
48af04df53
Bug 931249 - Patch 12 - Call LoadingFinished even if channel is not present. r=khuey
...
If the failure was due to inability to create a channel (csp, other restrictions) we still want to mark the load as finished
2015-03-24 17:11:57 -07:00
Nikhil Marathe
6a57a28bd6
Bug 931249 - Patch 8 - Provide direct getter to the fact that we are loading a worker instead of relying on cache name. r=khuey
2015-03-19 16:39:01 -07:00
Nikhil Marathe
c87c82a2b9
Bug 931249 - patch 2 - cachename integration. r=nsm
2015-03-18 09:46:38 -07:00
Nikhil Marathe
42bffbbed8
Bug 931249 - Patch 1.1 - Set baseURI when script is obtained from cache. r=khuey
2015-03-18 16:14:30 -07:00
Nikhil Marathe
e32a19812b
Bug 931249 - patch 1 - Scriptloader use cache if needed. r=khuey
2015-03-19 11:41:42 -07:00
Eddy Bruël
52320c8f3f
Bug 1092102 - Implement WorkerDebuggerGlobalScope.createSandbox;r=khuey
2015-03-31 12:22:40 +02:00
Carsten "Tomcat" Book
87caf9c566
Backed out changeset 71abbf190d53 (bug 1092102) for static analysis build bustage on a CLOSED TREE
2015-03-31 11:14:46 +02:00
Eddy Bruël
407399aad3
Bug 1092102 - Implement WorkerDebuggerGlobalScope.createSandbox;r=khuey
2015-03-31 10:19:04 +02:00
Andrea Marchesini
ad97ae68b8
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Ehsan Akhgari
ea41d8de48
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Eddy Bruël
2cc96733c3
Bug 1092102 - Implement WorkerDebugger.initialize;r=khuey
2015-03-17 11:15:19 +01:00
Boris Zbarsky
7f7b5b4fdc
Bug 1097987 part 7. Require callers of JS::Evaluate to either use the global as the scope or pass in an explicit scopechain. r=waldo
2015-03-14 01:36:16 -04:00
Ben Kelly
d1ef23e7c5
Bug 1107516 - Part 3: Make sure all workers have an nsILoadGroup when loading scripts. r=sicking, r=bent
2014-12-12 11:06:00 -05:00
Boris Zbarsky
5fb7a515ee
Bug 1100579 part 1. Remove the overloads of JS::Evaluate that don't take an rval mutable handle, and control the behavior via the JS::CompileOptions instead. r=waldo,bholley
2014-11-18 23:27:16 -05:00
Christoph Kerschbaumer
17e43a4437
Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst)
2014-10-15 19:11:45 -07:00
Christoph Kerschbaumer
72772967b8
Bug 1038756: Callsites creating a channel in /dom/workers/ (r=bent)
2014-09-21 09:39:57 -07:00
Chris Peterson
def5e6780e
Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem
2014-07-21 21:43:21 -07:00
Christoph Kerschbaumer
6528b85c91
Bug 1062529 - Split GetChannelPrincipal into GetChannelResultPrincipal and GetChannelURIPrincipal. r=bz
2014-08-06 16:05:40 -07:00
Andrea Marchesini
cd5c877ef4
Bug 1036484 - empty 404 worker script should emit a 'error' event, r=khuey
2014-08-10 15:33:06 +02:00
Bobby Holley
eb6c3ab9f6
Bug 940321 - Eliminate ambient noScriptRval, and make it live exclusively on CompileOptions. r=jandem
2014-07-31 09:55:20 -07:00