Henry Chang
503780c382
Bug 1355746 - Part 2. Polish IdleTaskRunner and reuse it for background parsing. r=smaug
...
This patch is mainly to make IdleTaskRunner reusable by nsHtml5TreeOpExecutor.
The only necessary work to that purpose is to remove the dependency of
sShuttingDown, which was a static variable in nsJSEnvironment.cpp.
The idea is to have a "MayStopProcessing" as a callback for the consumer to
return sShuttingDown.
In addition to sShuttingDown, we use std::function<bool()> as the runner
main callback type.
MozReview-Commit-ID: FT2X1unSvPS
2017-07-12 09:23:15 +08:00
..
2017-08-03 14:19:04 -07:00
2017-08-03 15:17:11 -07:00
2017-07-31 14:28:48 +10:00
2017-07-27 12:46:47 +10:00
2017-03-14 14:05:51 -04:00
2017-07-06 14:00:35 +02:00
2017-07-27 12:46:47 +10:00
2017-07-12 09:23:15 +08:00
2017-07-12 09:23:15 +08:00
2017-07-28 13:09:06 -07:00
2017-07-27 02:18:20 +08:00
2017-05-24 21:14:29 -04:00
2017-05-24 21:14:29 -04:00
2017-06-21 12:59:28 -04:00
2017-06-20 22:20:49 +12:00
2017-08-07 13:50:47 +08:00
2017-06-26 20:13:27 -04:00
2017-06-20 22:20:49 +12:00
2017-07-25 09:09:25 +10:00
2017-06-12 20:20:08 -07:00
2017-07-12 17:13:46 -04:00
2017-05-24 17:34:50 -04:00
2017-07-21 11:50:43 +08:00
2017-05-22 10:23:00 +02:00
2017-07-28 09:20:27 +02:00
2017-06-15 20:16:25 -07:00
2017-07-28 09:20:27 +02:00
2017-07-28 13:09:06 -07:00
2017-07-28 13:11:59 -07:00
2017-06-12 20:20:08 -07:00
2017-07-03 16:19:56 -07:00
2017-06-26 14:19:58 -07:00
2017-05-22 10:23:00 +02:00
2017-06-30 19:05:41 -07:00
2017-06-13 18:10:13 +08:00
2017-07-14 08:49:22 +02:00
2017-07-28 13:09:06 -07:00
2017-07-28 09:20:27 +02:00
2017-07-28 13:11:59 -07:00
2017-07-28 09:20:27 +02:00
2017-06-12 20:20:08 -07:00
2017-05-23 12:05:43 -07:00
2017-05-09 21:53:25 -07:00
2017-07-28 09:20:23 +02:00
2017-07-28 09:20:23 +02:00
2017-07-03 16:19:56 -07:00
2017-07-28 09:20:54 +02:00
2017-03-14 14:05:51 -04:00
2017-03-14 14:05:51 -04:00
2017-06-20 22:20:49 +12:00
2017-05-25 15:04:13 -07:00
2017-05-25 15:04:13 -07:00
2017-07-28 09:20:27 +02:00
2017-07-28 09:20:27 +02:00
2017-06-28 01:03:17 +02:00
2017-06-12 20:20:08 -07:00
2017-06-26 14:19:58 -07:00
2017-06-26 14:19:58 -07:00
2017-06-26 14:19:58 -07:00
2017-07-27 14:18:54 -04:00
2017-07-26 16:13:35 +08:00
2017-02-13 17:02:59 -08:00
2017-06-26 14:19:58 -07:00
2017-06-13 14:50:58 -07:00
2017-06-26 14:19:58 -07:00
2017-07-21 10:45:39 +10:00
2017-07-12 16:35:14 -07:00
2017-06-26 14:19:58 -07:00
2017-06-15 20:16:25 -07:00
2017-06-26 14:19:58 -07:00
2017-07-28 09:20:54 +02:00