Closed
Bug 1281359
Opened 9 years ago
Closed 8 years ago
ECMAScript “self referential defaulting” should throw when no argument is provided
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: sime.vidas, Unassigned)
References
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0
Build ID: 20160604131506
Steps to reproduce:
1. Go to https://jsbin.com/habumi/edit?js,console
2. Press Run button (upper right) if necessary
Actual results:
The Console will produce “Runs successfully”.
Expected results:
The Console should have produced “Throws”.
Reporter | ||
Updated•9 years ago
|
Summary: “Self referential defaulting” should throw is no argument is provided → “Self referential defaulting” should throw when no argument is provided
Reporter | ||
Updated•9 years ago
|
Summary: “Self referential defaulting” should throw when no argument is provided → ECMAScript “self referential defaulting” should throw when no argument is provided
Reporter | ||
Comment 1•9 years ago
|
||
Related discussion on Twitter: https://mobile.twitter.com/bradleymeck/status/745269832669532160
Reporter | ||
Comment 2•9 years ago
|
||
Forgot to mention, I’ve tested in Chrome and Edge, and both produce “Throws”. I’m not sure what the correct behavior is according to the spec, but based on the Twitter disc. and browser majority, I’m assuming it should throw.
Comment 3•9 years ago
|
||
sounds like a related issue to bug 1022967
Status: UNCONFIRMED → NEW
Component: Untriaged → JavaScript Engine
Ever confirmed: true
Product: Firefox → Core
See Also: → 1022967
Comment 4•8 years ago
|
||
Fixed by bug 1263355.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•