WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
145340
Handle case where -startOptimizedFullscreen fails.
https://bugs.webkit.org/show_bug.cgi?id=145340
Summary
Handle case where -startOptimizedFullscreen fails.
Jeremy Jones
Reported
2015-05-22 22:20:43 PDT
Handle case where -startOptimizedFullscreen fails.
Attachments
Patch
(8.85 KB, patch)
2015-05-22 22:28 PDT
,
Jeremy Jones
no flags
Details
Formatted Diff
Diff
Patch
(8.98 KB, patch)
2015-05-24 10:18 PDT
,
Jeremy Jones
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Jeremy Jones
Comment 1
2015-05-22 22:21:18 PDT
rdar://problem/19416954
Jeremy Jones
Comment 2
2015-05-22 22:28:39 PDT
Created
attachment 253638
[details]
Patch
Eric Carlson
Comment 3
2015-05-24 08:40:39 PDT
Comment on
attachment 253638
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=253638&action=review
> Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm:1291 > + RefPtr<WebVideoFullscreenInterfaceAVKit> strongThis(this); > + WebThreadRun([strongThis, this] { > + if (hasMode(HTMLMediaElementEnums::VideoFullscreenModeStandard)) > + return; > + > + m_exitCompleted = true;
This will leave m_exitCompleted set to true if hasMode(HTMLMediaElementEnums::VideoFullscreenModeStandard). Will this cause problems later?
Jeremy Jones
Comment 4
2015-05-24 10:00:09 PDT
(In reply to
comment #3
)
> Comment on
attachment 253638
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=253638&action=review
> > > Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm:1291 > > + RefPtr<WebVideoFullscreenInterfaceAVKit> strongThis(this); > > + WebThreadRun([strongThis, this] { > > + if (hasMode(HTMLMediaElementEnums::VideoFullscreenModeStandard)) > > + return; > > + > > + m_exitCompleted = true; > > This will leave m_exitCompleted set to true if > hasMode(HTMLMediaElementEnums::VideoFullscreenModeStandard). Will this cause > problems later?
I think you mean leave it false. And that is exactly what we want. If we still have standard mode, then we have not completely exited fullscreen. Also, the build error is SPI that I'll add to AVKitSPI.h
Jeremy Jones
Comment 5
2015-05-24 10:18:58 PDT
Created
attachment 253658
[details]
Patch
WebKit Commit Bot
Comment 6
2015-05-27 10:12:32 PDT
Comment on
attachment 253658
[details]
Patch Clearing flags on attachment: 253658 Committed
r184907
: <
http://trac.webkit.org/changeset/184907
>
WebKit Commit Bot
Comment 7
2015-05-27 10:12:35 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug