Commit Graph

1194 Commits

Author SHA1 Message Date
Andrea Marchesini
59f5fccb96 Bug 925849 - WorkerNavigator implements NavigatorLanguage, r=khuey 2014-09-05 15:26:34 +01:00
Christoph Kerschbaumer
42b948f5dd Bug 1062529 - Split GetChannelPrincipal into GetChannelResultPrincipal and GetChannelURIPrincipal. r=bz 2014-08-06 16:05:40 -07:00
Ryan VanderMeulen
3164f3e5f7 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
c77f513ba7 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
0f93dac9a3 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
9ab95e5bd7 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
27f6269f74 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
2c1b865bd5 Bug 1060517 - dom/workers/test/serviceworkers/test_unregister.html must use 'ready', r=nsm 2014-09-03 16:47:49 +01:00
Wes Kocher
5580b0eaf5 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
e6ef5951be 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
dc60a6e2b1 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
1ad2186153 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
70e37013d7 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
9485470265 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
c215c6b6bf Bug 1059174 - Allow ServiceWorkers over http on localhost, r=nsm 2014-09-02 21:07:55 +01:00
Andrea Marchesini
d81de203d4 Bug 1060621 - WorkerScope should CC mLocation and mNavigator, r=bz 2014-09-02 21:02:06 +01:00
Ehsan Akhgari
bc7cc3893c 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
0b2aaa5f23 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
b656763114 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
f1391c83bf Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku 2014-09-01 18:00:53 -04:00
Andrea Marchesini
35125820b7 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
8df706123f 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
1a59939ac3 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
8ae7ff2a44 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
7fe93c6acb Bug 1040924 - Ee-enable the serviceworker tests on non-Windows, r=RyanVM 2014-08-28 19:11:56 +01:00
Nikhil Marathe
4cf96ddcba 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
aefa99f9ae Bug 1025077 - patch 2 - ServiceWorkerContainer should unregister its promise on dtor, r=nsm 2014-08-28 17:04:51 +01:00
Wes Kocher
c7dd458b8c Backed out changeset 1ed271ffb59c (bug 786419) bug causing bug 786419 a=backout 2014-08-26 16:34:46 -07:00
Andrea Marchesini
2fbc05383c Bug 1058043 - ServiceWorkerRegistration should not keep a reference to the window, r=nsm 2014-08-26 09:17:36 +01:00
Andrea Marchesini
4c908a6e53 Bug 1025077 - Implement ServiceWorkerContainer.ready, r=nsm 2014-08-26 09:16:03 +01:00
Nikhil Marathe
c27bb9264b 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
90677f4d7d Bug 786419 - Provide way to "set network offline" per app r=jduell 2014-08-23 06:05:56 +03:00
Nikhil Marathe
c7acebc632 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
e8762c026e 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
e191a967d9 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
99ab26d803 Bug 1011268 - Unregister algorithm. r=ehsan
--HG--
extra : rebase_source : 134f7db35f039891775cf45a6bfd2146e03b8e75
2014-07-14 10:33:44 -07:00
Ed Morley
c4a81b670c 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
c8048849b3 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
5aba854bf7 Bug 981218 - Stop using default compartment objects in workers. r=bobowen 2014-08-21 17:13:51 -07:00
Andrea Marchesini
c36595a55e Bug 1056259 - ServiceWorkerRegistration should unregister itself when the window is destroyed. r=nsm 2014-08-20 13:30:00 -04:00
Andrea Marchesini
93621e30cd Bug 1002571 - Implement navigator.serviceWorker.getRegistrations. r=nsm 2014-08-20 11:40:00 -04:00
Ben Kelly
8e1d2af013 Bug 1049552 Avoid PBackground addref off main thread in GetOrCreateForCurrentThread(). r=bent 2014-08-20 19:42:00 -04:00
Reuben Morais
b12088712e Bug 1040333 - Set principal flags in WorkerPrivateParent ctor. r=khuey 2014-08-20 14:34:14 -03:00
Andrea Marchesini
bd3a7549ff Bug 1043004 - Update ServiceWorkerContainer API to spec. r=bkelly 2014-08-19 09:56:00 -04:00
Tom Schuster
073611f591 Bug 792439 - Implement ES6 WeakSet. r=till 2014-08-19 12:42:13 +02:00
Lynn Tran
36bc853044 Bug 1041335 - Add a mozilla::services getter for nsIServiceWorkerManager; r=ehsan 2014-08-18 21:13:14 -04:00
Bobby Holley
7c7704aa07 Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor 2014-08-14 18:47:15 -07:00
Ryan VanderMeulen
7c3098f03b Backed out changesets 5b1a3161f614, 17a9673ed782, and a9b8c346d295 (bug 1052052) for B2G non-unified bustage. 2014-08-14 17:23:10 -04:00
Bobby Holley
e5da39b71b Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor 2014-08-14 12:54:34 -07:00
Tyler Smith
1733611a3b Bug 1048595 Provide valid default ServiceWorker.state value to avoid crashing. r=bkelly 2014-08-14 11:35:21 -04:00
Seth Fowler
d9a982d9dc 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
98f8480b4f 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
a4a71fde44 Bug 1052388 - Rename JS_CallHeapFooTracer() functions to JS_CallFooTracer() r=terrence r=smaug 2014-08-13 10:05:22 +01:00
Bobby Holley
71e6510763 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
174ea37131 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
30b9998991 Bug 1050795 Part 1: Replace nsCxPusher in WorkerRunnable::Run. r=bholley 2014-08-08 16:06:33 +01:00
Andrea Marchesini
fb92456e66 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
804ff9e81c 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
bb58dfc692 Backed out changeset 9cc8465f45a5 (bug 1050104) for mochitest-4 leaks 2014-08-08 09:30:25 -04:00
Ehsan Akhgari
8d232f5b1b Bug 579517 follow-up: Remove NSPR types that crept in 2014-08-08 08:39:07 -04:00
Ehsan Akhgari
fbbaa34f23 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
190b960292 Bug 1037715 - Implement .searchParams on Location, r=bz, r=ehsan 2014-08-07 17:45:21 -07:00
Jan de Mooij
1128c60ac3 Bug 1041148 - Move HoldJSObjects call to XMLHttpRequest constructor to simplify the code. r=bz 2014-08-06 15:23:33 -07:00
Ben Kelly
ae760379af 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
5987fa8bbc 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
78f080efdd 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
5c1de8f9d4 Bug 1017988 part 9. Don't codegen window-only things on worker descriptors. r=khuey 2014-08-04 22:20:34 -04:00
Ms2ger
c120fbc019 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
bae887a097 Backed out changeset a668ab2d8dd3 (bug 1043853) for bustage 2014-08-01 14:25:10 -07:00
Ms2ger
f1e52a81b4 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
042b7cf53f Bug 1047398 - ServiceWorker should use WeakRef instead nsTWeakRef, r=smaug 2014-08-01 17:42:19 +01:00
Ben Kelly
233e0de412 Bug 1045756 Test DOM interfaces exposed on worker global. r=bz 2014-07-31 21:54:44 -04:00
Bobby Holley
944d92b89b Bug 940321 - Eliminate ambient noScriptRval, and make it live exclusively on CompileOptions. r=jandem 2014-07-31 09:55:20 -07:00
Sean Lin
a0abec6ac4 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
41287f115d 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
38ec6af068 Bug 1045436 - Fix more bad implicit constructors in XPCOM; r=froydnj 2014-07-29 20:43:56 -04:00
Ben Kelly
03e77dbb2f 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
ab57157ec3 Bug 1037510, part 2 - Reduce GGC nursery size to 1MB on workers. r=khuey 2014-07-29 15:38:14 -07:00
Andrew McCreight
532e925036 Bug 1037510, part 1 - Add nursery size as a parameter of CycleCollectedJSRuntime. r=khuey 2014-07-29 15:38:14 -07:00
Ben Kelly
9a3c97f159 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
5c896f43ef Bug 1029620 P6 Implement Fetch Headers DOM object. r=ehsan r=jst 2014-07-28 15:28:20 -04:00
Ben Kelly
adfd86b42b Bug 1029620 P5 Create dom.fetch.enabled pref, defaulted to false. r=ehsan 2014-07-28 15:28:20 -04:00
Ehsan Akhgari
13b9d95037 Bug 1045067 - Fix some bad implicit constructors in dom/content/ipc; r=smaug 2014-07-28 13:17:51 -04:00
Ehsan Akhgari
29e9acc005 Bug 1044598 - Part 2: Make ServiceWorkerManager::GetServiceWorkerRegistration honor XPCOM rules; r=smaug 2014-07-28 09:57:31 -04:00
Ryan VanderMeulen
7fd54e73a0 Backed out changesets c6691cff88a4 and 43a7db7bf902 (bug 1044598) for bustage.
CLOSED TREE
2014-07-28 11:08:12 -04:00
Ehsan Akhgari
15881d17fe 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
Ms2ger
e99bd12a4b Bug 1043963 - Collapse test-only moz.build files under dom/ into ancestor moz.build files; r=ted
There is very little benefit to having another layer of moz.build files, and
removing them will speed up the build a minimal amount. It also paves the way
for removing TEST_DIRS, which could simplify the build system somewhat.
2014-07-26 08:17:24 +02:00
Nikhil Marathe
a0036c576d Bug 1002570 - Return valid ServiceWorker instances for .installing, .waiting, .active and .controller. r=ehsan
--HG--
extra : transplant_source : %B2%1D%A4%8D%04%E9%BE%D9%C1%CC%C89%F0%07%07%15%B1Df%F1
2014-07-23 14:05:08 -07:00
Nikhil Marathe
144f4ed277 Bug 984048: Part 8 - Activate algorithm. r=ehsan,bent
--HG--
extra : rebase_source : 366eabae6bbd60f3223725da31c7175e6b3603db
2014-07-11 13:07:59 -07:00
Nikhil Marathe
3690161f9c Bug 984048 - Temporarily disable serviceworker updatefound test. r=test-only
The updatefound test uses some bits that haven't landed yet, namely the ability to access running ServiceWorker instances using navigator.serviceWorker.controller.

--HG--
extra : rebase_source : dfacd3352d6d09c68ae1debcc0ce5f81127161e7
2014-07-23 13:23:32 -07:00
Nikhil Marathe
5046cd6a14 Bug 984048 - Add non-null installing worker check to FinishInstall. r=ehsan
--HG--
extra : rebase_source : bb459bc5bddca875099584446c65b2909f92b343
2014-07-22 18:18:48 -07:00
Alexandre Poirot
5a3800bc64 Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal 2014-07-02 15:40:56 -07:00
Jonathan Griffin
efbbf73c27 Backed out changeset 64586374a208 on a CLOSED TREE 2014-07-22 18:29:57 -07:00
Alexandre Poirot
09c66c2ebd Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal 2014-07-02 15:40:56 -07:00
Jonathan Griffin
0cd20a2c49 Backout 4f6d9db92389 for bustage on a CLOSED TREE 2014-07-22 17:55:50 -07:00
Mike Hommey
d10b15b035 Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Alexandre Poirot
c044256760 Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files. r=ahal 2014-07-02 15:40:56 -07:00
Nikhil Marathe
5f5ae44de2 Bug 984048 - Part 7 - Documents register themselves with corresponding ServiceWorkerInfo. r=bz
--HG--
extra : transplant_source : %FD%9BD%8C%E4a%A9%CB9%17L%EE%E38%11%A1t%8A%3Bs
2014-07-20 23:25:44 -07:00
Nikhil Marathe
86f5bb969b Bug 1023547 - Fix intermittent dom/workers/test/test_promise.html failure. r=bz
--HG--
extra : transplant_source : %F5%A9%DER%BA%11%E3%2C%E3R%C8%40%F3%5E%D5%C3%A6%FE%9D%90
2014-07-18 18:13:47 -07:00
Ryan VanderMeulen
379f8a7ad4 Backed out changeset 38bfa2af2bd8 (bug 1023547) for making test_promise.html perma-fail. 2014-07-20 15:39:04 -04:00