Commit Graph

637 Commits

Author SHA1 Message Date
Jan de Mooij
19682be3ac Bug 1283855 part 20 - Make more principals code take JSContext instead of JSRuntime. r=luke 2016-07-05 16:49:46 +02:00
Jan de Mooij
c9a160c5f1 Bug 1283855 part 19 - Make security callbacks take JSContext instead of JSRuntime. r=jorendorff 2016-07-05 16:49:44 +02:00
Nathan Froyd
68a263d7f1 Bug 1283616 - part 2 - micro-optimize inserting microtask runnables into the queue; r=khuey
We can save an AddRef/Release pair by passing in the reference to the queue.
2016-07-05 18:49:06 -04:00
Jan de Mooij
232d17e931 Bug 1283855 part 14 - Make more callback setters take JSContext instead of JSRuntime. r=shu 2016-07-05 14:35:26 +02:00
Jan de Mooij
9a35d3fcb0 Bug 1283855 part 13 - Make JS_SetNativeStackQuota take JSContext instead of JSRuntime. r=fitzgen 2016-07-05 14:35:23 +02:00
Jan de Mooij
22f78cde9e Bug 1283855 part 12 - Make some GC APIs take JSContext instead of JSRuntime. r=sfink 2016-07-05 14:35:21 +02:00
Jan de Mooij
70b39b7234 Bug 1283855 part 9 - Make asm.js/buildId op setters take JSContext instead of JSRuntime. r=bbouvier 2016-07-05 11:06:06 +02:00
Jan de Mooij
1f565193bd Bug 1283855 part 7 - Make JS_SetGCZeal take JSContext instead of JSRuntime. r=sfink 2016-07-05 11:06:05 +02:00
Jan de Mooij
97cade1c39 Bug 1283855 part 2 - Make some callback setters take JSContext instead of JSRuntime. r=luke 2016-07-05 11:06:05 +02:00
Kyle Huey
17df413084 Bug 1283327: Factor out SynchronouslyCreatePBackground. r=billm 2016-06-30 13:54:06 -07:00
Jan de Mooij
971389ad49 Bug 1279295 - Create the runtime's JSContext when we create the runtime. r=luke 2016-06-22 09:47:52 +02:00
Andrea Marchesini
75e0577df7 Bug 1280241 - Remove the limit of number of workers per domain, r=khuey 2016-06-17 11:25:21 +01:00
Jonathan Watt
9c5b8de022 Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
Boris Zbarsky
dd0c0086a9 Bug 1276317 part 1. Change JS_SetGCZeal to take a JSRuntime, not a JSContext. r=jandem 2016-06-02 10:34:38 -04:00
Boris Zbarsky
7eb8c8bc4c Bug 1276400 part 2. Stop setting the dontReportUncaught option on the worker JSContext, since workers should be using AutoJSAPI/AutoEntryScript for everything. r=bkelly 2016-05-31 22:01:30 -04:00
Andrea Marchesini
eebcab2efe Bug 1268230 - RunTime.cpp and ScriptLoader do not have to use MainThreadStopSyncLoopRunnable, r=khuey 2016-05-03 10:21:57 +02:00
Kyle Huey
a9cf047227 Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Nicholas Nethercote
eaeaf76ae0 Bug 1265035 - Make ~WorkerJSRuntime() handle Initialize() failure better. r=khuey. 2016-04-19 14:04:32 +10:00
John Dai
8a27103bcc Bug 1037725 - Add warning message in the console when worker spawn over limit. r=khuey 2016-04-12 01:41:00 +02:00
Emanuel Hoogeveen
d90868f10f Bug 1260475 - Add an option to disable GC slices triggered by painting. r=terrence a=kwierso
MozReview-Commit-ID: B81ZHm0EgZB
2016-03-31 14:26:30 -07:00
Kyle Huey
20d0dc7286 Bug 1259294: Part 2 - Use MOZ_ALWAYS_SUCCEEDS. r=froydnj 2016-03-28 10:28:15 -07:00
Kyle Huey
777ddc3529 Bug 1259290: Part 3 - Remove JS_ReportError and cx handling from RegisterWorker and friends. r=bz,jandem 2016-03-28 10:28:14 -07:00
Kyle Huey
f802c382ed Bug 1259290: Part 2 - Remove the cx from [Add|Remove]ChildWorker. r=bz 2016-03-28 10:28:14 -07:00
Eddy Bruel
e5db48a881 Bug 1229769 - We should be able to use DOM promises in the worker debugger;r=khuey 2016-03-24 16:12:00 +01:00
Andrea Marchesini
7b8a9dcd70 Bug 1246091 - patch 5/7 - Remove data when memory pressure notification is received, r=ejpbruel 2016-03-23 22:55:07 +01:00
Tooru Fujisawa
a844923cae Bug 1153978 - Part 1: Separate buildIdOp from AsmJSCacheOps. r=jandem,bz 2016-01-01 14:19:20 +09:00
Luke Wagner
15912cc8f1 Bug 1008453. Add support for navigator.hardwareConcurrency. r=khuey 2016-03-16 15:41:38 -04:00
Carsten "Tomcat" Book
925bcfdfb0 Backed out changeset a7040abce944 (bug 1008453) for w-p-t test failures on a CLOSED TREE 2016-03-18 08:21:42 +01:00
Boris Zbarsky
c8254635ef Bug 1257568. Remove the JSContext argument of WorkerPrivate::Kill. r=khuey 2016-03-17 23:23:55 -04:00
Luke Wagner
0f3b9203a8 Bug 1008453. Add support for navigator.hardwareConcurrency. r=khuey 2016-03-16 15:41:38 -04:00
Kyle Huey
56bfa0ab15 Bug 1257032: Make files in dom/workers actually build without unification. r=baku 2016-03-16 11:51:11 -07:00
Benjamin Bouvier
e9e5750ced Bug 1251308; r=luke
MozReview-Commit-ID: AqsMX4m7Qh9
2016-03-09 11:20:11 +01:00
Luke Wagner
af3d054022 Bug 1252498 - Baldr: add Wasm object behind pref, default off (r=jorendorff)
MozReview-Commit-ID: BlhrURAX26H
2016-03-03 10:20:21 -06:00
Boris Zbarsky
f018afdaa4 Bug 1252565 part 2. Make dom::WarningOnlyErrorReporter handle workers. r=bholley 2016-03-01 16:53:22 -05:00
Wes Kocher
adfb7f3fb9 Backed out 2 changesets (bug 1252565) for windows build bustage CLOSED TREE
Backed out changeset 9de2c10a1cc3 (bug 1252565)
Backed out changeset fc5c4cb02d24 (bug 1252565)

MozReview-Commit-ID: GCQedQwqslg
2016-03-02 10:44:11 -08:00
Boris Zbarsky
fb768d696e Bug 1252565 part 2. Make dom::WarningOnlyErrorReporter handle workers. r=bholley 2016-03-01 16:53:22 -05:00
Boris Zbarsky
ef50867b58 Bug 1072144 part 2. When UnregisterWorker tries to ScheduleWorker and that throws, just suppress the exception: there is no good place to report it anyway. r=khuey 2016-03-01 16:52:26 -05:00
Wes Kocher
0f2b8b2305 Backed out 6 changesets (bug 1072144) for test_recursion.html failures
Backed out changeset ac15fe0e71fd (bug 1072144)
Backed out changeset b666d48a267d (bug 1072144)
Backed out changeset 0f0464ef08ed (bug 1072144)
Backed out changeset 7ba5f3b95022 (bug 1072144)
Backed out changeset 1912f838fcaa (bug 1072144)
Backed out changeset 145c9bb59b97 (bug 1072144)

MozReview-Commit-ID: 7cl4RtpHSfl
2016-03-01 15:41:24 -08:00
Wes Kocher
1a7b3bc8de Backed out changeset 96580db9b356 (bug 1252565) for test_recursion.html failures
MozReview-Commit-ID: 1ycmM8vfG3d
2016-03-01 15:40:46 -08:00
Boris Zbarsky
e8af293d33 Bug 1252565. Make dom::WarningOnlyErrorReporter handle workers. r=bholley 2016-03-01 16:53:22 -05:00
Boris Zbarsky
ed458893f2 Bug 1072144 part 2. When UnregisterWorker tries to ScheduleWorker and that throws, just suppress the exception: there is no good place to report it anyway. r=khuey 2016-03-01 16:52:26 -05:00
Andrea Marchesini
6b24d72cde Bug 1250572 - Force a parent object in MessagePort/Channel and in StructuredCloneHolder, r=smaug 2016-03-01 15:21:11 +01:00
Boris Zbarsky
1c2e6f2f8f Bug 1251369. Use an AutoJSAPI that reports its own exceptions around the main runloop in workers. r=khuey
The silly leading ": " on the error messages is due to bug 1251518.
2016-02-26 15:23:13 -05:00
Boris Zbarsky
eeb98bb29d Bug 1251311. JS::DescribeScriptedCaller can't throw JS exceptions. Adjust some callers accordingly. r=khuey 2016-02-26 15:23:13 -05:00
Boris Zbarsky
a2fbb4f9d0 Bug 1251045 part 7. Remove the JSContext argument from some worker methods that no longer need it. r=khuey 2016-02-26 15:23:12 -05:00
Boris Zbarsky
71236d0c2d Bug 1251045 part 5. Remove the JSContext argument from WorkerPrivateParent::Freeze/Thaw. r=khuey 2016-02-26 15:23:12 -05:00
Boris Zbarsky
e3eff10fb4 Bug 1251045 part 4. Remove the JSContext argument of WorkerRunnable::Dispatch. r=khuey 2016-02-26 15:23:12 -05:00
Boris Zbarsky
2b562ca809 Bug 1251045 part 3. Remove the JSContext argument of WorkerRunnable::PostDispatch and its overrides. r=khuey 2016-02-26 15:23:12 -05:00
Eddy Bruel
dacef7d980 Bug 1241841 - Clear the worker's debugger event queue before destroying its context;r=khuey 2016-02-26 17:32:28 +01:00
Boris Zbarsky
c88bd7aba0 Bug 1250975. Stop passing a JSContext argument to WorkerRunnable::PreDispatch and its overrides. r=khuey 2016-02-25 16:05:39 -05:00