| Summary: | [WinCairo] Implement inspector-resource:// URL scheme handler for Web Inspector resources | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Fujii Hironori <Hironori.Fujii> | ||||||
| Component: | WebKit2 | Assignee: | Fujii Hironori <Hironori.Fujii> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | achristensen, annulen, bburg, don.olmstead, ews-watchlist, gyuyoung.kim, hi, joepeck, kkinnunen, ryuan.choi, sergio, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 223566 | ||||||||
| Attachments: |
|
||||||||
|
Description
Fujii Hironori
2021-03-22 18:41:43 PDT
Created attachment 423977 [details]
Patch
Created attachment 423978 [details]
Patch
Comment on attachment 423978 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=423978&action=review Isn't this going to break inspector on AppleWin? > Source/WebKit/UIProcess/Inspector/win/InspectorResourceURLSchemeHandler.cpp:47 > + auto path = URL(adoptCF(CFBundleCopyBundleURL(WebCore::webKitBundle())).get()).fileSystemPath(); This is the only CF related code. > Source/WebKit/UIProcess/Inspector/win/InspectorResourceURLSchemeHandler.cpp:53 > + task.didComplete(WebCore::ResourceError::httpError(CURLE_READ_ERROR, requestURL)); This is the only CURL related code. Comment on attachment 423978 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=423978&action=review >> Source/WebKit/UIProcess/Inspector/win/InspectorResourceURLSchemeHandler.cpp:47 >> + auto path = URL(adoptCF(CFBundleCopyBundleURL(WebCore::webKitBundle())).get()).fileSystemPath(); > > This is the only CF related code. Yes. It's enclosed #if by USE(CF) && USE(CURL). >> Source/WebKit/UIProcess/Inspector/win/InspectorResourceURLSchemeHandler.cpp:53 >> + task.didComplete(WebCore::ResourceError::httpError(CURLE_READ_ERROR, requestURL)); > > This is the only CURL related code. Yes. It's enclosed #if by USE(CF) && USE(CURL). (In reply to Don Olmstead from comment #3) > Isn't this going to break inspector on AppleWin? I don't think so. I didn't change WebKit1. Comment on attachment 423978 [details] Patch Clearing flags on attachment: 423978 Committed r274912 (235682@main): <https://commits.webkit.org/235682@main> All reviewed patches have been landed. Closing bug. *** Bug 223566 has been marked as a duplicate of this bug. *** Thanks for adding this! |