Summary: | HTMLMediaElement::resume() may cause JavaScript execution | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Chris Dumez <cdumez> | ||||
Component: | Media | Assignee: | Eric Carlson <eric.carlson> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | commit-queue, eric.carlson, jer.noble, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Chris Dumez
2016-06-30 20:43:19 PDT
Here is seems to be because of setPausedInternal(false) which calls updatePlayState(). We probably want to so this asynchronously instead. Created attachment 282568 [details]
Proposed patch.
Attachment 282568 [details] did not pass style-queue:
ERROR: Source/WebCore/html/HTMLMediaElement.h:695: The parameter name "updateState" adds no information, so it should be removed. [readability/parameter_name] [5]
ERROR: Source/WebCore/html/HTMLMediaElement.h:775: The parameter name "updateState" adds no information, so it should be removed. [readability/parameter_name] [5]
Total errors found: 2 in 4 files
If any of these errors are false positives, please file a bug against check-webkit-style.
(In reply to comment #4) > Attachment 282568 [details] did not pass style-queue: > > > ERROR: Source/WebCore/html/HTMLMediaElement.h:695: The parameter name > "updateState" adds no information, so it should be removed. > [readability/parameter_name] [5] > ERROR: Source/WebCore/html/HTMLMediaElement.h:775: The parameter name > "updateState" adds no information, so it should be removed. > [readability/parameter_name] [5] > Total errors found: 2 in 4 files > > > If any of these errors are false positives, please file a bug against > check-webkit-style. https://bugs.webkit.org/show_bug.cgi?id=159362 Committed r202749: http://trac.webkit.org/changeset/202749 |