Closed Bug 1247743 Opened 8 years ago Closed 8 years ago

Expose non-pinning JS_Atomize[UC]String JSAPI functions

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla47
Tracking Status
firefox47 --- fixed

People

(Reporter: fitzgen, Assigned: fitzgen)

References

Details

Attachments

(1 file, 1 obsolete file)

      No description provided.
Comment on attachment 8718533 [details] [diff] [review]
Expose non-pinning JS_Atomize[UC]String JSAPI functions

Review of attachment 8718533 [details] [diff] [review]:
-----------------------------------------------------------------

Looks reasonable to me.

::: js/src/jsapi.h
@@ +4338,5 @@
>  extern JS_PUBLIC_API(JSString*)
>  JS_AtomizeAndPinJSString(JSContext* cx, JS::HandleString str);
>  
>  extern JS_PUBLIC_API(JSString*)
> +    JS_AtomizeStringN(JSContext* cx, const char* s, size_t length);

What's up with this starting whitespace? Please start the function name at the start of the line here and below.
Attachment #8718533 - Flags: review?(terrence) → review+
Attachment #8718533 - Attachment is obsolete: true
Assignee: nobody → nfitzgerald
Status: NEW → ASSIGNED
https://hg.mozilla.org/mozilla-central/rev/45e529de7f7a
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: