Commit Graph

278 Commits

Author SHA1 Message Date
Botond Ballo
df0906463c Bug 1073081 - Fix -Waddress warnings about Nuwa functions. r=khuey
--HG--
extra : source : 8cd5108862aaf2c579a76ac6e9c08eb69fa5f3ff
2014-11-26 19:20:03 -05:00
Ben Turner
81be975ba8 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
5fc35366c8 Bug 1054638 - Move WorkerThread into its own file, r=khuey. 2014-11-14 18:47:30 -08:00
Luke Wagner
4f56ee7daf 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
476420891a Bug 1084439 followup. Remove now-unsed enum. 2014-11-06 10:55:19 -05:00
Andrea Marchesini
3da5498e45 Bug 1082178 - JS initialization must happen using the correct preferences in workers, r=khuey 2014-10-27 09:38:14 +00:00
Boris Zbarsky
54a7afdac9 Bug 1084439. Remove ResolveWorkerClasses in favor of [Exposed=System] annotations. r=bholley 2014-10-19 22:25:49 -04:00
Tom Schuster
0db58380c0 Bug 1069694 - Remove OldDebugAPI from the browser. r=shu 2014-10-12 19:37:41 +02:00
Andrew McCreight
50a4226f7d 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
d6d5914a50 Bug 1078163 - WorkerNavigator strings should honor general.*.override prefs in e10s mode, r=khuey 2014-10-08 13:56:50 +01:00
Valentin Gosu
ba5dac5ccb 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
1057f197c3 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
3fc8099b21 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
32a406e997 Bug 1049599 - ServiceWorkers should also be canceled when a window goes away. r=bent 2014-08-23 20:25:08 -07:00
Andrea Marchesini
308a9b24dc 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
f9320e7667 Backed out changeset 13028d2039e8 (bug 1069401) for b2g m1 test failures 2014-09-24 12:40:43 +02:00
Andrea Marchesini
9dc4fd68a2 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
da09ccff7b Bug 1062920 - WorkerNavigator strings should honor general.*.override prefs, r=khuey 2014-09-23 20:11:18 +01:00
Carsten "Tomcat" Book
e4f0706dc6 Backed out changeset 2a7cae8b0b5d (bug 1067552) for Android 4.0 M8 test failures 2014-09-16 06:52:44 +02:00
Wes Kocher
6e013e9ba9 Merge m-c to b-i a=merge 2014-09-15 16:47:02 -07:00
Jon Coppeard
27e45aa4dd Bug 1045945 - Initialize the destroy principals callback for workers r=bent 2014-09-15 16:49:11 +01:00
Gregor Wagner
999a08b6c5 Bug 1067552 - Assertion in RuntimeService::ShutdownIdleThreads. r=bent 2014-09-15 22:09:10 +02:00
Bobby Holley
16ad956f14 Bug 981198 - Make JS_{Get,Set}ErrorReporter take a JSRuntime. r=terrence,r=bz 2014-09-09 16:02:10 -07:00
Chris Peterson
b3b77faddd Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem 2014-07-21 21:43:21 -07:00
Andrea Marchesini
59f5fccb96 Bug 925849 - WorkerNavigator implements NavigatorLanguage, r=khuey 2014-09-05 15:26:34 +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
Wes Kocher
c7dd458b8c Backed out changeset 1ed271ffb59c (bug 786419) bug causing bug 786419 a=backout 2014-08-26 16:34:46 -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
Ben Kelly
8e1d2af013 Bug 1049552 Avoid PBackground addref off main thread in GetOrCreateForCurrentThread(). r=bent 2014-08-20 19:42:00 -04:00
Ehsan Akhgari
8d232f5b1b Bug 579517 follow-up: Remove NSPR types that crept in 2014-08-08 08:39:07 -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
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
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
adfd86b42b Bug 1029620 P5 Create dom.fetch.enabled pref, defaulted to false. r=ehsan 2014-07-28 15:28:20 -04:00
Jon Coppeard
0cd5bbd52c Bug 1017141 - Add prefs for setting min/max empty chunk counts r=bent 2014-07-16 10:01:20 +01:00
Bobby Holley
3b3c803c5f Bug 940316 - Move werror to RuntimeOptions. r=jandem 2014-07-11 08:30:47 -07:00
Ben Kelly
e6c5c8808f Bug 1013571 Reland support for PBackground on workers. r=bent 2014-07-09 17:39:18 -04:00
Wes Kocher
5325f9ea14 Backed out changeset 725b7db309c3 (bug 1013571) for causing the failures in 1032783 2014-07-08 14:43:46 -07:00
Benoit Jacob
57ed0c585c Bug 1035394 - Fix dangerous public destructors in dom - r=ehsan 2014-07-08 17:23:17 -04:00
Ben Kelly
c765ce3a6e Bug 1013571 Reland support for PBackground on workers. r=bent 2014-07-08 14:57:16 -04:00
Bobby Holley
0f927ebd64 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
d0ce16a691 Backout 303027a0da95 (bug 1013571) due to persistent oranges (bug 1032011, bug 1032605, bug 1032783) 2014-07-04 00:31:59 -04:00
Nikhil Marathe
37c5d788b2 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
828e5a160f 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
3209951196 Bug 1030707 - Part 6: Replace AutoPushJSContext in RuntimeService::ResumeWorkersForWindow. r=bholley 2014-06-30 20:37:25 +01:00
Bob Owen
95e7d08113 Bug 1030707 - Part 5: Replace AutoPushJSContext in SynchronizeAndResumeRunnable::Run. r=bholley 2014-07-01 11:25:27 +01:00
Bob Owen
0e03ff41f5 Bug 1030707 - Part 4: Replace AutoPushJSContext in RuntimeService::SuspendWorkersForWindow. r=bholley 2014-06-30 20:17:09 +01:00
Bob Owen
6c7bce274e Bug 1030707 - Part 3: Replace AutoPushJSContext in RuntimeService::CancelWorkersForWindow. r=bholley 2014-06-30 16:21:27 +01:00
Wes Kocher
bbc09af3cc 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