RESOLVED FIXED 206104
Expose frame information on _WKResourceLoadInfo
https://bugs.webkit.org/show_bug.cgi?id=206104
Summary Expose frame information on _WKResourceLoadInfo
Alex Christensen
Reported 2020-01-10 15:38:13 PST
Expose frame information on _WKResourceLoadInfo
Attachments
Patch (24.35 KB, patch)
2020-01-10 15:43 PST, Alex Christensen
no flags
Patch (24.55 KB, patch)
2020-01-10 16:14 PST, Alex Christensen
no flags
Patch (24.55 KB, patch)
2020-01-10 16:57 PST, Alex Christensen
dino: review+
Alex Christensen
Comment 1 2020-01-10 15:43:17 PST
Alex Christensen
Comment 2 2020-01-10 16:14:15 PST
Alex Christensen
Comment 3 2020-01-10 16:57:50 PST
Dean Jackson
Comment 4 2020-01-11 12:37:08 PST
Comment on attachment 387398 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=387398&action=review > Source/WebKit/Shared/API/Cocoa/_WKFrameHandle.mm:93 > + [coder encodeObject:@([self frameID]) forKey:@"frameID"]; self.frameID ? > Source/WebKit/WebProcess/Network/WebLoaderStrategy.cpp:596 > - if (page) > - loadParameters.pageHasResourceLoadClient = page->hasResourceLoadClient(); > + addParametersFromFrame(webFrame->coreFrame(), loadParameters); I assume it is totally ok that the loadParameters here might get .isHTTPSUpgradeEnabled set now, when it didn't before? > Source/WebKit/WebProcess/Network/WebLoaderStrategy.cpp:662 > + addParametersFromFrame(&frame, loadParameters); Same here.
Alex Christensen
Comment 5 2020-01-11 17:42:06 PST
(In reply to Dean Jackson from comment #4) > I assume it is totally ok that the loadParameters here might get > .isHTTPSUpgradeEnabled set now, when it didn't before? Yes, that was an oversight before. We want https upgrade for sync xhr and beacon.
Alex Christensen
Comment 6 2020-01-11 17:47:04 PST
Radar WebKit Bug Importer
Comment 7 2020-01-11 17:48:13 PST
Note You need to log in before you can comment on or make changes to this bug.