WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
214021
[macOS] Allow additional IOKit classes for Apple Silicon
https://bugs.webkit.org/show_bug.cgi?id=214021
Summary
[macOS] Allow additional IOKit classes for Apple Silicon
Brent Fulgham
Reported
2020-07-06 17:17:26 PDT
The WebKit sandbox needs some additional permissions for media playback on Apple Silicon.
Attachments
Patch
(1.66 KB, patch)
2020-07-06 17:19 PDT
,
Brent Fulgham
no flags
Details
Formatted Diff
Diff
Patch
(1.66 KB, patch)
2020-07-06 17:20 PDT
,
Brent Fulgham
no flags
Details
Formatted Diff
Diff
Patch
(1.78 KB, patch)
2020-07-07 09:27 PDT
,
Brent Fulgham
no flags
Details
Formatted Diff
Diff
Patch for landing
(1.82 KB, patch)
2020-07-07 13:33 PDT
,
Brent Fulgham
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Brent Fulgham
Comment 1
2020-07-06 17:17:51 PDT
<
rdar://problem/63696732
>
Brent Fulgham
Comment 2
2020-07-06 17:19:29 PDT
Created
attachment 403642
[details]
Patch
Brent Fulgham
Comment 3
2020-07-06 17:19:48 PDT
Comment on
attachment 403642
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=403642&action=review
> Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:410 > + (iokit-property "IOSurfaceAcceleratorCapabilitiesDictâ) ;; <
rdar://problem/63696732
>
Doh! Smart quote!
Brent Fulgham
Comment 4
2020-07-06 17:20:50 PDT
Created
attachment 403643
[details]
Patch
Per Arne Vollan
Comment 5
2020-07-06 17:29:16 PDT
Comment on
attachment 403643
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=403643&action=review
> Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:670 > + (iokit-user-client-class "IOSurfaceRootUserClient") ;;
rdar://problem/63696732
I think it would be good to add a CPU check to these two classes.
Sam Weinig
Comment 6
2020-07-06 17:56:24 PDT
Comment on
attachment 403643
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=403643&action=review
> Source/WebKit/ChangeLog:3 > + [macOS] Allow additional UIKit classes for Apple Silicon
These don't look like UIKit classes. Is this the right change?
Brent Fulgham
Comment 7
2020-07-07 09:25:47 PDT
Comment on
attachment 403643
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=403643&action=review
>> Source/WebKit/ChangeLog:3 >> + [macOS] Allow additional UIKit classes for Apple Silicon > > These don't look like UIKit classes. Is this the right change?
Yeah, I should have written "IOKit classes"
>> Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:670 >> + (iokit-user-client-class "IOSurfaceRootUserClient") ;;
rdar://problem/63696732
> > I think it would be good to add a CPU check to these two classes.
The diff doesn't show that these are encased in a CPU check for arm64.
Brent Fulgham
Comment 8
2020-07-07 09:27:13 PDT
Created
attachment 403698
[details]
Patch
Sam Weinig
Comment 9
2020-07-07 09:45:09 PDT
Comment on
attachment 403698
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=403698&action=review
> Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:670 > + (iokit-user-client-class "IOSurfaceAcceleratorClient") ;;
rdar://problem/63696732
> + (iokit-user-client-class "IOSurfaceRootUserClient") ;;
rdar://problem/63696732
Inconsistent style here. Above you use angle brackets around the radar. Probably want them to be the same.
Brent Fulgham
Comment 10
2020-07-07 13:33:05 PDT
Created
attachment 403718
[details]
Patch for landing
EWS
Comment 11
2020-07-07 15:32:04 PDT
Committed
r264042
: <
https://trac.webkit.org/changeset/264042
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 403718
[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