Source/JavaScriptCore:
[WebKit-https.git] / Source / WebCore / ChangeLog
index c267142..23ad7b2 100644 (file)
@@ -1,3 +1,31 @@
+2014-09-25  Brian J. Burg  <burg@cs.washington.edu>
+
+        Web Replay: Check event loop input extents during replay too
+        https://bugs.webkit.org/show_bug.cgi?id=136316
+
+        Reviewed by Timothy Hatcher.
+
+        Sometimes we see different nondeterminism during capture and replay
+        executions, so we should support determinism checks during replay too.
+
+        Move the withinEventLoopInputExtent flag to the base class.
+
+        No new tests, no behavior changed.
+
+        * replay/CapturingInputCursor.cpp:
+        (WebCore::CapturingInputCursor::CapturingInputCursor):
+        (WebCore::CapturingInputCursor::setWithinEventLoopInputExtent): Deleted.
+        * replay/CapturingInputCursor.h:
+        * replay/EventLoopInput.cpp:
+        (WebCore::EventLoopInputExtent::EventLoopInputExtent):
+        (WebCore::EventLoopInputExtent::~EventLoopInputExtent):
+        Make m_cursor a pointer and add a new constructor so we can conditionally
+        enter event loop input extents. This is useful in some network replay situations.
+
+        * replay/EventLoopInput.h:
+        * replay/ReplayController.cpp:
+        (WebCore::ReplayController::willDispatchEvent): Expand the assertion to include replaying.
+
 2014-09-25  Jeremy Jones  <jeremyj@apple.com>
 
         Race in ref pointer for WebVideoFullscreenInterfaceAVKit.