WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
208257
Add SPI _WKResourceLoadDelegate willSendRequest
https://bugs.webkit.org/show_bug.cgi?id=208257
Summary
Add SPI _WKResourceLoadDelegate willSendRequest
David Moore
Reported
2020-02-26 13:26:32 PST
_WKResourceLoadDelegate does not currently provide a method for signing URL requests for sub-resource loads. A willSendRequest SPI should be added to _WKResourceLoadDelegate to provide an opportunity to attach dynamic headers (i.e., cryptographic signatures). Sharing the existing _WKResourceLoadDelegate infrastructure, -[WKResourceLoadDelegate webView:resourceLoad:willSendRequest:] will return an NSURLRequest synchronously via the delegate implementation.
Attachments
Patch
(25.45 KB, patch)
2020-02-26 15:45 PST
,
David Moore
no flags
Details
Formatted Diff
Diff
Patch
(25.45 KB, patch)
2020-02-26 16:26 PST
,
David Moore
no flags
Details
Formatted Diff
Diff
Patch
(26.54 KB, patch)
2020-02-26 18:28 PST
,
David Moore
achristensen
: review-
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
David Moore
Comment 1
2020-02-26 15:45:37 PST
Created
attachment 391792
[details]
Patch
David Moore
Comment 2
2020-02-26 16:12:49 PST
Builds are failing due to a last minute formatting change to pass the style requirements.
David Moore
Comment 3
2020-02-26 16:26:54 PST
Created
attachment 391804
[details]
Patch
David Moore
Comment 4
2020-02-26 18:28:06 PST
Created
attachment 391828
[details]
Patch
Alex Christensen
Comment 5
2020-02-26 20:03:00 PST
Comment on
attachment 391828
[details]
Patch _WKResourceLoadDelegate callbacks are intentionally informative only. Waiting for this roundtrip will considerably hurt performance when a resource load delegate is set.
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