Bug 9913
| Summary: | JSC should support conditional catch blocks | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Arthur Langereis <arthur_webkit> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED WONTFIX | ||
| Severity: | Enhancement | CC: | barraclough, emacemac7, ggaren, mjs |
| Priority: | P3 | ||
| Version: | 420+ | ||
| Hardware: | Mac | ||
| OS: | OS X 10.4 | ||
| URL: | http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Guide:Exception_Handling_Statements:try...catch_Statement#The_catch_Block | ||
Arthur Langereis
Moz supports multiple conditional catch blocks with a try block. It would be nice to see support for this in WebKit.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Joost de Valk (AlthA)
cc-ing mjs and ggaren, they might know if this is doable.
Geoffrey Garen
Seems doable.
Gavin Barraclough
I think we have to mark this WONTFIX.
JavaScript engines are moving to much closer compatibility & spec compliance, and I haven't seen any progress on this feature on the standards track. Since this bug has gone nowhere in 5 years, I don't think we're aware of any pressing web compatibility needs, and this is not being standardized, I don't think this is something we're going to implement.
Hope this seems reasonable, please reopen if this decision seems inappropriate - if there are major website compatibility reasons of standards progress that would justify doing so.