WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
152385
[ES6] Catch parameter should accept BindingPattern
https://bugs.webkit.org/show_bug.cgi?id=152385
Summary
[ES6] Catch parameter should accept BindingPattern
Yusuke Suzuki
Reported
2015-12-17 03:43:28 PST
...
Attachments
Patch
(60.99 KB, patch)
2016-01-21 08:57 PST
,
Yusuke Suzuki
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews105 for mac-yosemite-wk2
(1.16 MB, application/zip)
2016-01-21 09:28 PST
,
Build Bot
no flags
Details
Archive of layout-test-results from ews102 for mac-yosemite
(1.01 MB, application/zip)
2016-01-21 09:46 PST
,
Build Bot
no flags
Details
Archive of layout-test-results from ews117 for mac-yosemite
(936.06 KB, application/zip)
2016-01-21 09:51 PST
,
Build Bot
no flags
Details
Patch
(272.48 KB, patch)
2016-01-21 10:31 PST
,
Yusuke Suzuki
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Yusuke Suzuki
Comment 1
2016-01-21 08:57:16 PST
Created
attachment 269455
[details]
Patch
Saam Barati
Comment 2
2016-01-21 09:15:39 PST
Comment on
attachment 269455
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=269455&action=review
r=me
> Source/JavaScriptCore/tests/stress/catch-parameter-syntax.js:27 > + } catch ([a, a]) {
Is this definitely disallowed by the spec?
Saam Barati
Comment 3
2016-01-21 09:15:58 PST
Comment on
attachment 269455
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=269455&action=review
r=me
> Source/JavaScriptCore/tests/stress/catch-parameter-syntax.js:27 > + } catch ([a, a]) {
Is this definitely disallowed by the spec?
Build Bot
Comment 4
2016-01-21 09:28:27 PST
Comment on
attachment 269455
[details]
Patch
Attachment 269455
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.webkit.org/results/722079
New failing tests: sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T7.html sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T13.html js/mozilla/strict/12.14.1.html sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T5.html sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T8.html js/dom/reserved-words-as-property.html sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T10.html
Build Bot
Comment 5
2016-01-21 09:28:30 PST
Created
attachment 269458
[details]
Archive of layout-test-results from ews105 for mac-yosemite-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews105 Port: mac-yosemite-wk2 Platform: Mac OS X 10.10.5
Yusuke Suzuki
Comment 6
2016-01-21 09:36:50 PST
Comment on
attachment 269455
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=269455&action=review
Thanks!! Before landing, I'll update the test expect files (since failure in layout tests is due to missing test expect file updates)
>>> Source/JavaScriptCore/tests/stress/catch-parameter-syntax.js:27 >>> + } catch ([a, a]) { >> >> Is this definitely disallowed by the spec? > > Is this definitely disallowed by the spec?
Yup! "It is a Syntax Error if BoundNames of CatchParameter contains any duplicate elements."
http://ecma-international.org/ecma-262/6.0/#sec-try-statement-static-semantics-early-errors
Build Bot
Comment 7
2016-01-21 09:46:47 PST
Comment on
attachment 269455
[details]
Patch
Attachment 269455
[details]
did not pass mac-ews (mac): Output:
http://webkit-queues.webkit.org/results/722144
New failing tests: sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T7.html sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T13.html js/mozilla/strict/12.14.1.html sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T5.html sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T8.html js/dom/reserved-words-as-property.html sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T10.html
Build Bot
Comment 8
2016-01-21 09:46:49 PST
Created
attachment 269459
[details]
Archive of layout-test-results from ews102 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews102 Port: mac-yosemite Platform: Mac OS X 10.10.5
Build Bot
Comment 9
2016-01-21 09:51:22 PST
Comment on
attachment 269455
[details]
Patch
Attachment 269455
[details]
did not pass mac-debug-ews (mac): Output:
http://webkit-queues.webkit.org/results/722133
New failing tests: sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T7.html sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T13.html js/mozilla/strict/12.14.1.html sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T5.html sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T8.html js/dom/reserved-words-as-property.html sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T10.html
Build Bot
Comment 10
2016-01-21 09:51:25 PST
Created
attachment 269461
[details]
Archive of layout-test-results from ews117 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews117 Port: mac-yosemite Platform: Mac OS X 10.10.5
Yusuke Suzuki
Comment 11
2016-01-21 10:31:01 PST
Created
attachment 269467
[details]
Patch revised, checking on EWS
Yusuke Suzuki
Comment 12
2016-01-21 10:31:58 PST
Oops. I should add "--no-obsolute"... Anyway, after checking EWS, I'll land it :)
Yusuke Suzuki
Comment 13
2016-01-21 20:21:50 PST
Committed
r195439
: <
http://trac.webkit.org/changeset/195439
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug