Commit Graph

405 Commits

Author SHA1 Message Date
Ben Turner
5a13f9c974 Bug 1151646 - Fix static analysis bustage. 2015-04-08 18:49:38 -07:00
Ben Turner
0362c82f44 Bug 1151646 - Cleanup, r=khuey. 2015-04-08 15:21:26 -07:00
Ben Turner
8e79d6b036 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
2b639b0da8 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.
2015-03-19 16:40:52 -07:00
Eddy Bruël
f14ffa1930 Bug 1092102 - Rename Suspend/Resume to Freeze/Thaw;r=khuey 2015-04-01 11:00:19 +02:00
Eddy Bruël
52320c8f3f Bug 1092102 - Implement WorkerDebuggerGlobalScope.createSandbox;r=khuey 2015-03-31 12:22:40 +02:00
Carsten "Tomcat" Book
87caf9c566 Backed out changeset 71abbf190d53 (bug 1092102) for static analysis build bustage on a CLOSED TREE 2015-03-31 11:14:46 +02:00
Eddy Bruël
407399aad3 Bug 1092102 - Implement WorkerDebuggerGlobalScope.createSandbox;r=khuey 2015-03-31 10:19:04 +02:00
Jose Antonio Olivera Ortega
8ed2dc4e48 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
ea41d8de48 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
2cc96733c3 Bug 1092102 - Implement WorkerDebugger.initialize;r=khuey 2015-03-17 11:15:19 +01:00
Ehsan Akhgari
3c5d37726d 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
66caf939ef Bug 1053275 - Exempt ServiceWorkers from per domain thread limits. r=sicking 2015-03-03 14:30:58 -08:00
Nikhil Marathe
37bb7b7dc4 Bug 1133861 - Enable the Fetch API by default. r=jst 2015-02-22 01:52:10 -08:00
Nikhil Marathe
bd7f32f7ea 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.
2015-02-19 08:40:21 -08:00
Tim Taubert
da81f4c143 Bug 1001691 - WorkerPrivate::LoadInfo -> WorkerLoadInfo r=khuey 2015-02-12 10:50:05 +01:00
Eddy Bruël
ee4da668fb Bug 1092102 - Implement a WorkerDebuggerGlobalScope;r=khuey 2015-03-04 00:51:53 +01:00
Tim Taubert
1ceefc2965 Backed out changeset 2ea14f386df2 (bug 1001691) 2015-03-03 19:13:23 +01:00
Tim Taubert
e5f61834ab Bug 1001691 - WorkerPrivate::LoadInfo -> WorkerLoadInfo r=khuey 2015-02-12 10:50:05 +01:00
Ben Kelly
ecc4ff0c1f Bug 940273 - Part 2 - Add a pref to enable Service Worker Cache. r=ehsan 2015-03-02 14:12:00 +01:00
Ben Kelly
dad79a535a Bug 1118845 P2 Make SharedWorker override parent LoadGroup with custom proxy callbacks. r=khuey 2015-02-21 10:09:17 -05:00
Jon Coppeard
46adfcf343 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
cdee30a776 Bug 1113515 - Update ServiceWorker webidl. r=baku 2014-10-17 11:43:14 -07:00
Ben Turner
c8ed07d8be Bug 701634 - Support IndexedDB in Workers, r=khuey+baku. 2014-12-16 22:26:15 -08:00
Dan Gohman
ca82de971f Bug 1054671 - Constify static callback arrays r=ehsan 2014-12-16 16:30:39 -08:00
Nigel Babu
a4834061dc Backed out changeset 6a3a0e3bfaf6 (bug 1054671) for B2G emulator build bustage on CLOSED TREE 2014-12-16 11:24:15 +05:30
Dan Gohman
8a80af08e2 Bug 1054671 - Constify static callback arrays r=ehsan 2014-12-15 20:53:58 -08:00
Botond Ballo
a8727de956 Bug 1073081 - Fix -Waddress warnings about Nuwa functions. r=khuey 2014-11-26 19:20:03 -05:00
Ben Turner
a6e5aecf75 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
e61b8db0b2 Bug 1054638 - Move WorkerThread into its own file, r=khuey. 2014-11-14 18:47:30 -08:00
Luke Wagner
0573a1636d Bug 1087178 - OdinMonkey: explain why 'not stored in cache' (r=bbouvier,janv) 2014-10-22 17:28:07 -05:00
Boris Zbarsky
e59cc41fa3 Bug 1084439 followup. Remove now-unsed enum. 2014-11-06 10:55:19 -05:00
Andrea Marchesini
76ba2b1b1a Bug 1082178 - JS initialization must happen using the correct preferences in workers, r=khuey 2014-10-27 09:38:14 +00:00
Boris Zbarsky
14cd17f94d Bug 1084439. Remove ResolveWorkerClasses in favor of [Exposed=System] annotations. r=bholley 2014-10-19 22:25:49 -04:00
Tom Schuster
4e0dfb7481 Bug 1069694 - Remove OldDebugAPI from the browser. r=shu 2014-10-12 19:37:41 +02:00
Andrew McCreight
b469269636 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
3136432396 Bug 1078163 - WorkerNavigator strings should honor general.*.override prefs in e10s mode, r=khuey 2014-10-08 13:56:50 +01:00
Valentin Gosu
ea0300f6f9 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
25e7f0916c 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
cc125b1da7 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
a3fb6dffe9 Bug 1049599 - ServiceWorkers should also be canceled when a window goes away. r=bent 2014-08-23 20:25:08 -07:00
Andrea Marchesini
b5bbcb0b08 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
7ea35f7a10 Backed out changeset 13028d2039e8 (bug 1069401) for b2g m1 test failures 2014-09-24 12:40:43 +02:00
Andrea Marchesini
e2d6bffa2d 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
b1c52360d3 Bug 1062920 - WorkerNavigator strings should honor general.*.override prefs, r=khuey 2014-09-23 20:11:18 +01:00
Carsten "Tomcat" Book
778b688b24 Backed out changeset 2a7cae8b0b5d (bug 1067552) for Android 4.0 M8 test failures 2014-09-16 06:52:44 +02:00
Wes Kocher
103936ce7b Merge m-c to b-i a=merge 2014-09-15 16:47:02 -07:00
Jon Coppeard
00afc59618 Bug 1045945 - Initialize the destroy principals callback for workers r=bent 2014-09-15 16:49:11 +01:00
Gregor Wagner
711129277c Bug 1067552 - Assertion in RuntimeService::ShutdownIdleThreads. r=bent 2014-09-15 22:09:10 +02:00
Bobby Holley
f8c3f22448 Bug 981198 - Make JS_{Get,Set}ErrorReporter take a JSRuntime. r=terrence,r=bz 2014-09-09 16:02:10 -07:00