Bug 135513 - Web Replay: Promise tasks should be executed deterministically
Summary: Web Replay: Promise tasks should be executed deterministically
Status: RESOLVED LATER
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 135830
Blocks: WebReplay
  Show dependency treegraph
 
Reported: 2014-08-01 10:41 PDT by Brian Burg
Modified: 2017-07-10 13:59 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Burg 2014-08-01 10:41:17 PDT
As far as I can tell, promise Microtasks get put into the ScriptExecutionContext's task queue, so it should suffice to make m_pendingTasksTimer a deterministic timer.

Right now, WEB_REPLAY does not support web workers at all (bug: <https://bugs.webkit.org/show_bug.cgi?id=131547>). True worker re-execution is pretty low on the list of things to address, so this bug can punt on Promise fulfillment in worker contexts.
Comment 1 BJ Burg 2017-07-10 13:59:32 PDT
Closing web replay-related bugs until we resume working on the feature again.