Closed Bug 743887 Opened 13 years ago Closed 12 years ago

Make JS TypeError throwable from outside JS

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 765464

People

(Reporter: emk, Unassigned)

References

Details

Sometimes Web specs require this.
I think we should just mint a new nsresult value which XPConnect can recognize and turn into a TypeError.
Note bug 742191. I don't think we should worry too much about doing this for XPConnect stuff; we do need to do it for the new bindings.
I would be riding on new bindings.
Component: XPCOM → DOM
Depends on: 742191
QA Contact: xpcom → general
Fixed by bug 765464.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.