Sami Vaarala
2cbeea5840
require() relative ID test case fixes
These testcases were testing for incorrect behavior.
10 years ago
Sami Vaarala
2dfe28c639
Bug testcase for GH-48
10 years ago
Sami Vaarala
92ea8d1970
Bug testcase for Duktape.gc() return value
10 years ago
Sami Vaarala
aba9d02641
Bug testcase for Date time value edge case bugs
Two test262 cases failed. The tests use Date constructor to create timestamps
near the Ecmascript valid range edge. The Date constructor operates with local
time values, which caused some previous sanity checks to trigger: temporary
time values which have a local tzoffset can be just outside the valid Ecmascript
range which trigger some invalid behavior and one assert failure.
10 years ago
Sami Vaarala
1173953348
Testcase trivia for Array.prototype.join()
10 years ago
Sami Vaarala
b61f20d639
Some 'e.stack' to 'e.stack || e' fixes in tests
10 years ago
Sami Vaarala
fc60360fdd
Add test cases for Date out-of-range handling
10 years ago
Sami Vaarala
d5e9525739
Test case for Proxy finalization on heap destruct
10 years ago
Sami Vaarala
89196817f3
Add a deep merge testcase, exercises key ordering
10 years ago
Sami Vaarala
a9bf21e0c4
Testcase for bound initial function of a thread
Currently, this testcase fails.
10 years ago
Sami Vaarala
39b7573af1
Improve Array filter() test case
Add test for trailing non-existent elements to demonstrate that they don't
have a non-standard real world behavior like map() and concat().
10 years ago
Sami Vaarala
601748c130
Add non-Array case for Array concat() trailer test
Since concat() doesn't "flatten" non-Array arguments, the result is simply
an array with two objects.
10 years ago
Sami Vaarala
06ed53ef89
Array map() test case fixes and improvements
Fix plain map() test case, it broke because of new real world compatible
map() trailing non-existent elements behavior. Add more cases to the
specific test case for trailing elements.
10 years ago
Sami Vaarala
015228502f
Test for Array map() trailing non-existent elems
The real world behavior is to call the user callback only for elements
that exist, and to count any trailing non-existent elements into the
result array length.
10 years ago
Sami Vaarala
ccd81c481b
Clean up Array concat() non-existent trailer test
10 years ago
Sami Vaarala
9a0469b646
Test case for enum corner case from test262
10 years ago
Sami Vaarala
c2576ba00f
Remove non-standard array concat() test
There is now a separate test for the non-standard part of array concat()
behavior, test-bi-array-proto-concat-nonstd-trailing.js.
10 years ago
Sami Vaarala
780f84b360
Improve array concat() trailing element test case
Check that intermediate trailing non-existent elements are handled correctly,
i.e. included in the result.
10 years ago
Sami Vaarala
cb23adb008
Remove obsolete duplicate test case
`test-bi-array-proto-concat-nonstd-trailing.js` covers this case now.
10 years ago
Sami Vaarala
a9f3050c51
Test for array concat() trailing empty elements
10 years ago
Sami Vaarala
1d2e0ac261
Incomplete test case for fast return code paths
10 years ago
Sami Vaarala
1bee11f87c
Test case trivia (semicolons)
10 years ago
Sami Vaarala
a09c2a172e
Testcase for GH-39
10 years ago
Sami Vaarala
f02d4071de
Test case for finalizer reference loop
10 years ago
Sami Vaarala
43bf3828b0
Bug testcases for empty throw and throw autosemi
10 years ago
Sami Vaarala
062f703e55
Testcase for a large Object.defineProperties()
10 years ago
Sami Vaarala
84506d2573
Testcase for deleting plain buffer elements
10 years ago
Sami Vaarala
ecc5dd6b06
Improve Array push() max length testcase
10 years ago
Sami Vaarala
59f7819675
Testcase for writing invalid array length
The Array exotic [[DefineOwnProperty]] must capture and reject such
writes with RangeError. Handling for this is integrated into Duktape's
"putprop" algorithm and also defineProperty(). Other internals must
either use "putprop" or implement a similar check carefully.
10 years ago
Sami Vaarala
f98530c894
Testcase for Array push() max array length
10 years ago
Sami Vaarala
f06bcbccc2
Test case for 'caller' special [[Get]] behavior
Checks various base values for which the special behavior should or
should not apply. Also tests various target values for which the
behavior should or should not apply.
10 years ago
Sami Vaarala
a9f3542550
Testcase for function .caller property thrower
10 years ago
Sami Vaarala
ac915a8b8b
Bruteforce test for Finnish locale DST
10 years ago
Sami Vaarala
c0f865f778
Finnish locale tzoffset corner case tests
10 years ago
Sami Vaarala
a7d7137c97
Testcase for parsing Finnish local time
10 years ago
Sami Vaarala
e93d4f64d6
Testcase whitespace trivia
10 years ago
Sami Vaarala
95c076f910
Internal property test: invalid utf-8 but no 0xFF
If a string does not begin with 0xFF it won't be treated as an internal
string even if it is invalid UTF-8.
10 years ago
Sami Vaarala
c6add47f54
Testcase for user internal props
Also tag Date _value access test case as custom.
10 years ago
Sami Vaarala
f1739884e8
Testcases illustrating access to Date _value
10 years ago
Sami Vaarala
2e30a60ab6
Test case trivia
10 years ago
Sami Vaarala
3f1544d9ad
Test case for leak-like object entry part behavior
10 years ago
Sami Vaarala
637cbcbceb
Update custom/nonstandard flagging of testcases
10 years ago
Sami Vaarala
f858bfedb1
Add knownissue strings to failing testcases
Explain the current failures in short to provide a better picture of
what errors will most likely be left in the 1.0 release.
10 years ago
Sami Vaarala
fc578d3f03
mark a few testcase failures as known issues (not to be fixed in 1.0)
11 years ago
Sami Vaarala
82bd993cc1
mark a few testcase failures as known issues (not to be fixed in 1.0)
11 years ago
Sami Vaarala
dc29ffb4a6
Testcase fix for new error messages
11 years ago
Sami Vaarala
fe86f47877
Add \$ inside character class to regexp testcase.
See GH-19.
11 years ago
Sami Vaarala
5fb1705689
Add a TOTP testcase, exercises bit arithmetic
11 years ago
Sami Vaarala
d67035fd45
Improve non-standard setter/getter key testcase
Demonstrate that the getter (and setter) can be called "out of context"
outside a property access. In this case property key is not given to
the setter/getter call, as it is not available.
11 years ago
Sami Vaarala
fda8e07b1a
Add a prime search testcase
This testcase is adapted from the W3C web workers specification. It has
some less than common bracing and label use.
11 years ago