RESOLVED INVALID 195366
Make sure our .sb files are adjusted to look in /Library/Apple
https://bugs.webkit.org/show_bug.cgi?id=195366
Summary Make sure our .sb files are adjusted to look in /Library/Apple
Richard Houle
Reported 2019-03-06 11:06:12 PST
<rdar://problem/47749116> Make sure our .sb files are adjusted to look in /Library/Apple
Attachments
Version 1 (987 bytes, patch)
2019-03-06 11:06 PST, Richard Houle
ews-watchlist: commit-queue-
Archive of layout-test-results from ews202 for win-future (12.95 MB, application/zip)
2019-03-06 13:13 PST, EWS Watchlist
no flags
Version 2 (2.85 KB, patch)
2019-03-07 16:38 PST, Richard Houle
no flags
Richard Houle
Comment 1 2019-03-06 11:06:47 PST
Created attachment 363761 [details] Version 1
EWS Watchlist
Comment 2 2019-03-06 13:13:41 PST
Comment on attachment 363761 [details] Version 1 Attachment 363761 [details] did not pass win-ews (win): Output: https://webkit-queues.webkit.org/results/11400538 New failing tests: js/dom/custom-constructors.html
EWS Watchlist
Comment 3 2019-03-06 13:13:53 PST
Created attachment 363778 [details] Archive of layout-test-results from ews202 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: ews202 Port: win-future Platform: CYGWIN_NT-6.1-2.10.0-0.325-5-3-x86_64-64bit
Richard Houle
Comment 4 2019-03-06 13:19:32 PST
Windows build failure are unrelated.
Brent Fulgham
Comment 5 2019-03-06 13:22:31 PST
Comment on attachment 363761 [details] Version 1 Isn't this change needed for the Network and Plugin Process, too?
Richard Houle
Comment 6 2019-03-06 13:24:37 PST
(In reply to Brent Fulgham from comment #5) > Comment on attachment 363761 [details] > Version 1 > > Isn't this change needed for the Network and Plugin Process, too? It is only required because of the Injected Bundle.
mitz
Comment 7 2019-03-06 16:12:40 PST
(In reply to Richard Houle from comment #6) > (In reply to Brent Fulgham from comment #5) > > Comment on attachment 363761 [details] > > Version 1 > > > > Isn't this change needed for the Network and Plugin Process, too? > > It is only required because of the Injected Bundle. Why can’t whoever specifies the injected bundle also use the _WKProcessPoolConfiguration property additionalReadAccessAllowedURLs instead of making this global change at the WebKit level?
Brent Fulgham
Comment 8 2019-03-06 17:07:12 PST
(In reply to mitz from comment #7) > (In reply to Richard Houle from comment #6) > > (In reply to Brent Fulgham from comment #5) > > > Comment on attachment 363761 [details] > > > Version 1 > > > > > > Isn't this change needed for the Network and Plugin Process, too? > > > > It is only required because of the Injected Bundle. > > Why can’t whoever specifies the injected bundle also use the > _WKProcessPoolConfiguration property additionalReadAccessAllowedURLs instead > of making this global change at the WebKit level? Good point. That would be preferable to allowing any WebKit client to have access to this directory. Richard: Can you try the approach where the UIProcess for this special case uses _WKProcessPoolConfiguration as mitz suggests?
Richard Houle
Comment 9 2019-03-07 16:37:36 PST
(In reply to mitz from comment #7) > (In reply to Richard Houle from comment #6) > > (In reply to Brent Fulgham from comment #5) > > > Comment on attachment 363761 [details] > > > Version 1 > > > > > > Isn't this change needed for the Network and Plugin Process, too? > > > > It is only required because of the Injected Bundle. > > Why can’t whoever specifies the injected bundle also use the > _WKProcessPoolConfiguration property additionalReadAccessAllowedURLs instead > of making this global change at the WebKit level? Good suggestion. I still need to submit a WebKit level change. Mac Safari still goes through the C-API (rather than _WKProcessPoolConfiguration.)
Richard Houle
Comment 10 2019-03-07 16:38:50 PST
Created attachment 363956 [details] Version 2
mitz
Comment 11 2019-03-07 16:47:29 PST
(In reply to Richard Houle from comment #9) > (In reply to mitz from comment #7) > > (In reply to Richard Houle from comment #6) > > > (In reply to Brent Fulgham from comment #5) > > > > Comment on attachment 363761 [details] > > > > Version 1 > > > > > > > > Isn't this change needed for the Network and Plugin Process, too? > > > > > > It is only required because of the Injected Bundle. > > > > Why can’t whoever specifies the injected bundle also use the > > _WKProcessPoolConfiguration property additionalReadAccessAllowedURLs instead > > of making this global change at the WebKit level? > > Good suggestion. > > I still need to submit a WebKit level change. Mac Safari still goes through > the C-API (rather than _WKProcessPoolConfiguration.) WKContextConfigurationRef is toll-free bridged to _WKProcessPoolConfiguration. There’s no need to add C API, because clients can cast and use the Objective-C API.
Richard Houle
Comment 12 2019-03-07 17:30:21 PST
(In reply to mitz from comment #11) > (In reply to Richard Houle from comment #9) > > (In reply to mitz from comment #7) > > > (In reply to Richard Houle from comment #6) > > > > (In reply to Brent Fulgham from comment #5) > > > > > Comment on attachment 363761 [details] > > > > > Version 1 > > > > > > > > > > Isn't this change needed for the Network and Plugin Process, too? > > > > > > > > It is only required because of the Injected Bundle. > > > > > > Why can’t whoever specifies the injected bundle also use the > > > _WKProcessPoolConfiguration property additionalReadAccessAllowedURLs instead > > > of making this global change at the WebKit level? > > > > Good suggestion. > > > > I still need to submit a WebKit level change. Mac Safari still goes through > > the C-API (rather than _WKProcessPoolConfiguration.) > > WKContextConfigurationRef is toll-free bridged to > _WKProcessPoolConfiguration. There’s no need to add C API, because clients > can cast and use the Objective-C API. Thanks for pointing it out. It was not obvious my looking at the source code.
Note You need to log in before you can comment on or make changes to this bug.