Bug 204272 - REGRESSION(r252455): imported/w3c/web-platform-tests/dom/events/Event-dispatch-on-disabled-elements.html fails on iOS and WK1
Summary: REGRESSION(r252455): imported/w3c/web-platform-tests/dom/events/Event-dispatc...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: WebKit Commit Bot
URL:
Keywords: InRadar
: 204223 204509 (view as bug list)
Depends on:
Blocks: 204116
  Show dependency treegraph
 
Reported: 2019-11-16 06:25 PST by WebKit Commit Bot
Modified: 2019-11-27 11:38 PST (History)
6 users (show)

See Also:


Attachments
ROLLOUT of r252455 (14.91 KB, patch)
2019-11-16 06:25 PST, WebKit Commit Bot
no flags Details | Formatted Diff | Diff
Patch (11.01 KB, patch)
2019-11-26 09:49 PST, Antoine Quint
no flags Details | Formatted Diff | Diff
Patch (16.49 KB, patch)
2019-11-26 12:48 PST, Antoine Quint
no flags Details | Formatted Diff | Diff
Patch (30.91 KB, patch)
2019-11-27 08:40 PST, Antoine Quint
dino: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description WebKit Commit Bot 2019-11-16 06:25:20 PST
https://trac.webkit.org/changeset/252455 broke the build:
Broke a layout-test on iOS (Requested by aakashja_ on #webkit).

This is an automatic bug report generated by webkitbot. If this bug
report was created because of a flaky test, please file a bug for the flaky
test (if we don't already have one on file) and dup this bug against that bug
so that we can track how often these flaky tests fail.
Comment 1 WebKit Commit Bot 2019-11-16 06:25:27 PST
Created attachment 383695 [details]
ROLLOUT of r252455

Any committer can land this patch automatically by marking it commit-queue+.  The commit-queue will build and test the patch before landing to ensure that the rollout will be successful.  This process takes approximately 15 minutes.

If you would like to land the rollout faster, you can use the following command:

  webkit-patch land-attachment ATTACHMENT_ID

where ATTACHMENT_ID is the ID of this attachment.
Comment 2 WebKit Commit Bot 2019-11-16 06:29:02 PST
Comment on attachment 383695 [details]
ROLLOUT of r252455

Clearing flags on attachment: 383695

Committed r252526: <https://trac.webkit.org/changeset/252526>
Comment 3 WebKit Commit Bot 2019-11-16 06:29:04 PST
All reviewed patches have been landed.  Closing bug.
Comment 4 Radar WebKit Bug Importer 2019-11-16 06:30:17 PST
<rdar://problem/57253742>
Comment 5 Aakash Jain 2019-11-16 06:37:56 PST
*** Bug 204223 has been marked as a duplicate of this bug. ***
Comment 6 Philippe Normand 2019-11-16 08:11:04 PST
This rollout broke all ports...

../../Source/WebCore/animation/DocumentTimeline.cpp: In member function ‘void WebCore::DocumentTimeline::animationAcceleratedRunningStateDidChange(WebCore::WebAnimation&)’:
../../Source/WebCore/animation/DocumentTimeline.cpp:639:9: error: ‘shouldRunUpdateAnimationsAndSendEventsIgnoringSuspensionState’ was not declared in this scope
     if (shouldRunUpdateAnimationsAndSendEventsIgnoringSuspensionState())
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Comment 7 Philippe Normand 2019-11-16 09:11:54 PST
Reverted r252526 for reason:

broke iOS and mac builds

Committed r252527: <https://trac.webkit.org/changeset/252527>
Comment 8 Alexey Proskuryakov 2019-11-22 09:25:03 PST
*** Bug 204509 has been marked as a duplicate of this bug. ***
Comment 9 Antoine Quint 2019-11-26 09:49:51 PST
Created attachment 384362 [details]
Patch
Comment 10 Antoine Quint 2019-11-26 10:14:44 PST
imported/w3c/web-platform-tests/css/css-animations/Document-getAnimations.tentative.html is now failing, but that's most likely because it worked by pure magic before. Hopefully this will be an easy fix, looking into that now.
Comment 11 Antoine Quint 2019-11-26 12:48:12 PST
Created attachment 384380 [details]
Patch
Comment 12 Dean Jackson 2019-11-26 12:52:39 PST
Comment on attachment 384380 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=384380&action=review

> Source/WebCore/animation/AnimationTimeline.cpp:77
> +    static unsigned s_globalPosition = 0;

Use uint64_t. Hopefully we'll never have that many animations.
Comment 13 Ryosuke Niwa 2019-11-26 18:11:16 PST
(In reply to Dean Jackson from comment #12)
> Comment on attachment 384380 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=384380&action=review
> 
> > Source/WebCore/animation/AnimationTimeline.cpp:77
> > +    static unsigned s_globalPosition = 0;
> 
> Use uint64_t. Hopefully we'll never have that many animations.

If we created one animation every nanosecond, which is a bit of stretch since we need at least a few CPU cycles to create & destroy one in the main thread, it takes like ~584 years (2^64/(10^9*3600*24*365.24)) to overflow a 64 bit unsigned integer. We can safely say an issue that arises after such a runtime horizon is outside the scope of the WebKit project.
Comment 14 Antoine Quint 2019-11-27 08:40:33 PST
Created attachment 384416 [details]
Patch
Comment 15 Antoine Quint 2019-11-27 11:38:52 PST
Committed r252911: <https://trac.webkit.org/changeset/252911>