Events can have a negative timestamp which causes app breakage. This may have been a regression from r222392. To reproduce: 1. Open https://codepen.io/cdumez/pen/xjEmdX in MobileSafari 2. Tap the red box and notice that the touchstart / touchend event timestamps are positive. 3. Put MobileSafari in the background for ~5 minutes then re-open MobileSafari 4. Tap the red box again and notice that the touchstart / touchend event timestamps are now negative :(
<rdar://problem/39638051>
The actual fix is in UIKit when generating the touch's timestamp. I will use this bug to do some hardening in WebKit to make sure Event.timestamp can never return a negative value.
Created attachment 339005 [details] Patch
Comment on attachment 339005 [details] Patch Clearing flags on attachment: 339005 Committed r231111: <https://trac.webkit.org/changeset/231111>
All reviewed patches have been landed. Closing bug.
Mass move bugs into the DOM component.