Commit Graph

1349 Commits

Author SHA1 Message Date
Andrea Marchesini
fa29820396 Bug 1127885 - Console API should display blobs when used in workers, r=smaug 2015-02-02 15:40:15 +00:00
Jon Coppeard
6136d65f9b Bug 1127792 - Add a pref to globally disable compacting GC r=terrence r=mccr8 r=bent 2015-02-02 14:39:34 +00:00
Carsten "Tomcat" Book
2138a393d3 Backed out changeset b15dd0241e60 (bug 1127885) for hazard build bustage 2015-02-02 14:37:23 +01:00
Andrea Marchesini
6f40b4c8b7 Bug 1127885 - Console API should display blobs when used in workers, r=smaug 2015-02-02 11:51:52 +00:00
Phil Ringnalda
ffc0edff3f Back out 030744f8ef5a (bug 1127885) for hazard bustage 2015-01-31 12:06:40 -08:00
Andrea Marchesini
ac9e92bc87 Bug 1127885 - Console API should display blobs when used in workers, r=smaug 2015-01-31 19:12:00 +01:00
Nikhil Marathe
344fd0a633 Bug 1126483 - Added Response.ok. r=baku,bkelly
--HG--
extra : rebase_source : fdff9417d56b06a0556da9a95e0836148d91be0e
2015-01-27 17:34:34 -08:00
Nikhil Marathe
ab3efc22ff Bug 1081293 - Silently ignore lack of ServiceWorkerManager when shutting down ServiceWorkerContainer. r=baku
--HG--
extra : rebase_source : 65066288a5cec4bb9e97adbaf6bbe9cd32835394
extra : amend_source : b3e2cd0f05150d290050d99926fb0d48659929d4
2015-01-23 11:23:55 -08:00
Nikhil Marathe
3e3b6fb8c0 Bug 1113957 - ServiceWorker unregistration uses job queue. r=baku
--HG--
extra : transplant_source : %B3%AA%CF%C5%05%409%D9%15Ly%FA%FF%E3%FA%5E%9B%3F%9F.
2015-01-22 14:10:38 -08:00
Nikhil Marathe
bdbece8200 Bug 1113631 - Remove registration when installation failure occurs. Fixes spec issue #547. r=baku
--HG--
extra : transplant_source : l%8C%98%C3%19%7C/%5C%076ZS%26%8DR%EDzM%CB%04
extra : histedit_source : 3acd229eebf3367ccf98faaf02d1330942c1cda0
2014-11-05 14:43:51 -08:00
Nikhil Marathe
c93d203e5c Bug 1113627 - Refactor lifecycle event dispatching and handling. r=baku,bz
--HG--
extra : transplant_source : %E9%C4%13%80%CA%EEj%8D%17%A0LE%F3Tm%0F%EB%2B%3D3
extra : histedit_source : e16da08aa5dca392ad6270a3b03c05c74d1a5ad6
2014-12-19 05:01:53 -08:00
Daniel Holbert
425952916e Bug 1043701 followup: add missing #include to provide ServiceWorkerState enum. (no review, minor obviously-correct patch to fix local build bustage) 2015-01-26 10:31:38 -08:00
Masatoshi Kimura
6cc5dabbee Bug 1111290 - Part 3: Remove TypedEnum.h and fold TypedEnumInternal.h into TypedEnumBits.h. r=waldo 2015-01-26 07:22:11 +09:00
Masatoshi Kimura
be535304d8 Bug 1111290 - Part 1: Remove MOZ_(BEGIN|END)_ENUM_CLASS. r=waldo 2015-01-26 07:22:07 +09:00
Nikhil Marathe
39a14f36e2 Bug 1113621 - Rename InstallPhaseEvent to ExtendableEvent. r=baku relanding because it wasn't supposed to be backed out on a CLOSED TREE
Change Exposed=ServiceWorker for all ServiceWorker events.
Move Func= exposure check to ServiceWorker.

--HG--
rename : dom/webidl/InstallPhaseEvent.webidl => dom/webidl/ExtendableEvent.webidl
extra : source : 5ed6d1902cc7bafbf9ffeaf35815c56cdd8f8c0d
extra : amend_source : eab06a362baf7545b9b61e28316666c2ec76acac
2014-11-06 07:57:57 -08:00
Wes Kocher
3ddd04bd7d Backed out changeset 5555ee7490fb (bug 1113631) for asan mochitest-4 bustage on a CLOSED TREE 2015-01-23 19:51:33 -08:00
Wes Kocher
9a6d8ea64e Backed out changeset 5ed6d1902cc7 (bug 1113621) for asan mochitest-4 bustage on a CLOSED TREE
--HG--
rename : dom/webidl/ExtendableEvent.webidl => dom/webidl/InstallPhaseEvent.webidl
2015-01-23 19:49:51 -08:00
Wes Kocher
d002e5fc4b Backed out changeset 3ff80c877212 (bug 1113627) for asan mochitest-4 bustage on a CLOSED TREE 2015-01-23 19:49:39 -08:00
Nikhil Marathe
b32717bf29 Bug 1113957 - Do not assert job queue empty at shutdown. a=bustage CLOSED TREE
--HG--
extra : rebase_source : 42a5b1087974554308413eaf19904aedd83ade37
extra : amend_source : 4f87e2842bf9b40ba50a7696ecb910914204fc04
2015-01-23 12:42:32 -08:00
Nikhil Marathe
f3cc077f51 Bug 1122677 - Disallow request body when method is HEAD/GET.
Spec bug https://www.w3.org/Bugs/Public/show_bug.cgi?id=27846
and :annevk OKed putting the check in the constructor and throwing http://logs.glob.uno/?c=content#c259382

--HG--
extra : rebase_source : 224da5d5f19387ffd95fc42c38a99b0e25427551
2015-01-16 13:08:19 -08:00
Nikhil Marathe
23d15b0403 Bug 1109742 - Fix Body.json() error rejection. r=baku
--HG--
extra : rebase_source : f76f97258fd09ce6391f70487ea8bd6ec76edce5
2014-12-04 14:06:45 -08:00
Nikhil Marathe
8b4174b259 Bug 1113631 - Remove registration when installation failure occurs. Fixes spec issue #547. r=baku
--HG--
extra : rebase_source : aa6421ca130625f7e6c7aba8e866048cc3d5b5a4
2014-11-05 14:43:51 -08:00
Nikhil Marathe
085d20b0ae Bug 1113627 - Refactor lifecycle event dispatching and handling. r=baku
--HG--
extra : rebase_source : 548af9014c8a6bf701736289e82f55f02f408ac0
2014-12-19 05:01:53 -08:00
Nikhil Marathe
bb20c13405 Bug 1113621 - Rename InstallPhaseEvent to ExtendableEvent. r=baku
Change Exposed=ServiceWorker for all ServiceWorker events.
Move Func= exposure check to ServiceWorker.

--HG--
rename : dom/webidl/InstallPhaseEvent.webidl => dom/webidl/ExtendableEvent.webidl
extra : rebase_source : c9d314c6cffd577ab7309eb9e39e7d80f2f294f7
2014-11-06 07:57:57 -08:00
Nikhil Marathe
f59c428a7b 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.

--HG--
extra : rebase_source : 5e5409346cb3999d29a1e624edc640653b9c0475
2014-12-19 04:45:07 -08:00
Nikhil Marathe
b28384d250 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

--HG--
extra : rebase_source : bbe594b231f1ea878fba78f6594483d6dbd72424
2014-12-19 02:48:31 -08:00
Nikhil Marathe
fbe18cf922 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.

--HG--
extra : rebase_source : 43e519457c640b07f4358484b435aa1de581a668
2014-12-19 03:25:56 -08:00
Nikhil Marathe
0bb964a725 Bug 1113587 - Fire controllerchange event on controlled documents ServiceWorkerContainer. r=baku
--HG--
extra : rebase_source : cad64bf4ec965906f6268a02e83bcb089cdd2f5e
2014-10-28 13:11:31 -07:00
Nikhil Marathe
1769f1b983 Bug 1089778 - ServiceWorkerManager NS_WARN_IF compiler error. a=bustage 2015-01-23 11:53:23 -08:00
Nikhil Marathe
472c87c67c Bug 1113577 - Fixes in ServiceWorkerGlobalScope.unregister implementation to prevent Promise release on wrong thread.
--HG--
extra : rebase_source : 8bfcc34f9520af2419d078c86525bcd308ab3107
2014-10-27 16:37:03 -07:00
Andrea Marchesini
055aedd30a Bug 1065367 - Implement a mochitest for ServiceWorkerGlobalScope::Unregister(), r=nsm
--HG--
extra : rebase_source : e114cf527d5a17bdf0173ff8e373b31e58c8909d
2014-10-06 16:47:37 +01:00
Nikhil Marathe
076d17e308 Bug 1089778 - ServiceWorkerRegistration is keyed by scope for event dispatch and invalidation. r=baku
--HG--
extra : rebase_source : 012bcfa0aef20bc6b79e030cb7439f03799e9370
2014-10-27 11:52:57 -07:00
Ehsan Akhgari
a61a347792 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
e8d3b17287 Bug 1122948 - .hash shouldn't be encoded/decoded for WorkerLocation. r=mrbkap 2015-01-18 00:10:38 +02:00
Nicholas Nethercote
1728be992a Bug 1122322 (follow-up) - Fix busted paths in worker memory reporter. r=bent.
--HG--
extra : rebase_source : c191acaa96ff7fd3d973eb542a56e7b96efb7466
2015-01-22 21:26:21 -08:00
Nikhil Marathe
d942d61753 Bug 1124743 - Temporarily disable test until race is figured out. a=testfailure 2015-01-22 09:58:43 -08:00
Nikhil Marathe
d374da2039 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.

--HG--
extra : rebase_source : 14dd02d18e1209147acd3fd118807c9bd8d4d300
2014-12-19 02:00:29 -08:00
Nikhil Marathe
3f0206f630 Bug 1113515 - Update ServiceWorker webidl. r=baku
--HG--
extra : rebase_source : a6143c9d741d87b79ccf3686f868b0856a32cd4b
2014-10-17 11:43:14 -07:00
Boris Zbarsky
d68bc247c4 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
36aa4fe1b3 Bug 1122194 - Follow method validation rules when constructing Request. r=baku,bkelly
--HG--
extra : amend_source : 78950befd29e5aff54956b3399993ade769a21c5
extra : transplant_source : c%B3%E0%87%E7Zdx%03%A6%AA%0A%1C%5E%A8%EF%95%FF%3D%86
2015-01-15 12:11:12 -08:00
Ben Turner
e49bf1a926 Bug 1120336 - Fix another hang with blobURL+workers+indexedDB+xhr, r=khuey.
--HG--
rename : dom/indexedDB/test/test_blob_worker_xhr_post.html => dom/indexedDB/test/test_blob_worker_xhr_post_multifile.html
rename : dom/indexedDB/test/test_blob_worker_xhr_read.html => dom/indexedDB/test/test_blob_worker_xhr_read_slice.html
2015-01-13 14:15:04 -08:00
Nicholas Nethercote
e8361324c1 Bug 1122322 - Fix crash in worker memory reporter. r=bent.
--HG--
extra : rebase_source : 23b1fde430b9f8c73c70a37f6e184b134c7ac1fc
2015-01-15 20:12:20 -08:00
Nikhil Marathe
bf76a3c4e1 Bug 1112922 - Implement request referrer correctly in Fetch API. r=bkelly
--HG--
extra : rebase_source : 226756fee8b777ed30b07cce0f3c5879d66ccf80
2014-12-23 07:56:19 -08:00
Andrea Marchesini
e2ecdca8a9 Bug 966439 - BroadcastChannel API - patch 3 - API disabled by pref, r=smaug 2015-01-15 16:58:41 +00:00
Nikhil Marathe
83f2d35bc2 Bug 1112073 - Implement Response.redirect. r=baku,bkelly
--HG--
extra : rebase_source : b84a118d61103227e3e021d0efe344f709115fc9
2014-12-26 09:44:09 -08:00
Ben Turner
0946d89002 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
3a9ff448dc 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
1b2f40309e Bug 966439 - BroadcastChannel API - patch 3 - API disabled by pref, r=smaug 2015-01-14 11:50:35 +00:00
Ms2ger
b83d21c58c Bug 914067 - Remove JSVAL_VOID from dom/; r=jst 2015-01-14 08:59:06 +01:00
Nikhil Marathe
2b1d550dca 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.

--HG--
extra : rebase_source : 3a70d53965def8fe02deec307367b9fda3458935
2015-01-07 16:24:40 -08:00