This will address feedback of folks trying to use this API.
<rdar://problem/48880625>
Created attachment 364726 [details] patch
Attachment 364726 [details] did not pass style-queue: ERROR: Source/JavaScriptCore/API/tests/testapi.mm:2205: One line control clauses should not use braces. [whitespace/braces] [4] ERROR: Source/JavaScriptCore/API/tests/testapi.mm:2237: One line control clauses should not use braces. [whitespace/braces] [4] Total errors found: 2 in 6 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 364726 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=364726&action=review r=me > Source/JavaScriptCore/API/JSScript.mm:290 > + error = "No cache was path provided during construction of this JSScript."_s; I know you didn't change this error message, but shouldn't it read "No cache *path was* provided during construction of this JSScript."?
Comment on attachment 364726 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=364726&action=review >> Source/JavaScriptCore/API/JSScript.mm:290 >> + error = "No cache was path provided during construction of this JSScript."_s; > > I know you didn't change this error message, but shouldn't it read "No cache *path was* provided during construction of this JSScript."? Yeah will fix.
Created attachment 364743 [details] patch for landing
landed in: https://trac.webkit.org/changeset/242980/webkit