Summary: | IDL bindings should throw TypeError when called with too few arguments | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Andreas Kling <kling> | ||||
Component: | WebCore JavaScript | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED DUPLICATE | ||||||
Severity: | Normal | CC: | benjamin, darin, sam | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 39962 | ||||||
Attachments: |
|
Description
Andreas Kling
2010-06-02 06:49:56 PDT
Created attachment 57649 [details]
Proposed patch
First stab at a patch.
Comment on attachment 57649 [details]
Proposed patch
We have made a conscious decision not throw for two few arguments and we should a much larger discussion if we want to change that behavior. It is very likely that this will break a lot of webkit specific code paths on web. r-
(In reply to comment #2) > (From update of attachment 57649 [details]) > We have made a conscious decision not throw for two few arguments and we should a much larger discussion if we want to change that behavior. I see. Where can I find the original discussion about this? |