Граф коммитов

15 Коммитов

Автор SHA1 Сообщение Дата
Ehsan Akhgari 453c89e409 Bug 1325467 - Part 1: Add Timeout::mIsTracking; r=bkelly 2017-01-17 21:01:15 -05:00
Ben Kelly 7254b4bfa4 Bug 1329284 Refactor DOM timeout to set mWhen/mTimeRemaining from one place. r=ehsan 2017-01-10 08:08:18 -08:00
Ehsan Akhgari 7326630b5d Bug 1312514 - Part 1: Split tracking and non-tracking timeouts into two separate lists; r=bkelly
This will allow us to schedule these timers differently in the future.
This patch only performs the refactoring, and is not intended to change
any behavior.  Specifically, this patch doesn't change the order in
which timeouts are fired -- they should still all be fired according to
the mWhen field.

The implementation works by splitting timeout storage per window into
two Timeouts objects, mNormalTimeouts and mTrackingTimeouts.  The ForEach
helper methods are extended to deal with both of these objects, and as a
result, most of the algorithms operating on the list of timeouts work
correctly without any modification, with the notable exception of
RunTimeout.

In RunTimeout(), the order in which Timeout objects are processed does
matter, so for that case we use the OrderedTimeoutIterator class to
iterate over both linked lists simultaneously in the mWhen order.  Also,
inserting the dummy timeout when running the timeouts is only necessary
for the linked list where the last expired timeout is coming from, so we
only inject the dummy timer into the corresponding list, therefore we
remember which list we picked the last expired timeout from when
looking for it.
2016-12-20 12:40:26 -05:00
Bill McCloskey 66add2ca93 Bug 1305926 - Dispatcher API for assigning DocGroups to runnables (r=ehsan)
MozReview-Commit-ID: 8qO95a6z1Ut
2016-11-17 17:01:00 -08:00
Daosheng Mu 7168326772 Bug 1299932 - Part 1: Implement gamepadPose attribute in Gamepad API; r=kip,qdot
MozReview-Commit-ID: DiJadVc2TyE

--HG--
extra : rebase_source : f4571090518a084b6d4b1e6fccf951510b227fbd
2016-10-24 18:04:41 +08:00
Ben Kelly 595fb0d20b Bug 1300659 P3 Make setTimeout() and setInterval() use the TabGroup ThrottledEventQueue. r=smaug 2016-11-07 12:30:17 -08:00
Andreas Farre 9a297f4b3e Bug 1198381 - Extend setTimeout handling in nsGlobalWindow, r=smaug
The requestIdleCallback feature behaves in many ways as setTimeout
since it takes an optional timout when the idle callback will be
called regardless of the user agent being idle or not. This means that
the same mechanisms controlling setTimeout are needed for
requestIdleCallback.

MozReview-Commit-ID: 9mESsJnUexf

--HG--
extra : rebase_source : 16376c8097a27ab4b5b0e74a2e658f33295703bf
2016-08-22 15:07:50 +02:00
Andreas Farre d31692e9f6 Bug 1198381 - Extract nsITimeoutHandler from nsIScriptTimeoutHandler. r=smaug
MozReview-Commit-ID: HJHrbodWYVf

--HG--
extra : rebase_source : 33a6c40b1e1e3a05478e9260ccb70f5e7f2206b7
2016-10-05 14:26:08 +02:00
Andreas Farre 9444ceb267 Bug 1198381 - Move/rename nsTimeout to Timeout, r=smaug
MozReview-Commit-ID: 1WrH2ZbOuzj

--HG--
extra : rebase_source : 7883b35b116f2b2a616c8cb2c502f40993feabc4
2016-08-22 14:52:19 +02:00
Carsten "Tomcat" Book 217631aa6d Backed out changeset 228cc133fe6b (bug 1198381) for causing increased number of hangs in navigate() in marionette tests 2016-10-25 12:34:22 +02:00
Carsten "Tomcat" Book 2b410144bf Backed out changeset 24839edcf0ef (bug 1198381) 2016-10-25 12:33:00 +02:00
Carsten "Tomcat" Book 06858c2f4d Backed out changeset ffaf3d371130 (bug 1198381) 2016-10-25 12:32:58 +02:00
Andreas Farre 68e6086f4b Bug 1198381 - Extend setTimeout handling in nsGlobalWindow, r=smaug
The requestIdleCallback feature behaves in many ways as setTimeout
since it takes an optional timout when the idle callback will be
called regardless of the user agent being idle or not. This means that
the same mechanisms controlling setTimeout are needed for
requestIdleCallback.

MozReview-Commit-ID: 9mESsJnUexf

--HG--
extra : rebase_source : 82d92f515f24e08fe7da78afe7185c8ceb98a096
2016-08-22 15:07:50 +02:00
Andreas Farre 0981b9665a Bug 1198381 - Extract nsITimeoutHandler from nsIScriptTimeoutHandler. r=smaug
MozReview-Commit-ID: HJHrbodWYVf

--HG--
extra : rebase_source : e51785327f84f08829e1464f1789281fc92b95ad
2016-10-05 14:26:08 +02:00
Andreas Farre 979adce9e5 Bug 1198381 - Move/rename nsTimeout to Timeout, r=smaug
MozReview-Commit-ID: 1WrH2ZbOuzj

--HG--
extra : rebase_source : a010060badf2ffbfeadb1d7f8cc29376c214bcc6
2016-08-22 14:52:19 +02:00