Remove some superfluous code in ContentSecurityPolicy::upgradeInsecureRequestIfNeeded.
Created attachment 355870 [details] Patch
Comment on attachment 355870 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=355870&action=review > Source/WebCore/ChangeLog:12 > + maybe mention the early return at the beginning of the function. > Source/WebCore/page/csp/ContentSecurityPolicy.cpp:885 > + unnecessary whitespace change. > Source/WebCore/page/csp/ContentSecurityPolicy.cpp:-894 > - return; I wonder if we want an ASSERT(url.protocolIs("ws")) or ASSERT_NOT_REACHED instead, to prevent potential mistakes if new protocols are added in the future.
Created attachment 355984 [details] Patch
Comment on attachment 355984 [details] Patch Clearing flags on attachment: 355984 Committed r238666: <https://trac.webkit.org/changeset/238666>
All reviewed patches have been landed. Closing bug.
<rdar://problem/46339247>