Bug 210696 - Remove unneeded code from FrameLoader::loadURL
Summary: Remove unneeded code from FrameLoader::loadURL
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Rob Buis
Keywords: InRadar
Depends on:
Reported: 2020-04-18 12:58 PDT by Rob Buis
Modified: 2020-04-19 23:21 PDT (History)
5 users (show)

See Also:

Patch (1.56 KB, patch)
2020-04-18 13:00 PDT, Rob Buis
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Buis 2020-04-18 12:58:54 PDT
Remove unneeded code from FrameLoader::loadURL, since the only way the load type can be Reload
is if loadFrameRequest set it, and the only way loadFrameRequest can set it is if cachePolicy
is ReloadIgnoringCacheData, so no need to set it again in FrameLoader::loadURL.
Comment 1 Rob Buis 2020-04-18 13:00:59 PDT
Created attachment 396861 [details]
Comment 2 EWS 2020-04-19 23:20:11 PDT
Committed r260351: <https://trac.webkit.org/changeset/260351>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 396861 [details].
Comment 3 Radar WebKit Bug Importer 2020-04-19 23:21:14 PDT