Nikhil Marathe
0db24a2c7c
Bug 1173389 - Disable ServiceWorker network interception by default. r=ehsan
...
--HG--
extra : rebase_source : 6309f011f978f08c4f104123910f7d8d9e56045a
2015-06-12 16:28:13 -07:00
Paolo Amadini
0697364b3d
Bug 1158133 - Add a way to disable async stacks, and disable by default on mobile platforms. r=bent,jimb
...
--HG--
extra : rebase_source : 440284ded7a60d44430cd0a91fd946fa4c76c987
2015-06-09 11:17:09 +02:00
Jose Antonio Olivera Ortega
88a9211951
Bug 1115820 - Add telemetry to ServiceWorkers. r=nsm, r=vladan
...
--HG--
extra : rebase_source : 69547573525bcea989d24e0a0293f6df9e7f90e1
2015-06-05 08:11:18 +02:00
Eddy Bruël
27446f880e
Bug 1166847 - Implement OpaqueCrossCompartmentWrapper;r=evilpies
2015-06-02 16:54:54 +02:00
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
Luke Wagner
b7edb7cae1
Bug 963588 - asmjscache: place cache entries apps that request AOT compilation in persistent storage (r=janv)
...
--HG--
extra : rebase_source : 95bc3d02cb1a7f2728d2615e8b992e0a2b2397f1
2014-03-05 14:47:10 -06:00
Ben Turner
7e7f629257
Bug 975695, r=khuey.
2014-03-04 15:09:23 -08:00
Ed Morley
cbfe2d6c71
Backed out changeset 508848ad378a (bug 939562) for causing bug 978450
2014-03-03 16:54:26 +00:00
Jan de Mooij
f3ddd05d72
Bug 939562 part 3 - Move JIT flags from ContextOptions to RuntimeOptions. r=bent,bholley,luke
...
--HG--
extra : rebase_source : e25c6f5f381a972c472fb8a845c737fb31617682
2014-02-26 10:25:36 +01:00
L. David Baron
03ba2e465b
Bug 976350 patch 1: Move the contents of nsTraceRefcnt.h into nsISupportsImpl.h. r=bsmedberg
...
This makes sense since the file no longer contains anything with the
nsTraceRefcnt name in it, and it will allow renaming nsTraceRefcntImpl
back to nsTraceRefcnt.
2014-02-26 13:36:35 -08:00
Carsten "Tomcat" Book
6c50fbdfed
Backed out changeset 802aa43ae8cc (bug 939562) for PGO mochitest regression on a CLOSED TREE
2014-02-26 16:02:15 +01:00
Jan de Mooij
46b31338d1
Bug 939562 part 2 - Move JIT flags from ContextOptions to RuntimeOptions. r=bent,bholley,luke
2014-02-26 10:25:36 +01:00
Luke Wagner
dfb0b68df3
Bug 976348 - Change DescribeScriptedCaller to not return a JSScript (r=bholley)
...
--HG--
extra : rebase_source : 58387ce3e4c49d3140b92b84bf3577fc6584820e
2014-02-25 09:43:14 -06:00
Brian Hackett
2a9fd71c02
Bug 964059 - Share atoms compartment/zone between multiple runtimes, r=billm,bent.
2014-02-19 09:02:13 -07:00
Andrea Marchesini
9d352b3e2a
Bug 949946 - unique SharedWorker key composed by name and spec, r=bent
2014-02-06 14:39:10 +00:00
Nikhil Marathe
16a3c5ed8b
Bug 918806 - Enable DOM Promises. sr=bz
...
--HG--
extra : rebase_source : dbc7ef836fe7c2a71f38fedda004d7f988361a85
2014-01-30 13:14:00 -08:00
Ryan VanderMeulen
aa8ede1cff
Backed out changesets 6db8b08a3aea and 1d7c2025bb56 (bug 918806) for B2G mochitest failures.
2014-01-30 14:46:36 -05:00
Birunthan Mohanathas
02d0812720
Bug 828300 - Replace NS_ARRAY_LENGTH with mozilla::ArrayLength/MOZ_ARRAY_LENGTH. r=ehsan
2014-01-30 13:26:54 -05:00
Nikhil Marathe
bbd4ae9d07
Bug 918806 - Enable DOM Promises. sr=bz
2014-01-30 09:41:43 -08:00
Bobby Holley
af7880d72a
Bug 957688 - Remove checkObjectAccess security callback. r=mrbkap
...
There's no need for the JS shell stuff either, since vm/Runtime.cpp already
sets up NullSecurityCallbacks by default.
2014-01-24 16:08:25 -08:00
Chris Peterson
307f1d6f78
Bug 960416 - Always use JIT hardening. r=luke
...
--HG--
extra : rebase_source : ae9e635eac09044f05fea9ad27ab52bb888c703e
2013-12-25 00:21:59 -08:00
Garrett Robinson
eabe1d0a0f
Bug 883975 - CSP 1.1 hash-source. r=sstamm, r=dholbert, r=mrbkap
2014-01-02 11:14:06 -08:00
Nikhil Marathe
c3934ac5d1
Bug 925437 - Implement navigator.onLine on Workers. r=khuey sr=sicking
2013-11-19 15:08:50 -08:00
Ehsan Akhgari
1b83407ce9
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.h \
-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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Ehsan Akhgari
4fa04d6a28
Bug 951555 - Clean up dead code from dom/workers/RuntimeService.cpp after removal of heuristic detection from the File API; r=bent
2013-12-18 22:54:26 -05:00
Wes Kocher
51be634cd2
Backed out changeset ef0eeaec74a8 (bug 949183) on the theory that it somehow broke every single b2g test on a CLOSED TREE
2013-12-16 18:27:43 -08:00
Ben Turner
357b12898a
Bug 914762 - Switch Workers to use a normal nsThread event loop, r=mrbkap.
...
--HG--
extra : transplant_source : /%93%60%CC%3A%16%B16%A1%5Bmx%9F%FA%7B%10JD%F0%E7
2013-10-23 06:16:49 -07:00
Sean Stangl
59305924cb
Bug 949183 - Fix jsid static constructor explosion. r=Waldo
2013-12-16 14:40:05 -08:00
Andrea Marchesini
2d0f4a55fe
Bug 487070 - a pref for enabling the lastest version of JS in Web Workers, r=baku, r=bent
2013-12-10 11:43:16 +00:00
Carsten "Tomcat" Book
730750085e
Backed out changeset 10800c0df8b5 (bug 487070) for build bustage on a CLOSED TREE
2013-12-11 10:56:23 +01:00
Andrea Marchesini
af2dd4beb8
Bug 487070 - a pref for enabling the lastest version of JS in Web Workers, r=baku, r=bent
2013-12-10 11:43:16 +00:00
Ehsan Akhgari
e004ec8ac0
Bug 947736 - Build modules/libpref/ in unified mode; r=bsmedberg
2013-12-10 18:10:01 -05:00
Ryan VanderMeulen
6a9890da79
Backed out changeset dc5b1daf5fbb (bug 487070) for B2G mochitest-8 orange.
...
--HG--
extra : rebase_source : 83864e72c5b5082ccd2956cd89e25e1a6f16fee8
2013-12-10 14:28:44 -05:00
Andrea Marchesini
9abe98f247
Bug 487070 - a pref for enabling the lastest version of JS in Web Workers
2013-12-10 11:43:16 +00:00
Luke Wagner
855ca467e3
Bug 941830 - Extend asm.js compiled code caching to Workers (r=bent)
...
--HG--
extra : rebase_source : 4fed947b2fa76e26054d8293cec31433ceb61c8d
2013-12-03 13:31:30 -06:00
Birunthan Mohanathas
3440613a39
Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
...
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Nicholas Nethercote
42309eb2d5
Bug 927740 (part 4) - Make workers CC on memory-pressure. r=khuey.
...
--HG--
extra : rebase_source : 372b3de683342634a182d3e782016718c067cead
2013-12-02 20:07:02 -08:00
Nicholas Nethercote
0cd410a29a
Bug 927740 (part 3) - Make workers respond to "child-cc-request" notifications. r=khuey.
...
--HG--
extra : rebase_source : 34a15c4bf15bb0fd1601675e7e7cc4b5117ed433
2013-12-02 20:07:02 -08:00
Phil Ringnalda
6c467f231c
Bug 936700 - Warning fix 2 of 2
...
CLOSED TREE
2013-11-24 12:49:15 -08:00
Nikhil Marathe
e8f2e2d695
Bug 936700 - Worker Preferences cache. r=bent
2013-11-24 11:27:15 -08:00
Nikhil Marathe
c78157de46
Bug 915233 - DOM Promises on Workers. r=baku,bent,smaug,bz sr=sicking
2013-11-24 11:26:07 -08:00
Andrew McCreight
6663405c37
Bug 935721, part 10 - Separate nsCycleCollector_collect and nsCycleCollector_scheduledCollect. r=smaug
2013-11-20 14:35:17 -08:00
Andrew McCreight
96e1092a51
Bug 935721, part 5 - Invert the control flow of CycleCollectNow's pre- and post-collection work, add CCResults as a field on the CC. r=smaug
...
nsJSEnvironment::CycleCollectNow does work before and after a CC runs. With ICC, nsJSEnv won't
know where in the CC when a CC is about to begin or end, so this patch reorganizes that work
into two separate callback hooks. This requires adding a new struct, CycleCollectorStats, to
hold data nsJSEnv needs between the two calls.
Rather than trying to pass around a pointer to a results structure, this patch just adds
it to the nsCycleCollector struct, and always stores them. The results are passed back
to the end CC callback.
2013-11-20 14:35:16 -08:00
Jan de Mooij
cd86986a64
Bug 927516 - Bump Ion script size limit for DOM workers. r=bhackett
2013-11-19 21:10:34 +01:00
Ehsan Akhgari
3950de8bf6
Bug 939580 - #include LOCAL_INCLUDES after the source dir and current dir includes; r=gps
2013-11-19 14:10:15 -05:00
Ms2ger
0fdc697b63
No bug - Fix some style issues in DOM code.
2013-11-11 09:04:41 +01:00
Garrett Robinson
1da990368c
Bug 855326 - CSP 1.1 nonce-source for scripts and styles r=mrbkap r=dholbert r=geekboy
2013-11-08 15:44:39 -08:00
Daniel Holbert
9a3437dd77
backout 57213b64023b (bug 855326) for build bustage in debug builds
...
CLOSED TREE
2013-11-08 11:22:36 -08:00
Garrett Robinson
5add685cdd
Bug 855326 - CSP 1.1 nonce-source for scripts and styles. r=mrbkap r=dholbert r=geekboy
2013-11-08 09:20:43 -08:00
Kyle Huey
020d8b6c36
Bug 928312: Convert the worker global object and all remaining EventTargets to new DOM bindings. r=bent,peterv,smaug
2013-11-05 22:16:26 +08:00
Kyle Huey
e034802efa
Bug 919885: Move Worker to WebIDL and thread-agnostic event dispatch. r=bent,bz
2013-11-05 22:16:24 +08:00
Nikhil Marathe
8b0091b1d5
Bug 930611 - Introduce WorkerType rather than boolean SharedWorker check. r=bent
2013-10-30 16:40:16 -07:00
Nikhil Marathe
e9ee14f056
Bug 785656 - dump() should be disabled by default in Workers. r=bent
2013-10-30 14:40:34 -07:00
Birunthan Mohanathas
4360fad5a0
Bug 784739 - Switch from NULL to nullptr in dom/ (2/2); r=ehsan
2013-10-28 10:04:47 -04:00
Eddy Bruel
1ed81b38c5
Bug 880330 - Refactor dom to use the new options API (2/2); r=khuey
2013-10-28 12:51:05 +01:00
Ryan VanderMeulen
9abde8f9b2
Backed out 2 changesets (bug 915757, bug 919885) for frequent Android Armv6 mochitest-8 crashes.
...
Backed out changeset 04610078280c (bug 915757)
Backed out changeset db9190b3ce60 (bug 919885)
2013-10-14 14:38:54 -04:00
Kyle Huey
30ab732153
Bug 919885: Move Worker to WebIDL and thread-agnostic event dispatch. r=bent,bz
2013-10-14 19:58:05 +08:00
Phil Ringnalda
5c6d197b06
Backed out 2 changesets (bug 915757, bug 919885) for xpcshell bustage
...
Backed out changeset 5d17d90b838d (bug 915757)
Backed out changeset 91495d3a91c8 (bug 919885)
2013-10-13 21:59:58 -07:00
Kyle Huey
93bec3955c
Bug 919885: Move Worker to WebIDL and thread-agnostic event dispatch. r=bent,bz
2013-10-14 11:10:43 +08:00
Ben Turner
866302e69b
Bug 643325 - Implement SharedWorker. r=khuey.
...
--HG--
extra : transplant_source : %D6%8C%9Ajc%3C%F0%0E%DB%C6%7E2%AA%97%B8%AA%B2%7EY%B6
2013-06-05 07:04:23 -07:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
f5213d3e66
Bug 771765 - Support template content process, part 6: support re-creation of the threads created in the template process. r=khuey, r=jorendorff
...
The threads that are frozen/recreated include:
* ImageBridgeChildThread.
* Image decoding thread pool.
* IPC thread (checkpointed, but not frozen).
* GC Helper thread.
* XPC runtime watchdog thread.
* Socket transport service thread/thread pool.
* Memory pressure watcher.
* Timer thread.
* DOM promise worker.
2013-06-03 18:14:42 +08:00
Bobby Holley
629a2f0712
Bug 917909 - Remove mLastContext hackery in workers. r=khuey r=billm
2013-09-24 08:03:23 -07:00
Jon Coppeard
7f7a4918ef
Bug 918373 - GC: Handlify various public APIs r=sfink r=bholley r=smaug
2013-09-20 10:22:59 +01:00
Ehsan Akhgari
c88ae238ac
Bug 917299 - Remove some dead code in content/ and dom/; r=bzbarsky
2013-09-17 12:49:07 -04:00
Sid Stamm
3d7137a7d2
bug 836922 - support mulitiple CSP policies at the same time. r=jst,grobinson
2013-09-12 09:25:32 -07:00
Kyle Huey
9b0ed3c6d4
Bug 888347: Block worker creation at xpcom-shutdown. r=bent
2013-09-09 10:54:05 -07:00
Kyle Huey
bf7d0aa16a
Bug 911258: Part 5 - Use the unified exception handling mechanism on workers. r=bz
2013-09-08 20:29:21 -07:00
Kyle Huey
c6389ea0fa
Bug 911258: Part 4 - Refactor exception implementations. r=bz
2013-09-08 20:28:50 -07:00
Robert O'Callahan
03e7828db2
Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
...
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Bobby Holley
7367a3a5b8
Bug 899367 - Only use JSOPTION_UNROOTED_GLOBAL for DOM JSContexts. r=mccr8
...
We don't cycle collect any other kind, so there's no difference between marking
them gray and letting the JS engine mark them black. This also gets rid of that
nasty code which reset the flag, which billm theorizes has to do with faulty
logic in ContextHolder when creating ephemeral sandbox cxes. The assertion in
this patch should catch us if anything goes wrong.
2013-09-04 14:06:54 -07:00
Jan de Mooij
e48e1246fb
Bug 905300 follow-up - Fix some worker prefs index values to account for a removed pref. r=bent
2013-09-02 15:07:49 +02:00
Olli Pettay
fec6e6d8e3
Bug 910797, make Event.isTrusted to work in workers, r=khuey
2013-08-30 12:47:19 +03:00
Nicholas Nethercote
3c5b0c6b29
Bug 909597 (part 2) - Rename jsdbgapi.{h,cpp} as {js,vm}OldDebugAPI.{h,cpp}. r=luke.
...
--HG--
rename : js/src/jsdbgapi.h => js/public/OldDebugAPI.h
rename : js/src/jsdbgapi.cpp => js/src/vm/OldDebugAPI.cpp
extra : rebase_source : 9cd65a698e726c43d88d650f40823367bf98feae
2013-08-26 19:05:20 -07:00
Ryan VanderMeulen
6f0d3838c9
Backed out 12 changesets (bug 899367) for Windows and OSX mochitest failures on a CLOSED TREE.
...
Backed out changeset 46cf4c3eb447 (bug 899367)
Backed out changeset d8a876219fc7 (bug 899367)
Backed out changeset d930333f95a7 (bug 899367)
Backed out changeset efae8cc0fff8 (bug 899367)
Backed out changeset 1dd262d146a6 (bug 899367)
Backed out changeset 4c396b8a51d0 (bug 899367)
Backed out changeset c8c30176639a (bug 899367)
Backed out changeset aaa8fbcf9aaf (bug 899367)
Backed out changeset d1a782044a4b (bug 899367)
Backed out changeset b2672ab55046 (bug 899367)
Backed out changeset fc4deb0b06fa (bug 899367)
Backed out changeset b9f1018a609c (bug 899367)
2013-08-27 21:14:54 -04:00
Bobby Holley
ba0f5bdd30
Bug 899367 - Only use JSOPTION_UNROOTED_GLOBAL for DOM JSContexts. r=mccr8
...
We don't cycle collect any other kind, so there's no difference between marking
them gray and letting the JS engine mark them black. This also gets rid of that
nasty code which reset the flag, which billm theorizes has to do with faulty
logic in ContextHolder when creating ephemeral sandbox cxes. The assertion in
this patch should catch us if anything goes wrong.
2013-08-27 15:21:37 -07:00
Kyle Huey
a4c454d166
Bug 903772: Part 4 - Harmonize main thread and worker dictionary implementations. r=peterv
2013-08-22 22:17:09 -07:00
Till Schneidereit
b6f4813baa
Bug 907201 - Enable activating TI and IonMonkey for chrome scripts via about:config. r=jandem
...
--HG--
extra : rebase_source : ee45b0108b4516cff12ecc91014cb566d432a4fa
2013-08-20 11:26:44 +02:00
Jan de Mooij
dc64810021
Bug 905300 - Remove dead code in SpiderMonkey. r=bhackett
2013-08-15 13:45:30 +02:00
Kyle Huey
ce4e2343b2
Bug 901290: Cycle collect more than just at worker shutdown. r=mccr8
2013-08-13 17:07:40 -07:00
Kyle Huey
7ea5a68da2
Bug 901630: Remove support for the cc thread. r=mccr8
2013-08-13 10:45:32 -07:00
Bobby Holley
80de28966e
Bug 901364 - Make operation callbacks runtime-wide. r=mrbkap
2013-08-12 12:54:50 -07:00
Nicholas Nethercote
d8f824e34e
Bug 898914 (part 1) - Remove JSBool.
...
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Kyle Huey
d8a5e42d26
Bug 845545: Part 5 - Port ImageData to workers. r=mccr8,peterv,bent
2013-08-03 16:55:40 -07:00
Kyle Huey
b0e1508e38
Bug 845545: Part 4 - Create a worker implementation of CycleCollectedJSRuntime. r=mccr8,bent
2013-08-03 16:55:40 -07:00
Ehsan Akhgari
2824b29025
Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
...
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:
# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.cc" \
-o -iname "*.mm" \) | \
xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
modules/libmar/src/mar_private.h \
modules/libmar/src/mar.h
# assert_replacer.py
#!/usr/bin/python
import sys
import re
pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")
def replaceInPlace(fname):
print fname
f = open(fname, "rw+")
lines = f.readlines()
for i in range(0, len(lines)):
while True:
index = re.search(pattern, lines[i])
if index != None:
index = index.start()
lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
for j in range(i + 1, len(lines)):
if lines[j].find(" ", index) == index:
lines[j] = lines[j][0:index] + lines[j][index+4:]
else:
break
else:
break
f.seek(0, 0)
f.truncate()
f.write("".join(lines))
f.close()
argc = len(sys.argv)
for i in range(1, argc):
replaceInPlace(sys.argv[i])
--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Boris Zbarsky
90497723d2
Bug 838146 part 1. Implement WebIDL API on Navigator for the parts that are specified or are in nsIDOMNavigator. r=smaug, sr=sicking
2013-07-12 10:35:35 -04:00
Brian Hackett
e95fdd5ba8
Bug 890636 - Remove JSOPTION_PCCOUNT, r=jandem.
2013-07-08 09:17:35 -06:00
Bobby Holley
306f8a67ea
Bug 880917 - Convert JS_SetVersion API consumers to per-compartment versions. r=luke
2013-06-29 09:11:18 -06:00
Justin Lebar
051c5b560a
Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
This is a mechanical change made with sed. Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Gregor Wagner
5fcbe40dc3
Bug 887125 - Allow 0 for Memory GC Preferences. r=bent
2013-06-27 14:40:17 +08:00
Jon Coppeard
ef8bb39711
Bug 885310 - 1 Rename JSHandleFoo in the browser r=bz
2013-06-21 14:12:46 +01:00
Benjamin Peterson
defbf4358c
Bug 823978 - Rename JSOPTION_STRICT to JSOPTION_EXTRA_WARNINGS. r=Waldo
...
--HG--
extra : rebase_source : 34f95fc6017d3f3f4f091083debacbd466b51bf6
2013-06-11 12:49:11 -07:00
Ryan VanderMeulen
48564710fc
Backed out changeset 1df122edcf0d (bug 823978) for bustage (again).
...
CLOSED TREE (again)
2013-06-11 15:27:46 -04:00
Benjamin Peterson
859ae9d3b2
Bug 823978 - Rename JSOPTION_STRICT to JSOPTION_EXTRA_WARNINGS. r=Waldo
...
--HG--
extra : rebase_source : 1396c8ec5bd99ab35343cfff2b87d22955671243
2013-06-11 11:30:18 -07:00
Ryan VanderMeulen
a580723853
Backed out changeset 7e69e102a432 (bug 823978) for bustage.
...
CLOSED TREE
2013-06-11 14:28:17 -04:00
Benjamin Peterson
6a8ee25998
Bug 823978 - Rename JSOPTION_STRICT to JSOPTION_EXTRA_WARNINGS. r=Waldo
...
--HG--
extra : rebase_source : f5c0e9c743dadb0431eacef6b46b6e274264d3aa
2013-06-11 10:55:21 -07:00
Ben Turner
e70bae405d
Bug 873356 - 'Should do shrinking GCs more often for workers'. r=khuey.
2013-05-16 15:49:43 -07:00
Kyle Huey
23e4c9cd14
Bug 854739: Ensure that messages are delivered in order when suspending and resuming workers. r=bent+bholley
2013-06-06 10:28:47 -07:00
Julian Seward
eb8e819973
Bug 872496 - Allow early registration of stack tops, to improve native unwind quality. r=bgirard.
2013-05-28 14:03:38 +02:00
Bobby Holley
cdde50556c
Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor
2013-05-22 10:05:26 -06:00
Jan de Mooij
162bdc21e4
Bug 857845 part 3 - Remove JM JSAPI flags, memory reporters and browser prefs. r=djvj
...
--HG--
extra : rebase_source : 8b2ed85801fcd8c8fd0fc16a89b1a275add1a310
2013-05-22 14:50:45 +02:00