[Webkit-unassigned] [Bug 136051] New: Web Replay: EventSender dispatches should be deterministic and per-Document
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Aug 18 16:07:51 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=136051
Summary: Web Replay: EventSender dispatches should be
deterministic and per-Document
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: HTML Events
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: burg at cs.washington.edu
CC: darin at apple.com, timothy at apple.com,
joepeck at webkit.org, dbates at webkit.org,
akling at apple.com
EventSender causes JS code to execute nondeterministically. It uses a Timer to asynchronously dispatch the same event to multiple elements of the same type on a future run loop. It also force-dispatches the event when the document closes.
Currently, each (event name, element) pair gets its own static EventSender. This is quite nondeterministic because unrelated pages (say, the Inspector or another tab) share the same static EventSenders and can force-dispatch each others' pending events on implicitClose.
I propose making EventSender instances per-Document. Then we can use ReplayableTimer to iron out the scheduling.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list