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.
35 lines
1.1 KiB
35 lines
1.1 KiB
--- !ditz.rubyforge.org,2008-03-06/issue
|
|
title: "api: reconsider duk_get_length() return value behavior for objects"
|
|
desc: |-
|
|
Currently the returned value is a 32-bit one, although the function's return
|
|
type is duk_size_t.
|
|
|
|
Comment from API design phase:
|
|
|
|
- Handling of object length is a bit curious as it is not clamped or
|
|
checked against the size_t range. The 32-bit unsigned range comes
|
|
from the fact that Ecmascript semantics for array lengths are defined
|
|
for 32-bit unsigned integer lengths (E5).
|
|
type: :task
|
|
component: duk
|
|
release: v1.2
|
|
reporter: Sami Vaarala <sami.vaarala@iki.fi>
|
|
status: :unstarted
|
|
disposition:
|
|
creation_time: 2014-09-16 20:26:39.998158 Z
|
|
references: []
|
|
|
|
id: 753570e99b6780398d29e3ab2a7a3922c418131a
|
|
log_events:
|
|
- - 2014-09-16 20:26:40.170599 Z
|
|
- Sami Vaarala <sami.vaarala@iki.fi>
|
|
- created
|
|
- ""
|
|
- - 2014-10-03 12:21:49.152435 Z
|
|
- Sami Vaarala <sami.vaarala@iki.fi>
|
|
- assigned to release v1.1 from v1.0
|
|
- ""
|
|
- - 2014-12-22 16:20:15.266959 Z
|
|
- Sami Vaarala <sami.vaarala@iki.fi>
|
|
- assigned to release v1.2 from v1.1
|
|
- ""
|
|
|