Sami Vaarala
|
70793b556e
|
refactor Object hasOwnProperty() and propertyIsEnumerable() to use duk_hobject_props.c helper directly
|
12 years ago |
Sami Vaarala
|
6e72902745
|
add a couple of isSealed() and isFrozen() tests; the test objects are created such that they're sealed and/or frozen without explicit seal/freeze calls
|
12 years ago |
Sami Vaarala
|
176081795c
|
ditz issue update
|
12 years ago |
Sami Vaarala
|
e709c5ce28
|
fix defineProperty() testcase, expected value was from V8 which coerces twice (which seems incorrect)
|
12 years ago |
Sami Vaarala
|
fbc5558dfd
|
comment cleanups
|
12 years ago |
Sami Vaarala
|
3a48f6d208
|
defineProperty() fix: detect attempt to change an accessor property to a data property correctly; fix getOwnPropertyDescriptor() result prototype from null to Object.prototype
|
12 years ago |
Sami Vaarala
|
d324ba764c
|
update defineProperty() bug testcase description
|
12 years ago |
Sami Vaarala
|
6fa88d593c
|
testcase to demonstrate current defineProperty() bug
|
12 years ago |
Sami Vaarala
|
3062518a55
|
trivial cleanup
|
12 years ago |
Sami Vaarala
|
db6a97ffa2
|
bug testcase for getOwnPropertyDescriptor() result prototype
|
12 years ago |
Sami Vaarala
|
aadb483ef1
|
implement Object.prototype propertyIsEnumerable() and hasOwnProperty()
|
12 years ago |
Sami Vaarala
|
61e06de928
|
fix ordering issue in Object.getOwnPropertyNames() testcase
|
12 years ago |
Sami Vaarala
|
636a70c57f
|
cleanup DUK_ASSERT(duk_get_top...) assertions to DUK_ASSERT_TOP(); implement Object.prototype.isPrototypeOf
|
12 years ago |
Sami Vaarala
|
08155bce48
|
implement Object.prototype.toLocaleString()
|
12 years ago |
Sami Vaarala
|
8830c6c41e
|
refactor duk_push_this() variants, add duk_push_this_to_object() helper
|
12 years ago |
Sami Vaarala
|
54af437337
|
refactor getOwnPropertyNames(), implement keys()
|
12 years ago |
Sami Vaarala
|
c61299d0e5
|
slightly better placeholder for number parsing, detects trailing garbage
|
12 years ago |
Sami Vaarala
|
939e9d6dcd
|
include String object 'length' in enumeration if non-enumerable properties are requested
|
12 years ago |
Sami Vaarala
|
2eb9929df8
|
demonstrate getOwnPropertyNames() bug for String object non-enumerable 'length' property
|
12 years ago |
Sami Vaarala
|
839696e18b
|
utf-8 enc/dec testcase which uses escape/unescape and decodeURIComponent/encodeURIComponent for hacky utf-8 encoding/decoding
|
12 years ago |
Sami Vaarala
|
4862b7aa49
|
fix include guard names, don't use leading underscores as they are reserved
|
12 years ago |
Sami Vaarala
|
3189e3e5a8
|
add ugly workaround to base64 testcase (caused by print() buffer printing change)
|
12 years ago |
Sami Vaarala
|
0bcddab917
|
remove accidentally added pyc file
|
12 years ago |
Sami Vaarala
|
3fe12609ea
|
implement seal(), freeze(), preventExtensions()
|
12 years ago |
Sami Vaarala
|
5628b0adc3
|
fix defineProperty() return value
|
12 years ago |
Sami Vaarala
|
c4ac81dc25
|
fix defineProperties() to only check own properties of proplist
|
12 years ago |
Sami Vaarala
|
74bb7c74a6
|
first draft of Object.create()
|
12 years ago |
Sami Vaarala
|
0c4188e2e4
|
add 'is number' assertions to tval switch default cases
|
12 years ago |
Sami Vaarala
|
673a5a4b36
|
mark URI encode/decode bruteforce test slow (timed out)
|
12 years ago |
Sami Vaarala
|
da79714acc
|
ditz issue update
|
12 years ago |
Sami Vaarala
|
951537d80e
|
remove unnecessary testcases
|
12 years ago |
Sami Vaarala
|
a56d3da967
|
add coercion tests and fix a bug in String.prototype.trim() testcase
|
12 years ago |
Sami Vaarala
|
2906a97ffb
|
placeholder for parseFloat(), fix later when proper decimal number parsing is added
|
12 years ago |
Sami Vaarala
|
2cd4afb98e
|
first draft of parseInt(), inaccurate for radix 10
|
12 years ago |
Sami Vaarala
|
9819a43b8c
|
fix parseInt() testcase radix-16 test
|
12 years ago |
Sami Vaarala
|
9c92484267
|
add duk_push_this_check_object_coercible() helper; add first draft of string trimming primitive
|
12 years ago |
Sami Vaarala
|
9e8ca671d3
|
change duk_unicode_xutf8_get_u32() to be non-checked; fix minor nits in global object encode/decode functions (now passes tests)
|
12 years ago |
Sami Vaarala
|
0511877f2e
|
first drafts of URI encode/decode, refactor escape/unescape to use (mostly) shared helpers
|
12 years ago |
Sami Vaarala
|
9dfb9e66b5
|
unescape implementation
|
12 years ago |
Sami Vaarala
|
20ae70c93b
|
trivial testcase comments and fixes
|
12 years ago |
Sami Vaarala
|
842b6fa3f0
|
fix escape() test case
|
12 years ago |
Sami Vaarala
|
8abe227c63
|
initial implementation of global object escape()
|
12 years ago |
Sami Vaarala
|
7e848a029a
|
add explicit DUK_USE_SECTION_B define; add uppercase nybbles
|
12 years ago |
Sami Vaarala
|
8a549f1431
|
trivial code comments
|
12 years ago |
Sami Vaarala
|
25c4a42af9
|
add sorting of enumerated keys for array index key enumeration
|
12 years ago |
Sami Vaarala
|
7d68f8d12d
|
string testcases
|
12 years ago |
Sami Vaarala
|
e50ff0a6f8
|
object test cases
|
12 years ago |
Sami Vaarala
|
677437b6b6
|
object defineProperty() test
|
12 years ago |
Sami Vaarala
|
b07deb25fd
|
object testcases
|
12 years ago |
Sami Vaarala
|
e27231b35b
|
object testcases
|
12 years ago |