Bug 87987 - Support throwing TypeError from WebIDL bindings
Summary: Support throwing TypeError from WebIDL bindings
Status: RESOLVED DUPLICATE of bug 91679
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore JavaScript (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Blocks: 85513
  Show dependency treegraph
Reported: 2012-05-31 10:26 PDT by Alec Flett
Modified: 2012-07-18 16:06 PDT (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Alec Flett 2012-05-31 10:26:09 PDT
The current WebIDL scripts / bindings dont' support any means to throw a JavaScript TypeError. We'll probably need to (taking a cue from Mozilla) have a special error code.
Comment 1 Joshua Bell 2012-07-18 16:06:18 PDT
Whoops, didn't notice we had an existing bug for this. Patch and tests in the other one, so marking this as the dupe.

*** This bug has been marked as a duplicate of bug 91679 ***