Commit Graph

1208 Commits

Author SHA1 Message Date
Wes Kocher
ff7c6d21cd Backed out 2 changesets (bug 1041180) for build bustage on a CLOSED TREE
Backed out changeset 1cfb645267a4 (bug 1041180)
Backed out changeset afc9903ff28f (bug 1041180)
2014-09-23 16:26:49 -07:00
Christoph Kerschbaumer
bc20780b98 Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-09-23 09:46:54 -07:00
Andrea Marchesini
5d2981cbd7 Bug 1062920 - WorkerNavigator strings should honor general.*.override prefs, r=khuey 2014-09-23 20:11:18 +01:00
Christoph Kerschbaumer
4e801b4d7b Bug 1038756: Callsites creating a channel in /dom/workers/ (r=bent) 2014-09-21 09:39:57 -07:00
Lars T Hansen
ef7ed4ebde Bug 1054882 - Rollup patch. r=till, r=sstangl, r=jorendorff 2014-09-16 18:45:31 +02:00
Shu-yu Guo
59ccd2fecb Bug 1001090 - Part 5: Fix errors in tests throughout the tree. (r=robcee,gavin) 2014-09-15 16:30:47 -07:00
Jon Coppeard
93fa9ca8db Bug 1045945 - Initialize the destroy principals callback for workers r=bent 2014-09-15 16:49:11 +01:00
Ehsan Akhgari
0e9e79be7e Bug 1065664 - Fix more bad implicit ctors in DOM; r=baku 2014-09-11 15:46:45 -04:00
Nikhil Marathe
3f1edc2c3a Bug 1042908 - Fix WorkerPrivate error handling. r=bent
--HG--
extra : amend_source : 9eda75aa5fb1a61a740046138f3224294d0c330f
extra : transplant_source : %14%C48%D1-%07%08%E8%8DR%D5%AA%B6Y%7CV%DE%C3F%18
2014-07-11 11:59:39 -07:00
Andrea Marchesini
7396255880 Bug 982728 - Implement ServiceWorkerGlobalScope unregister(), r=nsm 2014-09-10 11:21:32 -04:00
Peter Van der Beken
73d234512e Bug 849567 - Automatically handle raw and already_AddRefed return values in Paris bindings and remove resultNotAddRefed, make all Constructor methods return already_AddRefed<...>. r=bz.
--HG--
extra : rebase_source : 726702eb39e627d74ddb3adf6059569d077089d4
2014-08-28 00:43:55 +02:00
Bobby Holley
7c712dca7b Bug 981198 - Make JS_{Get,Set}ErrorReporter take a JSRuntime. r=terrence,r=bz 2014-09-09 16:02:10 -07:00
Andrea Marchesini
5d8e4ad449 Bug 1065109 - Remove the MOZ_ASSERT(IsControllingDocuments()) in ServiceWorkerManager CLOSED TREE, r=nsm 2014-09-09 18:01:07 -04:00
Chris Peterson
d126c3c24f Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem 2014-07-21 21:43:21 -07:00
Andrea Marchesini
d72123b13e Bug 925849 - WorkerNavigator implements NavigatorLanguage, r=khuey 2014-09-05 15:26:34 +01:00
Christoph Kerschbaumer
68de320099 Bug 1062529 - Split GetChannelPrincipal into GetChannelResultPrincipal and GetChannelURIPrincipal. r=bz 2014-08-06 16:05:40 -07:00
Ryan VanderMeulen
8be77b965e Backed out 4 changesets (bug 982726) for the same serviceworker perma-fails it hit last time it landed.
Backed out changeset 9674f68df2e5 (bug 982726)
Backed out changeset 9d397edb8e9a (bug 982726)
Backed out changeset ebe7add5dd11 (bug 982726)
Backed out changeset 2771520aa1b9 (bug 982726)
2014-09-03 21:45:30 -04:00
Catalin Badea
99c7e46411 Bug 982726 - Patch 4 - Extensive testing of postMessage. r=baku
--HG--
extra : rebase_source : c2a5b3e61cd314c995cc1935aa928247301cb9c5
extra : amend_source : a970a4e351b2b7064fbccbed6b74dedec609f878
2014-08-15 00:52:00 -07:00
Catalin Badea
d6cf48dc0b Bug 982726 - Patch 3 - Implement client.postMessage and add tests for getServiced(). r=baku
--HG--
extra : rebase_source : 0062dc40cd5cb1248bdce4c70b8abf389eed073d
extra : amend_source : 615bc61390c7e323ddca5a16352387bd4a7c920a
2014-08-24 21:17:21 -07:00
Catalin Badea
e19b3ce28f Bug 982726 - Patch 2 - Add postMessage to service worker. r=baku
--HG--
extra : rebase_source : 55474dcece43eb53a99829ec0a076f2f1e09ce22
extra : amend_source : 39daf21dd3187542754f82115d75eaca20b838b5
2014-08-15 00:43:00 -07:00
Catalin Badea
ac388bcb58 Bug 982726 - Patch 1 - Service Worker: ServiceWorkerClients and Client interfaces with getServiced(). r=baku
--HG--
extra : rebase_source : f8dd649fd30cfffb2a361aa24868e83413e7b54c
2014-08-27 10:24:09 -07:00
Andrea Marchesini
7a610a3d17 Bug 1060517 - dom/workers/test/serviceworkers/test_unregister.html must use 'ready', r=nsm 2014-09-03 16:47:49 +01:00
Wes Kocher
9e0a82dbec Backed out 4 changesets (bug 982726) for mochitest-4 bustage
Backed out changeset 547076d4a357 (bug 982726)
Backed out changeset 095ca68e5d38 (bug 982726)
Backed out changeset 05acfcc7a341 (bug 982726)
Backed out changeset 9244a16c3258 (bug 982726)
2014-09-02 19:09:38 -07:00
Catalin Badea
4dbee862f1 Bug 982726 - Patch 4 - Extensive testing of postMessage. r=baku
--HG--
extra : rebase_source : f8a610a008ebfb9ff07b1a0c475a75bed6d2fea7
extra : amend_source : 4ca3a63fc60c7e442e0221a3787d8a73dc0b491c
2014-08-15 00:52:00 -07:00
Catalin Badea
2abbc498cc Bug 982726 - Patch 3 - Implement client.postMessage and add tests for getServiced(). r=baku
--HG--
extra : rebase_source : 39ac96d409c4ea2ccf1794a7b2a0f681fc7c5786
extra : amend_source : 9357dd9eec14a5af6bd234189473d0bfdf5d6ba7
2014-08-24 21:17:21 -07:00
Catalin Badea
e77acd5d9e Bug 982726 - Patch 2 - Add postMessage to service worker. r=baku
--HG--
extra : amend_source : e69a2f5438b485ff2819c633047c0cb46f663d01
extra : transplant_source : %96%CE%FC%C8J%EEm%9B%DA%CCZIlK5%9E%EB%99%D3%F3
2014-08-15 00:43:00 -07:00
Catalin Badea
a2d3be8aeb Bug 982726 - Patch 1 - Service Worker: ServiceWorkerClients and Client interfaces with getServiced(). r=baku
--HG--
extra : transplant_source : %06f%1C%BE%29%D4F%BAeN%0CI_%93y%8A%8FE%E5%BB
2014-08-27 10:24:09 -07:00
Nikhil Marathe
d185ce387a Bug 1057933 - ServiceWorkerRegistrations should use scope and not window to obtain workers. r=baku
--HG--
extra : rebase_source : 299337329af979f091fefd6b2d1ef202c547c5ed
2014-08-24 22:35:03 -07:00
Andrea Marchesini
82b446b143 Bug 1059174 - Allow ServiceWorkers over http on localhost, r=nsm 2014-09-02 21:07:55 +01:00
Andrea Marchesini
74ccc80191 Bug 1060621 - WorkerScope should CC mLocation and mNavigator, r=bz 2014-09-02 21:02:06 +01:00
Ehsan Akhgari
1b1d6ffebf Bug 1061023 - Fix more bad implicit constructors in DOM; r=baku
--HG--
extra : rebase_source : c80c5f9d7ae28286513cdb52ad76b46c240bdd5d
2014-09-01 18:26:43 -04:00
Ehsan Akhgari
0653303071 Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku
--HG--
extra : rebase_source : 01709017e97fdc96d1d53eb881efc1792118edc4
2014-09-01 20:49:25 -04:00
Phil Ringnalda
117bb1a341 Backed out 6 changesets (bug 1060982, bug 1061058, bug 1060987, bug 1061060, bug 1060930) for build bustage
CLOSED TREE

Backed out changeset c23b8418e6be (bug 1060987)
Backed out changeset a8cddc6bdffc (bug 1061060)
Backed out changeset b5af5cbdac3f (bug 1060982)
Backed out changeset 4912d451011a (bug 1060930)
Backed out changeset bdacbf453238 (bug 1061058)
Backed out changeset da6c71a8f5ae (bug 1060987)
2014-09-01 16:48:51 -07:00
Ehsan Akhgari
6c932dea6c Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku 2014-09-01 18:00:53 -04:00
Andrea Marchesini
eee60d5ec4 Bug 1058470 - Blob URL should contain the origin as part of the URI, r=bz 2014-08-31 11:40:11 +01:00
Boris Zbarsky
67df248e76 Bug 908390 followup. Fix up event timestamps on workers, and enable the test that was supposed to test for it. r=khuey pending 2014-08-30 00:56:35 -04:00
Boris Zbarsky
ed56d2edc8 Bug 908390 part 2. Implement performance.now() on workers. r=khuey
--HG--
rename : dom/workers/test/test_worker_interfaces.html => dom/workers/test/test_worker_performance_now.html
rename : dom/tests/mochitest/general/test_performance_now.html => dom/workers/test/test_worker_performance_now.js
2014-08-29 19:50:06 -04:00
Jason Orendorff
2cd0c964b7 Follow-up 2 to bug 1041631 - Make several more tests work when Symbol is not defined. no_r=me, a=RyanVM on a CLOSED TREE.
--HG--
extra : rebase_source : 16b265e2c241278bc15f8aa6a976ed736fcafcac
2014-08-29 11:36:45 -05:00
Andrea Marchesini
eca16316b6 Bug 1040924 - Ee-enable the serviceworker tests on non-Windows, r=RyanVM 2014-08-28 19:11:56 +01:00
Nikhil Marathe
d32849655e Bug 1058043 - Patch 2 - StopListeningForEvents in ServiceWorkerRegistration destructor. r=baku
--HG--
extra : rebase_source : 224f28dcb1b9604916cbdd53bf4690ef32d71be9
2014-08-27 13:33:20 -07:00
Andrea Marchesini
c33db444da Bug 1025077 - patch 2 - ServiceWorkerContainer should unregister its promise on dtor, r=nsm 2014-08-28 17:04:51 +01:00
Wes Kocher
d10230338d Backed out changeset 1ed271ffb59c (bug 786419) bug causing bug 786419 a=backout 2014-08-26 16:34:46 -07:00
Andrea Marchesini
77c2d8452a Bug 1058043 - ServiceWorkerRegistration should not keep a reference to the window, r=nsm 2014-08-26 09:17:36 +01:00
Andrea Marchesini
51c5e60fe1 Bug 1025077 - Implement ServiceWorkerContainer.ready, r=nsm 2014-08-26 09:16:03 +01:00
Nikhil Marathe
46efeb2c68 Bug 1057135 - Use MOZ_ASSERT. r=ehsan
--HG--
extra : amend_source : d6317642ffd394b129857372826edf09783d09b7
extra : transplant_source : o%1E%D7n%C9%BAe%FD%81%E1%9F%03%7D%8F%5El7%A1O%D7
2014-08-22 15:19:37 -07:00
Valentin Gosu
077e9036e0 Bug 786419 - Provide way to "set network offline" per app r=jduell 2014-08-23 06:05:56 +03:00
Nikhil Marathe
948ebc5e2c Bug 1057135 - Use MOZ_CRASH and not MOZ_ASSERT. Typo. r=bustage
--HG--
extra : transplant_source : %3B%E1D%F7%22%2C%E6x%A3d%0B%87t%08%B7%A3%05%BDs%DA
2014-08-22 15:01:06 -07:00
Nikhil Marathe
231b875967 Bug 1057135 - ServiceWorkerManager::Register() uses entry global. r=ehsan
--HG--
extra : transplant_source : %B1%3F%EA%17%81%DB%D6%EC%8A%86%3C%EE%D7%A9x%C7%0B%CD2%A0
2014-08-21 16:31:12 -07:00
Nikhil Marathe
a5dc9951ad Bug 1057136 - ServiceWorkers use longest-match for scopes. r=ehsan,bz
--HG--
extra : rebase_source : e037a3c0f7d0923a5b6f5a06afe9f22abb91d5de
2014-08-21 16:38:40 -07:00
Nikhil Marathe
ac703e92cb Bug 1011268 - Unregister algorithm. r=ehsan
--HG--
extra : rebase_source : 134f7db35f039891775cf45a6bfd2146e03b8e75
2014-07-14 10:33:44 -07:00
Ed Morley
1f8843ee31 Backed out changeset 171355fe87e1 (bug 1040924) for mochitest-1 failures on B2G desktop; CLOSED TREE 2014-08-22 15:37:52 +01:00
Andrea Marchesini
07ed0f9850 Bug 1040924 - Re-enable the serviceworkers tests on everything except Android 2.3 and B2G debug. r=RyanVM 2014-08-21 04:39:00 -04:00
Bobby Holley
b37f237317 Bug 981218 - Stop using default compartment objects in workers. r=bobowen 2014-08-21 17:13:51 -07:00
Andrea Marchesini
f4a5ca4d21 Bug 1056259 - ServiceWorkerRegistration should unregister itself when the window is destroyed. r=nsm 2014-08-20 13:30:00 -04:00
Andrea Marchesini
401a133406 Bug 1002571 - Implement navigator.serviceWorker.getRegistrations. r=nsm 2014-08-20 11:40:00 -04:00
Ben Kelly
266c4cd30b Bug 1049552 Avoid PBackground addref off main thread in GetOrCreateForCurrentThread(). r=bent 2014-08-20 19:42:00 -04:00
Reuben Morais
c0344960db Bug 1040333 - Set principal flags in WorkerPrivateParent ctor. r=khuey 2014-08-20 14:34:14 -03:00
Andrea Marchesini
1355a04e72 Bug 1043004 - Update ServiceWorkerContainer API to spec. r=bkelly 2014-08-19 09:56:00 -04:00
Tom Schuster
aaa1a77b95 Bug 792439 - Implement ES6 WeakSet. r=till 2014-08-19 12:42:13 +02:00
Lynn Tran
7bec1a6b6d Bug 1041335 - Add a mozilla::services getter for nsIServiceWorkerManager; r=ehsan 2014-08-18 21:13:14 -04:00
Bobby Holley
e70ddb7476 Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor 2014-08-14 18:47:15 -07:00
Ryan VanderMeulen
30ae466592 Backed out changesets 5b1a3161f614, 17a9673ed782, and a9b8c346d295 (bug 1052052) for B2G non-unified bustage. 2014-08-14 17:23:10 -04:00
Bobby Holley
3e4d70a655 Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor 2014-08-14 12:54:34 -07:00
Tyler Smith
64710462f9 Bug 1048595 Provide valid default ServiceWorker.state value to avoid crashing. r=bkelly 2014-08-14 11:35:21 -04:00
Seth Fowler
0fd6e994ae Bug 913586 (Part 4) - Update Maybe users in dom. r=bz
--HG--
extra : rebase_source : 7b6159b00b3bf4f919b30f1bccc8939cc04fe526
2014-08-13 15:39:41 -07:00
Andrea Marchesini
6aa8d79e5d Bug 1046240 - Expose the principal for a blob URI for chrome-only js code. r=smaug 2014-08-13 08:29:00 -04:00
Jon Coppeard
511f6ef1c5 Bug 1052388 - Rename JS_CallHeapFooTracer() functions to JS_CallFooTracer() r=terrence r=smaug 2014-08-13 10:05:22 +01:00
Bobby Holley
c1d4da74d7 Bug 1052090 - Don't try to compute main-thread-ness until after we're done with cancel shenanigans. r=bkelly 2014-08-12 12:29:50 -07:00
Martijn Wargers
4d71b5379f Bug 1032878 - Fix for various failing mochitest-plain/-chrome tests. r=jmaher, r=akachkach, r=surkov, r=cpearce 2014-08-10 20:03:50 -07:00
Bob Owen
2acc59b07c Bug 1050795 Part 1: Replace nsCxPusher in WorkerRunnable::Run. r=bholley 2014-08-08 16:06:33 +01:00
Andrea Marchesini
0c788084d3 Bug 1036484 - empty 404 worker script should emit a 'error' event, r=khuey
--HG--
rename : dom/workers/test/test_404.html => dom/workers/test/test_bug1036484.html
2014-08-10 15:33:06 +02:00
Ehsan Akhgari
41a7ea2d35 Bug 1050104 - Do not return a new console object every time self.console is called on workers; r=baku
--HG--
extra : rebase_source : f259f6677662ce019b19e22e60a167f64cf47c1d
2014-08-08 08:34:30 -04:00
Ehsan Akhgari
1ba20dc5eb Backed out changeset 9cc8465f45a5 (bug 1050104) for mochitest-4 leaks 2014-08-08 09:30:25 -04:00
Ehsan Akhgari
7257b2f870 Bug 579517 follow-up: Remove NSPR types that crept in 2014-08-08 08:39:07 -04:00
Ehsan Akhgari
d1e4d33682 Bug 1050104 - Do not return a new console object every time self.console is called on workers; r=baku 2014-08-08 08:34:30 -04:00
Andrea Marchesini
a87ad490c6 Bug 1037715 - Implement .searchParams on Location, r=bz, r=ehsan 2014-08-07 17:45:21 -07:00
Jan de Mooij
82972d112d Bug 1041148 - Move HoldJSObjects call to XMLHttpRequest constructor to simplify the code. r=bz 2014-08-06 15:23:33 -07:00
Ben Kelly
7554857347 Bug 995688 Always show scrollbars in test to avoid fade effect evicting document from BF cache. r=smaug 2014-08-06 17:26:19 -04:00
Boris Zbarsky
8c3da312f1 Bug 1017988 part 11. Codegen the definition of interface objects on worker globals. r=khuey 2014-08-04 22:20:35 -04:00
Boris Zbarsky
8b7f7ff8f1 Bug 1017988 part 10. Disallow Pref annotations on things that are exposed in workers. r=khuey 2014-08-04 22:20:35 -04:00
Boris Zbarsky
26b26e1121 Bug 1017988 part 9. Don't codegen window-only things on worker descriptors. r=khuey 2014-08-04 22:20:34 -04:00
Ms2ger
5da7619768 Bug 1043853 - Share the code for structured cloning of ImageData objects across main-thread and workers implementations; r=jst 2014-08-01 22:47:47 +02:00
Wes Kocher
7a4f0b4c18 Backed out changeset a668ab2d8dd3 (bug 1043853) for bustage 2014-08-01 14:25:10 -07:00
Ms2ger
92e6aaee17 Bug 1043853 - Share the code for structured cloning of ImageData objects across main-thread and workers implementations; r=jst 2014-08-01 22:47:47 +02:00
Andrea Marchesini
60e99f3cd4 Bug 1047398 - ServiceWorker should use WeakRef instead nsTWeakRef, r=smaug 2014-08-01 17:42:19 +01:00
Ben Kelly
3017d2858c Bug 1045756 Test DOM interfaces exposed on worker global. r=bz 2014-07-31 21:54:44 -04:00
Bobby Holley
a23211976d Bug 940321 - Eliminate ambient noScriptRval, and make it live exclusively on CompileOptions. r=jandem 2014-07-31 09:55:20 -07:00
Sean Lin
5101141c0a Bug 1000829 - getDataStores() should be able to retrieve data stores by owner. r=baku sr=jst 2014-07-17 11:53:23 +08:00
Bobby Holley
6807884378 Bug 940305 - Move extraWarnings to RuntimeOptions with a per-compartment override. r=jandem,r=khuey 2014-07-29 21:00:37 -07:00
Ehsan Akhgari
3fa82c9346 Bug 1045436 - Fix more bad implicit constructors in XPCOM; r=froydnj 2014-07-29 20:43:56 -04:00
Ben Kelly
a91096978e Bug 1045561 Use a WebIDL Func attribute to conditionally enable Fetch Headers. r=ehsan r=bz 2014-07-29 17:24:22 -04:00
Andrew McCreight
f6cd9ca46d Bug 1037510, part 2 - Reduce GGC nursery size to 1MB on workers. r=khuey 2014-07-29 15:38:14 -07:00
Andrew McCreight
44c42eea7a Bug 1037510, part 1 - Add nursery size as a parameter of CycleCollectedJSRuntime. r=khuey 2014-07-29 15:38:14 -07:00
Ben Kelly
be3c62c4a3 Bug 1037294 Move empty queue assert to ScheduleDeletion() as its no longer always valid in ClearMainEventQueue(). r=bent 2014-07-29 09:25:29 -04:00
Ben Kelly
f4d186ed5b Bug 1029620 P6 Implement Fetch Headers DOM object. r=ehsan r=jst 2014-07-28 15:28:20 -04:00
Ben Kelly
a6ae9ed383 Bug 1029620 P5 Create dom.fetch.enabled pref, defaulted to false. r=ehsan 2014-07-28 15:28:20 -04:00
Ehsan Akhgari
c8380d74dd Bug 1045067 - Fix some bad implicit constructors in dom/content/ipc; r=smaug 2014-07-28 13:17:51 -04:00
Ehsan Akhgari
dcf416b927 Bug 1044598 - Part 2: Make ServiceWorkerManager::GetServiceWorkerRegistration honor XPCOM rules; r=smaug 2014-07-28 09:57:31 -04:00
Ryan VanderMeulen
ebbb39773f Backed out changesets c6691cff88a4 and 43a7db7bf902 (bug 1044598) for bustage.
CLOSED TREE
2014-07-28 11:08:12 -04:00
Ehsan Akhgari
9196c1ddd0 Bug 1044598 - Part 2: Make ServiceWorkerManager::GetServiceWorkerRegistration honor XPCOM rules; r=smaug
--HG--
extra : rebase_source : 6fcd656cae5db25b99c70a6d2c901409fb751755
2014-07-28 09:57:31 -04:00