mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 16:25:38 +00:00
Bug 1609674 - Add innerWindowID to setTimout markers. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D60269 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
4b34baa214
commit
f76aad2740
@ -156,7 +156,8 @@ void TimeoutManager::MoveIdleToActive() {
|
||||
// don't have end before start...
|
||||
PROFILER_ADD_MARKER_WITH_PAYLOAD(
|
||||
"setTimeout deferred release", DOM, TextMarkerPayload,
|
||||
(marker, delta.ToMilliseconds() >= 0 ? timeout->When() : now, now));
|
||||
(marker, delta.ToMilliseconds() >= 0 ? timeout->When() : now, now,
|
||||
Some(mWindow.WindowID())));
|
||||
}
|
||||
#endif
|
||||
num++;
|
||||
@ -905,8 +906,8 @@ void TimeoutManager::RunTimeout(const TimeStamp& aNow,
|
||||
// don't have end before start...
|
||||
PROFILER_ADD_MARKER_WITH_PAYLOAD(
|
||||
"setTimeout", DOM, TextMarkerPayload,
|
||||
(marker, delta.ToMilliseconds() >= 0 ? timeout->When() : now,
|
||||
now));
|
||||
(marker, delta.ToMilliseconds() >= 0 ? timeout->When() : now, now,
|
||||
Some(mWindow.WindowID())));
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user