Summary: | Wrong error type is thrown for type errors in callbacks | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Erik Arvidsson <arv> | ||||||
Component: | DOM | Assignee: | Erik Arvidsson <arv> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | abarth, adamk, eric.carlson, feature-media-reviews, haraken, hta, japhet, jsbell, tommyw, webkit.review.bot | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
URL: | http://www.w3.org/TR/WebIDL/#es-callback-function | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 101604 | ||||||||
Attachments: |
|
Description
Erik Arvidsson
2012-11-07 12:42:30 PST
Looks like this would be easy to fix in the code generators. Watch out for overloads in addition to the normal case; we may do different checking for overloads. Created attachment 173045 [details]
Patch
It doesn't look like run-bindings-tests --reset-results was run, so this will probably fail the bots. LGTM otherwise; sad that our coverage is so poor, but at least it means this change is likely Web-compatible. Created attachment 173061 [details]
Patch
(In reply to comment #3) > It doesn't look like run-bindings-tests --reset-results was run, so this will probably fail the bots. Oops. Done. Comment on attachment 173061 [details]
Patch
ok
Comment on attachment 173061 [details] Patch Clearing flags on attachment: 173061 Committed r133932: <http://trac.webkit.org/changeset/133932> All reviewed patches have been landed. Closing bug. |