Bug 188870

Summary: HTML{Image, Link, Script}Element::crossOrigin() should return an AtomicString
Product: WebKit Reporter: Daniel Bates <dbates>
Component: WebCore Misc.Assignee: Daniel Bates <dbates>
Status: RESOLVED LATER    
Severity: Normal CC: ahmad.saleem792, cdumez, rniwa
Priority: P2    
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch none

Description Daniel Bates 2018-08-22 17:01:28 PDT
HTML{Image, Link, Script}Element::crossOrigin() should return an "const AtomicString&" as opposed to a String so as to avoid unnecessary ref-count churn and the need for a caller to perform string comparisons.
Comment 1 Daniel Bates 2018-08-22 17:09:18 PDT
Created attachment 347878 [details]
Patch
Comment 2 Ahmad Saleem 2023-09-20 09:05:23 PDT
Do we need this now? - @Ryosuke & @Chris?
Comment 3 Ryosuke Niwa 2023-09-25 08:44:44 PDT
We don't need to do this per se.