Andrea Marchesini
50c7591366
Bug 1455256 - Port more components to WorkerRef - part 1 - WorkerProxyToMainThreadRunnable, r=asuth
2018-06-18 16:37:21 -04:00
Emilio Cobos Álvarez
4b8b5e1717
Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
...
This was done automatically replacing:
s/mozilla::Move/std::move/
s/ Move(/ std::move(/
s/(Move(/(std::move(/
Removing the 'using mozilla::Move;' lines.
And then with a few manual fixups, see the bug for the split series..
MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Chris Peterson
767d8b1589
Bug 1436263 - Part 3: Remove virtual from final virtual function declarations. r=froydnj
...
MozReview-Commit-ID: 8pjYjEvQF42
2018-02-08 21:22:43 -08:00
Chris Peterson
3501998227
Bug 1436263 - Part 2: Replace override final virtual function specifiers with just final. r=froydnj
...
MozReview-Commit-ID: 70gt5SUu4Dv
2018-02-05 22:50:00 -08:00
Boris Zbarsky
be90e72263
Bug 1436902 part 3. Replace usage of NS_IMPL_ISUPPORTS_INHERITED0 with NS_INLINE_DECL_REFCOUNTING_INHERITED when possible. r=mccr8
...
The change to RootAccessible.cpp fixes an obvious bug introduced in bug 741707.
The visibility changes in gfx/thebes are because NS_DECL_ISUPPORTS has a
trailing "public:" that those classes were relying on to have public
constructors.
MozReview-Commit-ID: IeB8KIJCGhU
2018-02-12 15:44:40 -05:00
Andrea Marchesini
b00c0daf83
Bug 1436744 - Get rid of WorkerCheckAPIExposureOnMainThreadRunnable, r=catalinb
2018-02-12 21:02:22 +01:00
Andrea Marchesini
ddb4518ad1
Bug 1435174 - Remove the renaming 'using namespace workers', r=bkelly
2018-02-05 19:55:07 +01:00
Jim Blandy
4de5f224e8
Bug 1434722: Remove bad default for WorkerControlRunnable's aBehavior parameter. r=bkelly
...
MozReview-Commit-ID: GYaGPAAWgZM
2018-02-01 13:32:10 -08:00
Andrea Marchesini
f7ecc0f399
Bug 1432963 - Fixing workers headers - part 16 - JSSettings in a workerinternals namespace, r=smaug
2018-01-31 08:24:59 +01:00
Andrea Marchesini
5e357eed9f
Bug 1432963 - Fixing workers headers - part 14 - WorkerPrivate without workers namespace, r=smaug
2018-01-31 08:24:08 +01:00
Andrea Marchesini
30cbccd56d
Bug 1432963 - Fixing workers headers - part 13 - WorkerHolder without workers namespace, r=smaug
2018-01-31 08:23:44 +01:00
Andrea Marchesini
fac6814ce2
Bug 1432963 - Fixing workers headers - part 12 - WorkerRunnable without workers namespace, r=smaug
2018-01-31 08:22:56 +01:00
Andrea Marchesini
9b2db45dad
Bug 1413112 - Separate files for WorkerDebugger, r=bkelly
2018-01-30 10:12:26 +01:00
Andrea Marchesini
8a21b54e4a
Bug 1413112 - Renaming Workers.h to WorkerCommon.h, r=bkelly
2018-01-30 10:10:04 +01:00
Andrea Marchesini
b9ce1f599d
Bug 1368296 - Renaming WorkerProxyToMainThreadRunnable::RunBackOnWorkerThread to RunBackOnWorkerThreadForCleanup and improving the description for this method, r=asuth
2017-06-02 11:05:27 +02:00
Andrea Marchesini
28f084ecf0
Bug 604026 - Sync event loops in workers should be created only if compatible with the worker shutdown status, r=bkelly
2017-01-05 10:05:32 +01:00
Andrea Marchesini
066cfe31e7
Bug 1286487 - WorkerProxyToMainThreadRunnable must keep alive workers using WorkerHolder, r=bkelly
2016-07-23 08:31:31 +02:00
Andrea Marchesini
dc222eaba0
Bug 1282366 - Improve WorkerHolder use in Runnables, r=khuey
2016-07-04 08:19:10 +02:00
Andrea Marchesini
611ada4ec2
Bug 1280067 - WorkerThreadModifyBusyCount should be the default value for WorkerRunnable, r=sicking
2016-06-28 19:28:13 +02:00
Andrea Marchesini
30d0a3f864
Bug 1269162 - part 3 - Move XHR code into dom/xhr, r=smaug
2016-06-27 19:13:40 +02:00
Andrea Marchesini
4fd580b703
Bug 1277226 - Implement MainThreadWorkerRunnable, r=sicking
2016-06-08 07:12:05 +02:00
Andrea Marchesini
bb2e171b55
Bug 1268253 - MainThreadStopSyncLoopRunnable doesn't need to be exposed, r=khuey
2016-05-11 08:05:38 +02:00
Andrea Marchesini
194c33b0e8
Bug 1268252 - XHR doesn't need to use MainThreadStopSyncLoopRunnable, r=khuey
2016-05-11 08:05:08 +02:00
Andrea Marchesini
75b2d468d5
Bug 1268231 - Get rid of StopSyncLoopRunnable, r=khuey
2016-05-03 10:21:59 +02:00
Andrea Marchesini
fddf33c51f
Bug 1267904 - Add telemetry for WorkerMainThreadRunnable, r=khuey
2016-05-03 09:09:47 +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
Kyle Huey
a256ae1a91
Bug 1263311: Part 1 - Change the nsICancelableRunnable interface. r=froydnj
2016-04-11 11:40:06 -07:00
Wes Kocher
dd9b334d33
Backed out 3 changesets (bug 1263311) for Windows build failures in ServiceWorkerPrivate.cpp CLOSED TREE
...
Backed out changeset 0434a548e1fe (bug 1263311)
Backed out changeset 60b1be29446c (bug 1263311)
Backed out changeset 18132498bc40 (bug 1263311)
MozReview-Commit-ID: LPEa05QobdQ
2016-04-11 12:50:56 -07:00
Kyle Huey
41c353f8e9
Bug 1263311: Part 1 - Change the nsICancelableRunnable interface. r=froydnj
2016-04-11 11:40:06 -07:00
Boris Zbarsky
c0708da1d6
Bug 1072144 part 5. Stop fiddling with compartments on the JSContext before calling PostRun in WorkerRunnable::Run. Add some documentation explaining what's going on. r=khuey
2016-03-01 16:52:26 -05:00
Boris Zbarsky
d66e858893
Bug 1072144 part 4. Add a WorkerRunnable::PreRun so that we can move worker global creation to it and always have an AutoEntryScript by the time we're evaluating the main worker script. r=khuey
2016-03-01 16:52:26 -05:00
Boris Zbarsky
8f73921c4f
Bug 1072144 part 3. Hoist the exception reporting out of WorkerRunnable::PostRun into WorkerRunnable::Run and make it unconditional. 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
Boris Zbarsky
528f0431a3
Bug 1072144 part 5. Stop fiddling with compartments on the JSContext before calling PostRun in WorkerRunnable::Run. Add some documentation explaining what's going on. r=khuey
2016-03-01 16:52:26 -05:00
Boris Zbarsky
9924291c2e
Bug 1072144 part 4. Add a WorkerRunnable::PreRun so that we can move worker global creation to it and always have an AutoEntryScript by the time we're evaluating the main worker script. r=khuey
2016-03-01 16:52:26 -05:00
Boris Zbarsky
5d643fc548
Bug 1072144 part 3. Hoist the exception reporting out of WorkerRunnable::PostRun into WorkerRunnable::Run and make it unconditional. r=khuey
2016-03-01 16:52:26 -05:00
Boris Zbarsky
5dc0351cfe
Bug 1251697 part 3. Remove the JSContext argument of StopSyncLoopRunnable::MaybeSetException. r=khuey
2016-02-26 21:15:57 -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
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
Wes Kocher
0a08f00f7c
Backed out changeset bb404647f14c (bug 1250975) for build bustage CLOSED TREE
2016-02-25 13:41:09 -08:00
Boris Zbarsky
c9a6e0f1c3
Bug 1250975. Stop passing a JSContext argument to WorkerRunnable::PreDispatch and its overrides. r=khuey
2016-02-25 16:05:39 -05:00
Boris Zbarsky
2afd66cf01
Bug 1249652 part 2. ScriptExecutorRunnable::WorkerRun should immediately move JS exceptions to its ErrorResult instead of allowing them to linger on the JSContext. r=baku,khuey
2016-02-24 10:38:31 -05:00
Boris Zbarsky
2ee257f416
Bug 1250291 part 3. Stop pretending to report exceptions in WorkerDebuggerRunnable::PostDispatch. r=khuey
2016-02-23 15:02:43 -05:00
Boris Zbarsky
b52c24ec6e
Bug 1250291 part 2. Stop pretending to report exceptions in MainThreadWorkerSyncRunnable::PostDispatch. r=khuey
2016-02-23 15:02:42 -05:00
Boris Zbarsky
91ca2e69cc
Bug 1250291 part 1. Stop pretending to report exceptions in MainThreadStopSyncLoopRunnable::PostDispatch. r=khuey
2016-02-23 15:02:41 -05:00
Boris Zbarsky
915420c1e5
Bug 1249102. Make overrides of WorkerRunnable::PostRun a bit more consistent. r=khuey
...
Specifically we make the following changes:
1) Remove WorkerSameThreadRunnable::PostRun, because it does exactly the same
things as WorkerRunnable::PostRun.
2) Always treat ModifyBusyCountFromWorker as infallible in terms of throwing
JS exceptions.
3) Change ExtendableFunctionalEventWorkerRunnable::PostRun to properly call
its superclass PostRun so we will correctly decrement the busy count our
PreDispatch incremented.
4) Document why some overrides of PreDispatch/PostDispatch are needed and
don't call into the superclass
2016-02-18 18:02:51 -05:00
Boris Zbarsky
f058889c90
Bug 1248737. Improve documentation for WorkerRunnable and associated classes. r=khuey
2016-02-18 18:02:51 -05:00
Boris Zbarsky
fa684bf612
Bug 1224596 part 17. Remove the old WorkerMainThreadRunnable::Dispatch signature. r=khuey
2015-11-24 00:04:21 -05:00
Boris Zbarsky
692bcc1fd6
Bug 1224596 part 1. Add a version of WorkerMainThreadRunnable::Dispatch that takes an ErrorResult to report failure to dispatch on. r=khuey
2015-11-24 00:04:20 -05:00