RESOLVED FIXED209973
Remove _setIsNavigatingToAppBoundDomain testing SPI
https://bugs.webkit.org/show_bug.cgi?id=209973
Summary Remove _setIsNavigatingToAppBoundDomain testing SPI
Kate Cheney
Reported 2020-04-03 10:14:04 PDT
We no longer need a testing SPI to set a webView as navigating to an app-bound domain. We can just load a local file.
Attachments
Patch (9.42 KB, patch)
2020-04-03 10:22 PDT, Kate Cheney
no flags
Patch for landing (9.40 KB, patch)
2020-04-03 13:07 PDT, Kate Cheney
no flags
Radar WebKit Bug Importer
Comment 1 2020-04-03 10:14:31 PDT
Kate Cheney
Comment 2 2020-04-03 10:22:12 PDT
David Kilzer (:ddkilzer)
Comment 3 2020-04-03 11:35:22 PDT
Comment on attachment 395390 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=395390&action=review r=me assuming EWS passes. Consider renaming `request2` as well. > Tools/TestWebKitAPI/Tests/WebKitCocoa/InAppBrowserPrivacy.mm:239 > + NSURLRequest *request2 = [NSURLRequest requestWithURL:[[NSBundle mainBundle] URLForResource:@"in-app-browser-privacy-local-file" withExtension:@"html" subdirectory:@"TestWebKitAPI.resources"]]; Nit: `request2` isn't a great variable name. Better to reuse `request` from above (since it's no longer used), or change it to something like `localFileRequest` or `fileRequest`.
Kate Cheney
Comment 4 2020-04-03 13:07:21 PDT
Created attachment 395406 [details] Patch for landing
Kate Cheney
Comment 5 2020-04-03 13:07:52 PDT
(In reply to David Kilzer (:ddkilzer) from comment #3) > Comment on attachment 395390 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=395390&action=review > > r=me assuming EWS passes. Consider renaming `request2` as well. > > > Tools/TestWebKitAPI/Tests/WebKitCocoa/InAppBrowserPrivacy.mm:239 > > + NSURLRequest *request2 = [NSURLRequest requestWithURL:[[NSBundle mainBundle] URLForResource:@"in-app-browser-privacy-local-file" withExtension:@"html" subdirectory:@"TestWebKitAPI.resources"]]; > > Nit: `request2` isn't a great variable name. Better to reuse `request` from > above (since it's no longer used), or change it to something like > `localFileRequest` or `fileRequest`. Thanks! I reused 'request' in the patch for landing.
EWS
Comment 6 2020-04-03 13:33:55 PDT
Committed r259507: <https://trac.webkit.org/changeset/259507> All reviewed patches have been landed. Closing bug and clearing flags on attachment 395406 [details].
Note You need to log in before you can comment on or make changes to this bug.