Cleanup suggested by Darin in https://bugs.webkit.org/show_bug.cgi?id=235876.
Created attachment 450463 [details] Patch
Created attachment 450464 [details] Patch
Comment on attachment 450464 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=450464&action=review > Source/WebCore/dom/LoadableClassicScript.cpp:44 > +LoadableClassicScript::LoadableClassicScript(const String& nonce, const AtomString& integrity, ReferrerPolicy policy, const AtomString& crossOriginMode, const String& charset, const AtomString& initiatorName, bool isInUserAgentShadowTree, bool isAsync) Was nonce going to be AtomString?
(In reply to Darin Adler from comment #3) > Comment on attachment 450464 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=450464&action=review > > > Source/WebCore/dom/LoadableClassicScript.cpp:44 > > +LoadableClassicScript::LoadableClassicScript(const String& nonce, const AtomString& integrity, ReferrerPolicy policy, const AtomString& crossOriginMode, const String& charset, const AtomString& initiatorName, bool isInUserAgentShadowTree, bool isAsync) > > Was nonce going to be AtomString? Yup. In Element.h we see that: ... WEBCORE_EXPORT const AtomString& nonce() const; ...
Comment on attachment 450464 [details] Patch Clearing flags on attachment: 450464 Committed r288900 (?): <https://commits.webkit.org/r288900>
All reviewed patches have been landed. Closing bug.
<rdar://problem/88338714>
Comment on attachment 450464 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=450464&action=review >>> Source/WebCore/dom/LoadableClassicScript.cpp:44 >>> +LoadableClassicScript::LoadableClassicScript(const String& nonce, const AtomString& integrity, ReferrerPolicy policy, const AtomString& crossOriginMode, const String& charset, const AtomString& initiatorName, bool isInUserAgentShadowTree, bool isAsync) >> >> Was nonce going to be AtomString? > > Yup. In Element.h we see that: > > ... > WEBCORE_EXPORT const AtomString& nonce() const; > ... My point is that the code above says const String& nonce instead of const AtomString& nonce.
(In reply to Darin Adler from comment #8) > Comment on attachment 450464 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=450464&action=review > > >>> Source/WebCore/dom/LoadableClassicScript.cpp:44 > >>> +LoadableClassicScript::LoadableClassicScript(const String& nonce, const AtomString& integrity, ReferrerPolicy policy, const AtomString& crossOriginMode, const String& charset, const AtomString& initiatorName, bool isInUserAgentShadowTree, bool isAsync) > >> > >> Was nonce going to be AtomString? > > > > Yup. In Element.h we see that: > > > > ... > > WEBCORE_EXPORT const AtomString& nonce() const; > > ... > > My point is that the code above says const String& nonce instead of const > AtomString& nonce. Oh! I missed that. Will fix.
Committed r288912 (246652@trunk): <https://commits.webkit.org/246652@trunk>