Closed Bug 991080 Opened 6 years ago Closed 6 years ago
Add an overload of Argument
To JSValue for Promise that takes an ns TArray and creates a JS array
Add an overload of ArgumentToJSValue for Promise that takes an nsTArray and creates a JS array.
Summary: Add a → Add an overload of ArgumentToJSValue for Promise that takes an nsTArray and creates a JS array
Note that we could avoid allocating a temporary vector if we instead did a bunch of JS_DefineProperty calls... I'm not sure which is worse.
Attachment #8400669 - Flags: review?(khuey) → review+
Whiteboard: [need review]
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
You need to log in before you can comment on or make changes to this bug.