Simplify dom::ErrorResult::ReportJSExceptionFromJSImplementation

RESOLVED FIXED in mozilla28

Status

()

Core
DOM
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: peterv, Assigned: peterv)

Tracking

Trunk
mozilla28
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [qa-])

Attachments

(1 attachment)

(Assignee)

Description

4 years ago
Created attachment 831506 [details] [diff] [review]
v1

Jason pointed this out somewhere, we can simplify dom::ErrorResult::ReportJSExceptionFromJSImplementation by just calling JS_ReportError.
Attachment #831506 - Flags: review?(bzbarsky)
Comment on attachment 831506 [details] [diff] [review]
v1

r=me, but can you please get the JS folks to fix their documentation for JS_ReportError to not claim that it uses sprintf(), since it clearly doesn't?
Attachment #831506 - Flags: review?(bzbarsky) → review+
(Assignee)

Comment 2

4 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/940da12657e0
https://hg.mozilla.org/mozilla-central/rev/940da12657e0
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28

Updated

4 years ago
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.