WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
210815
Fix MACCATALYST build failures
https://bugs.webkit.org/show_bug.cgi?id=210815
Summary
Fix MACCATALYST build failures
Peng Liu
Reported
2020-04-21 13:51:01 PDT
Fix MACCATALYST build failures
Attachments
Patch
(5.25 KB, patch)
2020-04-21 13:56 PDT
,
Peng Liu
no flags
Details
Formatted Diff
Diff
WIP patch
(13.79 KB, patch)
2020-04-21 14:47 PDT
,
Peng Liu
no flags
Details
Formatted Diff
Diff
Patch
(17.60 KB, patch)
2020-04-21 16:02 PDT
,
Peng Liu
thorton
: review+
Details
Formatted Diff
Diff
Patch for landing
(12.04 KB, patch)
2020-04-21 17:36 PDT
,
Peng Liu
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Peng Liu
Comment 1
2020-04-21 13:52:34 PDT
<
rdar://problem/62111278
>
Peng Liu
Comment 2
2020-04-21 13:56:11 PDT
Created
attachment 397117
[details]
Patch
Peng Liu
Comment 3
2020-04-21 14:47:06 PDT
Created
attachment 397124
[details]
WIP patch
Peng Liu
Comment 4
2020-04-21 16:02:20 PDT
Created
attachment 397135
[details]
Patch
Tim Horton
Comment 5
2020-04-21 17:18:28 PDT
Comment on
attachment 397135
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=397135&action=review
In the future feel free to land build fixes unreviewed
> Tools/TestWebKitAPI/Tests/WebKitCocoa/RequestTextInputContext.mm:550 > - IPhoneUserInterfaceSwizzler userInterfaceSwizzler; > + TestWebKitAPI::IPhoneUserInterfaceSwizzler userInterfaceSwizzler;
I think someone else already landed this
Jer Noble
Comment 6
2020-04-21 17:24:25 PDT
View in context:
https://bugs.webkit.org/attachment.cgi?id=397135&action=review
r=me with just a couple nits.
> Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm:185 > -#if !HAVE(AVKIT) > - return false; > -#else > +#if ENABLE(VIDEO_PRESENTATION_MODE) && !PLATFORM(WATCHOS) > if (!_page || !_page->videoFullscreenManager()) > return false; > > return _page->videoFullscreenManager()->hasMode(WebCore::HTMLMediaElementEnums::VideoFullscreenModePictureInPicture); > +#else > + return false;
Nit: I think it's safe to drop the "!PLATFORM(WATCHOS)" part of this if statement. The manager should already handle that watchOS doesn't support PiP.
> Tools/TestWebKitAPI/Tests/WebKitCocoa/RequestTextInputContext.mm:550 > - IPhoneUserInterfaceSwizzler userInterfaceSwizzler; > + TestWebKitAPI::IPhoneUserInterfaceSwizzler userInterfaceSwizzler;
This shouldn't be needed after
r260469
.
Peng Liu
Comment 7
2020-04-21 17:27:39 PDT
Comment on
attachment 397135
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=397135&action=review
>> Tools/TestWebKitAPI/Tests/WebKitCocoa/RequestTextInputContext.mm:550 >> + TestWebKitAPI::IPhoneUserInterfaceSwizzler userInterfaceSwizzler; > > I think someone else already landed this
Right. dbates landed a patch to fix it. Will revise the patch to remove my fixes.
Peng Liu
Comment 8
2020-04-21 17:36:42 PDT
Created
attachment 397147
[details]
Patch for landing
Peng Liu
Comment 9
2020-04-21 17:38:50 PDT
(In reply to Jer Noble from
comment #6
)
> View in context: >
https://bugs.webkit.org/attachment.cgi?id=397135&action=review
> > r=me with just a couple nits. > > > Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm:185 > > -#if !HAVE(AVKIT) > > - return false; > > -#else > > +#if ENABLE(VIDEO_PRESENTATION_MODE) && !PLATFORM(WATCHOS) > > if (!_page || !_page->videoFullscreenManager()) > > return false; > > > > return _page->videoFullscreenManager()->hasMode(WebCore::HTMLMediaElementEnums::VideoFullscreenModePictureInPicture); > > +#else > > + return false; > > Nit: I think it's safe to drop the "!PLATFORM(WATCHOS)" part of this if > statement. The manager should already handle that watchOS doesn't support > PiP.
Right. It is removed.
> > > Tools/TestWebKitAPI/Tests/WebKitCocoa/RequestTextInputContext.mm:550 > > - IPhoneUserInterfaceSwizzler userInterfaceSwizzler; > > + TestWebKitAPI::IPhoneUserInterfaceSwizzler userInterfaceSwizzler; > > This shouldn't be needed after
r260469
.
Correct.
EWS
Comment 10
2020-04-21 18:54:18 PDT
Committed
r260486
: <
https://trac.webkit.org/changeset/260486
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 397147
[details]
.
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