Catalin Badea
8b1fbc7805
Bug 1130684 - Implement Service Worker clients.claim. r=nsm,ehsan
...
--HG--
extra : rebase_source : ea1da8f6dfd8d31936c0ae495ec262581c9e5775
2015-05-14 12:41:42 -07:00
Ben Turner
86ad786706
Bug 1162218 - Make worker idle thread timeouts more strict, r=baku.
...
--HG--
extra : rebase_source : 9a8741c4ad67c782e313bc79a8eb87e4d2749649
2015-05-07 10:35:57 -07:00
Andrew McCreight
9e8f4b219e
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Boris Zbarsky
839141fb74
Bug 1157898 part 3. Fix the remaining consumers of rv.ErrorCode() in NS_ENSURE_* expressions to not do that. r=peterv
2015-04-27 09:18:52 -04:00
Nikhil Marathe
5b54bf699f
Bug 1131327 - Patch 2 - Expose to workers. r=baku
...
This patch exposes ServiceWorkerRegistration (and ServiceWorker to satisfy constraints) to workers.
For now, a null registration is returned in the worker.
--HG--
extra : rebase_source : ae1b59d5ee3b3522826ed59fcfcb31e009018ac3
2015-04-03 22:46:07 -07:00
Ben Turner
94a12266fb
Bug 1151646 - Fix static analysis bustage.
2015-04-08 18:49:38 -07:00
Ben Turner
8f3a68440b
Bug 1151646 - Cleanup, r=khuey.
2015-04-08 15:21:26 -07:00
Ben Turner
f6cb233b56
Bug 1151646 - Spin the event loop one extra time to clean up all CC'd objects before worker shutdown, r=khuey.
2015-04-08 15:20:59 -07:00
Nikhil Marathe
3b27da6f52
Bug 931249 - Patch 9 - Use ServiceWorker cache name as part of it's unique name. r=khuey
...
When a SW script is updated (it gets a new cache), if there was already an existing running worker with the same scope and script, that would be reused and the update wouldn't happen.
--HG--
extra : rebase_source : baeb7d62845aee3ce7d1b1622e883528283500dc
2015-03-19 16:40:52 -07:00
Eddy Bruël
e9a640efd2
Bug 1092102 - Rename Suspend/Resume to Freeze/Thaw;r=khuey
2015-04-01 11:00:19 +02:00
Eddy Bruël
b86b9bb514
Bug 1092102 - Implement WorkerDebuggerGlobalScope.createSandbox;r=khuey
2015-03-31 12:22:40 +02:00
Carsten "Tomcat" Book
5245fa5a7b
Backed out changeset 71abbf190d53 (bug 1092102) for static analysis build bustage on a CLOSED TREE
...
--HG--
extra : rebase_source : fb64615c90507f79d27f3ab096e6e0259cb38c3e
2015-03-31 11:14:46 +02:00
Eddy Bruël
0c47b481d2
Bug 1092102 - Implement WorkerDebuggerGlobalScope.createSandbox;r=khuey
2015-03-31 10:19:04 +02:00
Jose Antonio Olivera Ortega
60663a3ab3
Bug 1139513 - Warn and gather data if ServiceWorker hits max workers per domain limit. r=bent, r=rvitillo
2015-03-25 13:17:00 -04:00
Ehsan Akhgari
883849ee32
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
2d0841a4c7
Bug 1092102 - Implement WorkerDebugger.initialize;r=khuey
2015-03-17 11:15:19 +01:00
Ehsan Akhgari
5d46e8dcd3
Bug 1141274 - Allocate shared workers and service workers from separate namespaces; r=nsm
...
This patch makes sure that we never reuse a WorkerPrivate belonging
to a shared worker for a service worker and vice versa.
2015-03-10 22:52:22 -04:00
Nikhil Marathe
b4227d7b33
Bug 1053275 - Exempt ServiceWorkers from per domain thread limits. r=sicking
...
--HG--
extra : rebase_source : 4f48830c13e1ba471147774b7d93f4f2c795543d
2015-03-03 14:30:58 -08:00
Nikhil Marathe
af18a63f82
Bug 1133861 - Enable the Fetch API by default. r=jst
...
--HG--
extra : rebase_source : 97dc853238ad7ce4cec7277c4732bf3f4ec1b962
2015-02-22 01:52:10 -08:00
Nikhil Marathe
a817a419ab
Bug 1131882 - Associate ServiceWorkers with underlying ServiceWorkerInfo. r=baku
...
This allows controller to track state too, and provides better encapsulation.
1) Move SW setup to SWM. RuntimeService now only creates the underlying SharedWorker.
2) Require a SWInfo to create a SW. The SW holds a refptr to the info.
--HG--
extra : rebase_source : d9de8a66a45f597d1613890691d1facae51eb64e
2015-02-19 08:40:21 -08:00
Tim Taubert
2665cbe4f7
Bug 1001691 - WorkerPrivate::LoadInfo -> WorkerLoadInfo r=khuey
2015-02-12 10:50:05 +01:00
Eddy Bruël
a95bcbb9fd
Bug 1092102 - Implement a WorkerDebuggerGlobalScope;r=khuey
2015-03-04 00:51:53 +01:00
Tim Taubert
9dccd5c5ae
Backed out changeset 2ea14f386df2 (bug 1001691)
2015-03-03 19:13:23 +01:00
Tim Taubert
661d8bb7bf
Bug 1001691 - WorkerPrivate::LoadInfo -> WorkerLoadInfo r=khuey
2015-02-12 10:50:05 +01:00
Ben Kelly
cd6213057e
Bug 940273 - Part 2 - Add a pref to enable Service Worker Cache. r=ehsan
2015-03-02 14:12:00 +01:00
Ben Kelly
4d074ba44d
Bug 1118845 P2 Make SharedWorker override parent LoadGroup with custom proxy callbacks. r=khuey
2015-02-21 10:09:17 -05: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
Nikhil Marathe
3f0206f630
Bug 1113515 - Update ServiceWorker webidl. r=baku
...
--HG--
extra : rebase_source : a6143c9d741d87b79ccf3686f868b0856a32cd4b
2014-10-17 11:43:14 -07:00
Ben Turner
2be368dceb
Bug 701634 - Support IndexedDB in Workers, r=khuey+baku.
2014-12-16 22:26:15 -08:00
Dan Gohman
8bacfeb968
Bug 1054671 - Constify static callback arrays r=ehsan
2014-12-16 16:30:39 -08:00
Nigel Babu
b91168c141
Backed out changeset 6a3a0e3bfaf6 (bug 1054671) for B2G emulator build bustage on CLOSED TREE
2014-12-16 11:24:15 +05:30
Dan Gohman
d791adb2b0
Bug 1054671 - Constify static callback arrays r=ehsan
2014-12-15 20:53:58 -08:00
Botond Ballo
79d427447d
Bug 1073081 - Fix -Waddress warnings about Nuwa functions. r=khuey
...
--HG--
extra : source : 8cd5108862aaf2c579a76ac6e9c08eb69fa5f3ff
2014-11-26 19:20:03 -05:00
Ben Turner
2d1d91d847
Bug 1054638 - Notify the worker event loop when an XPCOM event is received, r=khuey.
2014-11-17 11:55:37 -08:00
Ben Turner
c8b921018d
Bug 1054638 - Move WorkerThread into its own file, r=khuey.
2014-11-14 18:47:30 -08:00
Luke Wagner
176eac56f4
Bug 1087178 - OdinMonkey: explain why 'not stored in cache' (r=bbouvier,janv)
...
--HG--
extra : rebase_source : d37893913a09d5a5b339e4ae4ee42f873d449d1e
2014-10-22 17:28:07 -05:00
Boris Zbarsky
9f372e5357
Bug 1084439 followup. Remove now-unsed enum.
2014-11-06 10:55:19 -05:00
Andrea Marchesini
9c560b7613
Bug 1082178 - JS initialization must happen using the correct preferences in workers, r=khuey
2014-10-27 09:38:14 +00:00
Boris Zbarsky
95886106af
Bug 1084439. Remove ResolveWorkerClasses in favor of [Exposed=System] annotations. r=bholley
2014-10-19 22:25:49 -04:00
Tom Schuster
bf9324688d
Bug 1069694 - Remove OldDebugAPI from the browser. r=shu
2014-10-12 19:37:41 +02:00
Andrew McCreight
94f9448048
Bug 943516 - Add weak map wrapper preserving key callback to workers. r=peterv on a CLOSED TREE
2014-10-08 16:27:55 -07:00
Andrea Marchesini
bee67f1318
Bug 1078163 - WorkerNavigator strings should honor general.*.override prefs in e10s mode, r=khuey
2014-10-08 13:56:50 +01:00
Valentin Gosu
2716c07b5f
Bug 786419 - Part 11 - Address possible issues with offline notifications in nsGlobalWindow and WorkerPrivate r=bent
...
Part 2 of this bug adds nsGlobalWindow as an observer for the app-offline
notification. There are however a few corner cases we haven't handled.
For example: If the browser is offline, and an app is made offline,
there should be no offline event dispatched.
Also, WorkerPrivate should ignore offline events that cause no change
in its offline state.
2014-08-27 05:42:13 +03:00
Valentin Gosu
0820a97576
Bug 786419 - Part 10 - Fix app wrongly reporting an offline status r=jduell
...
In order for the content process to have an up-to-date table of which apps are
offline, we send that status in TabParent::LoadURL. However, the fact that
IsAppOffline returned true when the browser was offline, caused us to send
the offline status to content processes, and caused Bug 1058718.
This also updates the UUID for nsIOService.
2014-08-27 05:25:47 +03:00
Valentin Gosu
a1b5100a48
Bug 786419 - Part 2 - Modify calls to NS_IsOffline to check for NS_IsAppOffline as well r=jduell,sicking
2014-08-23 06:06:56 +03:00
Nikhil Marathe
75000a49cd
Bug 1049599 - ServiceWorkers should also be canceled when a window goes away. r=bent
2014-08-23 20:25:08 -07:00
Andrea Marchesini
1d21930927
Bug 1069401 - UserAgent cannot be changed for specific websites in workers, r=khuey, r=bz
2014-09-24 17:09:50 +01:00
Carsten "Tomcat" Book
7237bc85fb
Backed out changeset 13028d2039e8 (bug 1069401) for b2g m1 test failures
2014-09-24 12:40:43 +02:00
Andrea Marchesini
6763c7cf68
Bug 1069401 - UserAgent cannot be changed for specific websites in workers, r=khuey, r=bz
2014-09-23 22:26:00 +02:00
Andrea Marchesini
5d2981cbd7
Bug 1062920 - WorkerNavigator strings should honor general.*.override prefs, r=khuey
2014-09-23 20:11:18 +01:00
Carsten "Tomcat" Book
597a408636
Backed out changeset 2a7cae8b0b5d (bug 1067552) for Android 4.0 M8 test failures
2014-09-16 06:52:44 +02:00
Wes Kocher
196212ea47
Merge m-c to b-i a=merge
2014-09-15 16:47:02 -07:00
Jon Coppeard
93fa9ca8db
Bug 1045945 - Initialize the destroy principals callback for workers r=bent
2014-09-15 16:49:11 +01:00
Gregor Wagner
76d5902ffa
Bug 1067552 - Assertion in RuntimeService::ShutdownIdleThreads. r=bent
2014-09-15 22:09:10 +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
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
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
Wes Kocher
d10230338d
Backed out changeset 1ed271ffb59c (bug 786419) bug causing bug 786419 a=backout
2014-08-26 16:34:46 -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
Ben Kelly
266c4cd30b
Bug 1049552 Avoid PBackground addref off main thread in GetOrCreateForCurrentThread(). r=bent
2014-08-20 19:42:00 -04:00
Ehsan Akhgari
7257b2f870
Bug 579517 follow-up: Remove NSPR types that crept in
2014-08-08 08:39:07 -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
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
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
a6ae9ed383
Bug 1029620 P5 Create dom.fetch.enabled pref, defaulted to false. r=ehsan
2014-07-28 15:28:20 -04:00
Jon Coppeard
8b4f6eb2b3
Bug 1017141 - Add prefs for setting min/max empty chunk counts r=bent
2014-07-16 10:01:20 +01:00
Bobby Holley
d204a01c8f
Bug 940316 - Move werror to RuntimeOptions. r=jandem
2014-07-11 08:30:47 -07:00
Ben Kelly
9538652bf1
Bug 1013571 Reland support for PBackground on workers. r=bent
2014-07-09 17:39:18 -04:00
Wes Kocher
25c80c8653
Backed out changeset 725b7db309c3 (bug 1013571) for causing the failures in 1032783
2014-07-08 14:43:46 -07:00
Benoit Jacob
18c3e0073a
Bug 1035394 - Fix dangerous public destructors in dom - r=ehsan
2014-07-08 17:23:17 -04:00
Ben Kelly
273b405632
Bug 1013571 Reland support for PBackground on workers. r=bent
2014-07-08 14:57:16 -04:00
Bobby Holley
1c19351c9a
Bug 1029933 - Give BackstagePass an Enumerate hook to match its NewResolve hook. r=Waldo
...
This is required in order to avoid exposing resolve hook effects when
Object.freeze() is invoked on the global. The freeze() call first enumerates
the object, after which point any lazy properties need to be resolve so that
we can safely mark the object as non-extensible.
2014-07-04 12:41:27 -07:00
Ben Kelly
442902ef98
Backout 303027a0da95 (bug 1013571) due to persistent oranges (bug 1032011, bug 1032605, bug 1032783)
2014-07-04 00:31:59 -04:00
Nikhil Marathe
20b913a8fb
Bug 984048 - Patch 5 - ServiceWorker [[Install]] algorithm. r=ehsan, khuey
...
--HG--
extra : rebase_source : 6c710937fde2ebe679908690c1295927eb4c195d
2014-07-02 17:48:50 -07:00
Boris Zbarsky
799cac3554
Bug 1033157. Move the setup of the JSRuntime DOM callbacks into the CycleCollectedJSRuntime constructor, so we don't have to separatedly do it for workers, windows, and xpcshell. r=khuey
2014-07-02 15:16:42 -04:00
Bob Owen
d2ed64caf7
Bug 1030707 - Part 6: Replace AutoPushJSContext in RuntimeService::ResumeWorkersForWindow. r=bholley
2014-06-30 20:37:25 +01:00
Bob Owen
635fbe5acc
Bug 1030707 - Part 5: Replace AutoPushJSContext in SynchronizeAndResumeRunnable::Run. r=bholley
2014-07-01 11:25:27 +01:00
Bob Owen
424d94c7f3
Bug 1030707 - Part 4: Replace AutoPushJSContext in RuntimeService::SuspendWorkersForWindow. r=bholley
2014-06-30 20:17:09 +01:00
Bob Owen
306db4cf9d
Bug 1030707 - Part 3: Replace AutoPushJSContext in RuntimeService::CancelWorkersForWindow. r=bholley
2014-06-30 16:21:27 +01:00
Wes Kocher
40b922a6e4
Backed out 3 changesets (bug 984048) for breaking hazard builds.
...
Backed out changeset 2d0c34b7045f (bug 984048)
Backed out changeset c18211a2afa1 (bug 984048)
Backed out changeset 30fa36882d57 (bug 984048)
2014-07-01 20:29:08 -07:00
Nikhil Marathe
012736aea3
Bug 984048 - Patch 5 - ServiceWorker [[Install]] algorithm. r=ehsan, khuey
2014-07-01 16:43:22 -07:00
Ryan VanderMeulen
a510b05849
Backed out changesets bacfdc83424a and 7d12b5d7446f (bug 984048) for crashes.
2014-06-30 17:22:47 -04:00
Nikhil Marathe
d79746f50d
Bug 984048 - Patch 5 - ServiceWorker [[Install]] algorithm. r=ehsan, khuey
...
--HG--
extra : rebase_source : 5f9d890c655d7f5e77851a8a3bd6b6fd3f9bf108
2014-06-30 13:31:24 -07:00
Ben Kelly
af266f98f6
Bug 1013571 Support PBackground on workers. r=bent
2014-06-27 13:36:25 -07:00
Nikhil Marathe
4a3b901700
Bug 1025082 - ServiceWorker related WebIDL changes. r=ehsan,jst
...
--HG--
extra : amend_source : c8d89097ddfb423ba2eb39beb469c48b69944a89
2014-06-17 11:01:28 -07:00
Ben Kelly
8bf2933ed2
Bug 1025973 - Part 1: Rename GlobalObject::GetContext() to Context(). r=bz
2014-06-16 14:08:00 -04:00
Brian Hackett
4e0b65ef88
Bug 941805 - Use helper thread pool in all runtimes in a process, r=billm.
2014-05-29 13:06:23 -06:00
Nikhil Marathe
535e4dce83
Bug 982749 - RuntimeService::CreateServiceWorker and associated.
2014-05-29 09:19:00 -07:00
Kyle Huey
8c5cca136c
Bug 996133: Remove unnecessary NS_DISPATCH_NORMAL arguments to NS_DispatchToMainThread. r=ehsan
2014-05-23 12:53:17 -07:00
Brian Hackett
e73115995a
Bug 976446 - Add port of irregexp regexp engine, and use by default, r=jandem.
2014-05-15 16:48:21 -07:00
Nikhil Marathe
612c364b9a
Bug 975799 - WorkerTypeServiceWorker. r=bent
...
--HG--
extra : amend_source : f5baf0af33f762264a2e5bc2b1c3f20c63595147
2014-05-12 09:11:15 -07:00
Chris Peterson
aca9b90afe
Bug 990764 - Replace MOZ_ASSUME_UNREACHABLE in dom. r=smaug
2014-04-20 00:36:40 -07:00
Birunthan Mohanathas
5f1fde8824
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Jason Orendorff
4740c9dea6
Bug 547140, part 4 - Remove flags argument from resolve hooks. r=Waldo.
2014-04-25 16:11:02 -05:00
Henri Sivonen
fcb1c588ef
Bug 999349 - Add "DO NOT USE" annotation to nsIPlatformCharset. r=emk
2014-04-22 12:35:44 +03:00
Brian Hackett
ae18c1f2c7
Bug 972817 - Enable type inference unconditionally, r=jandem.
2014-03-18 09:05:16 -06:00
Jason Orendorff
3e89ce1e7c
Bug 977287, part 1 - Rename the "operation callback" to "interrupt callback". r=luke.
2014-03-10 16:28:43 -05:00
Jan de Mooij
4c9d5d418c
Bug 939562 part 3 - Move JIT flags from ContextOptions to RuntimeOptions. r=bent,bholley,luke
...
--HG--
extra : rebase_source : cea8b4ab3024ed49e8be688f7cf4819bba0f5d29
2014-02-26 10:25:36 +01:00