Nikhil Marathe
7e7584b02d
Bug 1109742 - Fix Body.json() error rejection. r=baku
2014-12-04 14:06:45 -08:00
Nikhil Marathe
b42d453262
Bug 1113631 - Remove registration when installation failure occurs. Fixes spec issue #547 . r=baku
2014-11-05 14:43:51 -08:00
Nikhil Marathe
ea81aa3901
Bug 1113627 - Refactor lifecycle event dispatching and handling. r=baku
2014-12-19 05:01:53 -08:00
Nikhil Marathe
2450e7b0b6
Bug 1113621 - Rename InstallPhaseEvent to ExtendableEvent. r=baku
...
Change Exposed=ServiceWorker for all ServiceWorker events.
Move Func= exposure check to ServiceWorker.
2014-11-06 07:57:57 -08:00
Nikhil Marathe
2a58e25580
Bug 1113619 - Abort on lifecycle event handler errors. r=baku
...
Folded:
Handle install event listener errors and fail installation
Activate handler runtime errors should lead to activation failure.
2014-12-19 04:45:07 -08:00
Nikhil Marathe
e29c193dd9
Bug 1113582 - ServiceWorker parse errors are now properly handled during the Update phase. r=baku,bz
...
Folded:
Enable network error detection test. Fix scopes for network test and parse...
... test to deal with https://github.com/slightlyoff/ServiceWorker/issues/547
2014-12-19 02:48:31 -08:00
Nikhil Marathe
61de7ae397
Bug 1043701 - Fire statechange event on ServiceWorker instances. r=baku
...
Folded:
Various registration related UpdateState() calls and abort on failure to create a service worker.
Set ServiceWorker instances state based on corresponding ServiceWorkerInfo state.
2014-12-19 03:25:56 -08:00
Nikhil Marathe
023fe00c28
Bug 1113587 - Fire controllerchange event on controlled documents ServiceWorkerContainer. r=baku
2014-10-28 13:11:31 -07:00
Nikhil Marathe
09db329656
Bug 1089778 - ServiceWorkerManager NS_WARN_IF compiler error. a=bustage
2015-01-23 11:53:23 -08:00
Nikhil Marathe
cb9aaadc9a
Bug 1113577 - Fixes in ServiceWorkerGlobalScope.unregister implementation to prevent Promise release on wrong thread.
2014-10-27 16:37:03 -07:00
Andrea Marchesini
bd3963f6ea
Bug 1065367 - Implement a mochitest for ServiceWorkerGlobalScope::Unregister(), r=nsm
2014-10-06 16:47:37 +01:00
Nikhil Marathe
29dcbbc747
Bug 1089778 - ServiceWorkerRegistration is keyed by scope for event dispatch and invalidation. r=baku
2014-10-27 11:52:57 -07:00
Ehsan Akhgari
4c4956892d
Bug 1123016 - Clarify the ownership of DOMEventTargetHelper::mParentObject/mOwnerWindow; r=smaug
...
This patch converts DOMEventTargetHelper::mParentObject into an
nsWeakPtr, and adds fatal assertions to ensure that all future
nsIGlobalObject implementations support weak references. It also marks
DOMEventTargetHelper::mOwnerWindow as a non-owning reference.
2015-01-23 08:37:37 -05:00
Valentin Gosu
a47fabf1c9
Bug 1122948 - .hash shouldn't be encoded/decoded for WorkerLocation. r=mrbkap
2015-01-18 00:10:38 +02:00
Nicholas Nethercote
f696af5220
Bug 1122322 (follow-up) - Fix busted paths in worker memory reporter. r=bent.
2015-01-22 21:26:21 -08:00
Nikhil Marathe
bf3b902cdb
Bug 1124743 - Temporarily disable test until race is figured out. a=testfailure
2015-01-22 09:58:43 -08:00
Nikhil Marathe
03b3419146
Bug 1113555 - Update ServiceWorker registration lifecycle. r=baku
...
Folded:
Allow file: serviceworkers
Registration fixes WIP
Queue updatefound instead of immediately firing
Initial "atomically" steps of registration should also be a part of the job
Fix some compiler errors
Be sure not to null out various workers too early during activation
Integrated ServiceWorkerGlobalScope::Update into the ServiceWorkerRegisterJob.
2014-12-19 02:00:29 -08:00
Nikhil Marathe
c9c6c2c8d2
Bug 1113515 - Update ServiceWorker webidl. r=baku
2014-10-17 11:43:14 -07:00
Boris Zbarsky
37ec2b883e
Bug 1121688. Filter out overloads with non-worker-exposed arguments when generating worker bindings. r=peterv
2015-01-20 16:44:14 -05:00
Nikhil Marathe
f9d7b7576c
Bug 1122194 - Follow method validation rules when constructing Request. r=baku,bkelly
2015-01-15 12:11:12 -08:00
Ben Turner
624fb06abc
Bug 1120336 - Fix another hang with blobURL+workers+indexedDB+xhr, r=khuey.
2015-01-13 14:15:04 -08:00
Nicholas Nethercote
165a868a7e
Bug 1122322 - Fix crash in worker memory reporter. r=bent.
2015-01-15 20:12:20 -08:00
Nikhil Marathe
905b0da674
Bug 1112922 - Implement request referrer correctly in Fetch API. r=bkelly
2014-12-23 07:56:19 -08:00
Andrea Marchesini
83506b364b
Bug 966439 - BroadcastChannel API - patch 3 - API disabled by pref, r=smaug
2015-01-15 16:58:41 +00:00
Nikhil Marathe
5fc3ba0a7e
Bug 1112073 - Implement Response.redirect. r=baku,bkelly
2014-12-26 09:44:09 -08:00
Ben Turner
173ea3af60
Bug 1121129 - Guard against multiple threads dispatching to a worker thread at the same time, r=khuey.
2015-01-14 13:50:03 -08:00
Ryan VanderMeulen
35882877b9
Backed out 11 changesets (bug 966439, bug 1121472) for causing widespread test failures and because inbound isn't Try and shouldn't be treated as such.
...
Backed out changeset e6cd15d43b5a (bug 1121472)
Backed out changeset 4f9788639f3f (bug 966439)
Backed out changeset ac9a967e5a10 (bug 966439)
Backed out changeset 14d322737871 (bug 966439)
Backed out changeset 8f941e519580 (bug 966439)
Backed out changeset b82d1010c6b4 (bug 966439)
Backed out changeset 2c29a52a03bd (bug 966439)
Backed out changeset e4b0802a3f06 (bug 966439)
Backed out changeset bdc9a0310034 (bug 966439)
Backed out changeset 6b3ae19628e6 (bug 966439)
Backed out changeset 3d23e775033a (bug 966439)
CLOSED TREE
2015-01-14 11:46:14 -05:00
Andrea Marchesini
5543fa8880
Bug 966439 - BroadcastChannel API - patch 3 - API disabled by pref, r=smaug
2015-01-14 11:50:35 +00:00
Ms2ger
ab12074deb
Bug 914067 - Remove JSVAL_VOID from dom/; r=jst
2015-01-14 08:59:06 +01:00
Nikhil Marathe
2c90ec50fb
Bug 1119044 - Fetch API WebIDL Fixes. r=bkelly,baku
...
Add various [SameObject]/[NewObject] annotations.
Adds RequestCache enum.
Ensures that cors-with-forced-preflight is translated to cors in getter.
Reject cors-with-forced-preflight as a valid mode value in Request constructor.
2015-01-07 16:24:40 -08:00
Ryan VanderMeulen
b82b313197
Backed out changeset 88970726eb6b (bug 1119044) for Werror bustage.
2015-01-13 13:26:52 -05:00
Nikhil Marathe
75f5a806a9
Bug 1119044 - Fetch API WebIDL Fixes. r=bkelly,baku
...
Add various [SameObject]/[NewObject] annotations.
Adds RequestCache enum.
Ensures that cors-with-forced-preflight is translated to cors in getter.
Reject cors-with-forced-preflight as a valid mode value in Request constructor.
2015-01-07 16:24:40 -08:00
Nikhil Marathe
7d4e9dbdc2
Bug 1109574 - Check for null body before setting bodyUsed in Request constructor. r=bkelly
2014-12-23 02:25:17 -08:00
Nikhil Marathe
5efcea65d0
Bug 1039846 - Patch 5: FetchDriver basic HTTP fetch support. r=baku,bkelly
...
This patch has the following big pieces:
HTTP support in FetchDriver, which requires the principal of the caller to be passed.
Managing worker lifetime when a fetch() call is in progress.
Managing worker lifetime when a Response body is being read.
Using nsIPipe to link network streams to Request/Response body streams.
Using nsIInputStreamPump to convert Request/Response body streams into respective types.
Folded:
Bug 1039846 - Fetch API: Use a pipe to immediately start writing HTTP body data to InternalResponse.
Bug 1039846 - Assert bodystream can be set only once
Bug 1039846 - Add feature when handling fetch responses on workers
Bug 1039846 - Try to retarget http fetch delivery off main thread.
Bug 1039846 - Safely consume body using nsIInputStreamPump on workers and main thread.
Bug 1039846 - Retarget body reading to stream transport service.
2014-12-10 00:51:59 -08:00
Peter Van der Beken
00ece8f296
Bug 1096328 - Remove nativeOwnership from Bindings.conf, make rooting analysis happy. r=bz.
2015-01-08 22:56:42 +01:00
Valentin Gosu
31ba391d3f
Bug 1093611 - Add/modify tests making sure Link,URL,nsLocation::GetHash don't unescape characters r=smaug
2014-11-12 05:59:24 +02:00
Andrea Marchesini
b2bf53a267
Bug 1113062 - IndexedDB FileSnapshot not CCed, r=janv
2015-01-11 21:35:24 +00:00
Wes Kocher
c27ebf2924
Backout 115690326c5e for mochitest-2 orange on a CLOSED TREE
2015-01-09 14:28:27 -08:00
Kyle Huey
d409cf9c19
Bug 1119360: Allow AddFeature calls to succeed until we enter the Killing stage. r=bent
2015-01-09 13:29:05 -08:00
Ehsan Akhgari
bd52bd3f4e
Bug 1118486 - Part 1: Use = delete
instead of MOZ_DELETE directly; r=Waldo
...
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:
#!/bin/bash
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "*/.git*" \
! -wholename "obj-*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-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_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Ryan VanderMeulen
95d1074c03
Backed out changesets 41d0ad0271a6, 2bda66cf60fd, and dd1fc46d4d56 (bug 1118845) for B2G mochitest failures.
...
CLOSED TREE
--HG--
extra : amend_source : 19240e92f40420f384a7835383cbb2be75350ddc
2015-01-08 21:50:19 -05:00
Ben Kelly
6dd7b972e0
Bug 1118845 P3 Force the creation of a new load group for SharedWorkers. r=sicking
2015-01-08 19:52:22 -05:00
Ben Kelly
caa055b45e
Bug 1118443 Make workers specify the XHR load group to use during the request. r=sicking
2015-01-08 11:21:52 -05:00
Jon Coppeard
08177bbaf7
Bug 1099152 - Make external GC APIs take invocation kind as a parameter r=terrence r=mccr8
2015-01-02 17:19:43 +00:00
Andrea Marchesini
1db122563c
Bug 1058644 - Console API in ServiceWorkers. r=khuey
2015-01-06 10:45:00 -05:00
Ehsan Akhgari
b8ccbe691d
Bug 1118428 - Mark virtual overridden functions as MOZ_OVERRIDE in dom/workers; r=baku
2015-01-06 16:35:26 -05:00
Bobby Holley
9fdfb3a7be
Bug 1117851 - Make GetCallingLocation take an nsA{,C}String. r=smaug
2015-01-06 15:50:29 -05:00
Ryan VanderMeulen
afefe1bb22
Backed out changeset 9035e4de3c03 (bug 1117851) for suspicion of causing Linux32 dromaeo DOM regressions (bug 1118257).
2015-01-06 15:24:45 -05:00
Wes Kocher
48341af91e
Backed out changeset e89d431543ae (bug 1113062) for smaug's revoked r+
2015-01-05 15:12:02 -08:00
Andrea Marchesini
212af4ba67
Bug 1113062 - FileImpls are kept alive when a blob URI is generated from them, r=smaug
2015-01-05 23:55:26 +01:00