Bug 172138 - Replace autoplay events that fire at navigation with a DidAutoplayMediaPastThreshold event
Summary: Replace autoplay events that fire at navigation with a DidAutoplayMediaPastTh...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Matt Rajca
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-15 15:11 PDT by Matt Rajca
Modified: 2017-05-23 17:02 PDT (History)
1 user (show)

See Also:


Attachments
Patch (19.41 KB, patch)
2017-05-15 16:34 PDT, Matt Rajca
achristensen: review+
Details | Formatted Diff | Diff
Patch (19.50 KB, patch)
2017-05-15 16:45 PDT, Matt Rajca
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Rajca 2017-05-15 15:11:06 PDT
The current autoplay signals that are fired at navigation may not get delivered to the UIProcess if the WebPage is close()'ed around this time. We'll simplify this and just notify clients if a media element has played past a threshold.
Comment 1 Matt Rajca 2017-05-15 16:34:25 PDT
Created attachment 310180 [details]
Patch
Comment 2 Matt Rajca 2017-05-15 16:45:55 PDT
Created attachment 310184 [details]
Patch
Comment 3 Matt Rajca 2017-05-23 17:02:26 PDT
r217310