mirror of https://github.com/svaarala/duktape.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
968 B
34 lines
968 B
11 years ago
|
--- !ditz.rubyforge.org,2008-03-06/issue
|
||
|
title: fix 'stack' setter
|
||
|
desc: ""
|
||
|
type: :task
|
||
|
component: duk
|
||
|
release: v0.7
|
||
|
reporter: sva <sami.vaarala@iki.fi>
|
||
|
status: :closed
|
||
|
disposition: :fixed
|
||
|
creation_time: 2013-10-22 21:06:50.684822 Z
|
||
|
references: []
|
||
|
|
||
|
id: 0e2175c77aeb960ab85e35eb6068df6d040e1cb6
|
||
|
log_events:
|
||
|
- - 2013-10-22 21:06:50.860353 Z
|
||
|
- sva <sami.vaarala@iki.fi>
|
||
|
- created
|
||
|
- ""
|
||
|
- - 2013-10-22 21:10:21.427051 Z
|
||
|
- sva <sami.vaarala@iki.fi>
|
||
|
- commented
|
||
|
- |-
|
||
|
Perhaps having the 'stack' setter be a no-op is a good solution after all
|
||
|
(although it differs from V8 behavior). User can still override the setter
|
||
|
explicitly using Object.defineProperty().
|
||
|
|
||
|
The same logic could be applied to fileName and lineNumber getters. All
|
||
|
of these (stack, fileName, lineNumber) could share the same setter which
|
||
|
just silently returns.
|
||
|
- - 2013-10-22 21:18:03.295852 Z
|
||
|
- sva <sami.vaarala@iki.fi>
|
||
|
- closed with disposition fixed
|
||
|
- ""
|