Bug 213166

Summary: Rename executeIfJavaScriptURL to executeJavaScriptURL
Product: WebKit Reporter: Rob Buis <rbuis>
Component: New BugsAssignee: Rob Buis <rbuis>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, darin, ews-watchlist, japhet, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Rob Buis 2020-06-13 09:37:46 PDT
Rename executeIfJavaScriptURL to executeJavaScriptURL in order to make the function unconditional, i.e.
the passed url is expected to have the javascript protocol, this is asserted first thing in the method. 
This allows us to remove the return parameter since the remaining return statements all return true.
Comment 1 Rob Buis 2020-06-13 09:39:26 PDT
Created attachment 401839 [details]
Patch
Comment 2 EWS 2020-06-13 23:34:46 PDT
Committed r263008: <https://trac.webkit.org/changeset/263008>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 401839 [details].
Comment 3 Radar WebKit Bug Importer 2020-06-13 23:35:15 PDT
<rdar://problem/64337106>