Bug 159163

Summary: Signal that media element is prepared for inline when being stopped since script won't be able to.
Product: WebKit Reporter: Jeremy Jones <jeremyj-wk>
Component: MediaAssignee: Jeremy Jones <jeremyj-wk>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Mac   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description Jeremy Jones 2016-06-27 13:01:16 PDT
Signal that media element is prepared for inline when being stopped since script won't be able to.
Comment 1 Jeremy Jones 2016-06-27 13:01:55 PDT
rdar://problem/26844557
Comment 2 Jeremy Jones 2016-06-27 13:07:10 PDT
Created attachment 282158 [details]
Patch
Comment 3 Eric Carlson 2016-06-27 13:27:39 PDT
Comment on attachment 282158 [details]
Patch

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

> Source/WebCore/html/HTMLMediaElement.cpp:5058
> +    setPreparedForInline(true);

It would be slightly more efficient to add "if (m_preparedForInline)"
Comment 4 Jeremy Jones 2016-07-06 11:20:40 PDT
Created attachment 282912 [details]
Patch
Comment 5 WebKit Commit Bot 2016-07-06 13:02:47 PDT
Comment on attachment 282912 [details]
Patch

Clearing flags on attachment: 282912

Committed r202871: <http://trac.webkit.org/changeset/202871>
Comment 6 WebKit Commit Bot 2016-07-06 13:02:50 PDT
All reviewed patches have been landed.  Closing bug.