Brian Terlson
cd4461c89e
Merge pull request #380 from bocoup/String.prototype.endsWith
...
Add and update tests for String.prototype.endsWith
2015-07-24 12:51:52 -07:00
Brian Terlson
c699bc84e4
Merge pull request #379 from bocoup/String.prototype.startsWith
...
Add tests for String.prototype.startsWith
2015-07-24 12:51:33 -07:00
Leonardo Balter
33c791e722
String.prototype.startsWith
2015-07-24 15:29:35 -04:00
Leonardo Balter
cc4230564a
String.prototype.endsWith
2015-07-24 15:28:35 -04:00
Brian Terlson
bdd84fb6ae
Merge pull request #352 from bocoup/es6-regexp-u
...
Add tests for RegExp `u` flag
2015-07-24 11:45:18 -07:00
Brian Terlson
f673136e75
Merge pull request #371 from bocoup/symbol-is-concat-spreadable
...
Add tests for @@isConcatSpreadable
2015-07-24 11:44:45 -07:00
Mike Pennisi
9068608ab7
Add tests for RegExp u
flag
2015-07-24 14:43:20 -04:00
Mike Pennisi
71fa7b570c
Add tests for @@isConcatSpreadable
2015-07-24 14:42:35 -04:00
Brian Terlson
2dfcde4698
Merge pull request #375 from bocoup/String.prototype.includes
...
Add tests for String.prototype.includes
2015-07-23 16:20:39 -07:00
Leonardo Balter
096b31a05b
String.prototype.includes
2015-07-23 18:50:59 -04:00
Brian Terlson
57b3d1752b
Merge pull request #366 from bocoup/String.prototype.repeat
...
Add tests for String.prototype.repeat
2015-07-22 17:13:44 -07:00
Brian Terlson
d2c6a3f142
Merge pull request #361 from bocoup/function-name
...
Add tests for function `name` attribute
2015-07-21 18:55:30 -07:00
Brian Terlson
43cf648ac7
Merge pull request #354 from bocoup/es6-regexp-y
...
Add tests for RegExp `y` flag
2015-07-21 18:48:26 -07:00
Mike Pennisi
2fe074134a
Add tests for function name
attribute
...
This change set includes tests for most invocations of the
SetFunctionName abstract operation in the ES2015 specification.
Practical testing considerations preclude the introduction of tests for
certain invocations:
- The project is still vetting methods to sustainably test the semantics
of the Destructuring Binding pattern across all valid productions.
- 13.3.3.6 Runtime Semantics: IteratorBindingInitialization
- 13.3.3.7 Runtime Semantics: KeyedBindingInitialization
- Without a loader, there is no way to access a function object declared
in an ExportDeclaration, so `name` assignment cannot be tested in
these cases
- 14.1.19 Runtime Semantics: InstantiateFunctionObject
- 14.4.12 Runtime Semantics: InstantiateFunctionObject
- 14.5.15 Runtime Semantics: BindingClassDeclarationEvaluation
- 15.2.3.11 Runtime Semantics: Evaluation
2015-07-21 20:05:34 -04:00
Mike Pennisi
946121ec66
Add tests for RegExp y
flag
2015-07-21 20:02:07 -04:00
Brian Terlson
e427e67eb6
Merge pull request #358 from bocoup/promise
...
Extend test coverage for Promise built-in
2015-07-21 16:26:55 -07:00
Brian Terlson
cdc6be9631
Merge pull request #359 from bocoup/String.raw
...
Add tests for String.raw
2015-07-21 13:02:49 -07:00
Brian Terlson
7c7f581a53
Merge pull request #367 from bocoup/String.prototype.normalize
...
Add tests for String.prototype.normalize
2015-07-21 13:01:32 -07:00
Leonardo Balter
95349fcb2c
String.prototype.normalize
2015-07-21 13:58:37 -04:00
Brian Terlson
7992be11ed
Merge pull request #386 from anba/issue-383/test-failures
...
Fix test regressions
2015-07-17 13:06:38 -07:00
Brian Terlson
2284a46ebf
Merge pull request #385 from anba/license
...
Change license headers to standard format
2015-07-17 11:03:07 -07:00
Brian Terlson
28089fe079
Merge pull request #365 from bocoup/codePointAt
...
Add tests for String.prototype.codePointAt
2015-07-17 11:01:58 -07:00
Brian Terlson
367b4d7add
Merge pull request #384 from anba/hg.ecmascript
...
Remove links to hg.ecmascript.org
2015-07-17 11:01:41 -07:00
André Bargull
023c7aa69e
- Remove inline license
...
- Remove duplicate word
- Add missing license
2015-07-17 19:55:00 +02:00
André Bargull
d38de8dca7
Remove links to hg.ecmascript.org (non-license content)
2015-07-17 17:43:27 +02:00
André Bargull
a85f5039e0
Remove links to hg.ecmascript.org
2015-07-17 17:43:09 +02:00
André Bargull
85b248844d
Fix test regressions
...
- Add missing 'negative: ReferenceError' in S7.9_A5.7_T1
- Remove stale 'negative: ReferenceError' in block-local-closure-get-before-initialization
- Remove all tail-call expressions in test/built-ins/Function
- And update code in test/built-ins/Function to simply use 'f()' instead of 'var r = f(); return r'
Fixes #383
2015-07-17 17:31:26 +02:00
Brian Terlson
ada5db7569
Merge pull request #357 from anba/intl402-ed2
...
Intl402 ed2
2015-07-16 16:49:03 -07:00
Leonardo Balter
c6c61bd50d
String.prototype.codePointAt
2015-07-16 18:49:40 -04:00
Brian Terlson
0599e839a3
Merge pull request #349 from bocoup/String.fromCodePoint
...
Add tests for String.fromCodePoint
2015-07-16 15:42:07 -07:00
Brian Terlson
13ebbebfd6
Merge pull request #360 from bocoup/negative-reform
...
Negative reform
2015-07-16 15:31:22 -07:00
Brian Terlson
d62f3a82b9
Merge pull request #374 from edgemaster/pr372-master
...
Fix 11.13.1-4-29gs.js incorrect comment explanation (master)
2015-07-15 12:46:13 -07:00
Thomas Wood
b10f06ada3
Fix 11.13.1-4-29gs.js incorrect comment explanation
...
SyntaxError => TypeError for writing to a non-writeable field.
Fixes #372
2015-07-15 20:32:47 +01:00
Leonardo Balter
3ffca82742
String.prototype.repeat
2015-07-14 17:54:02 -04:00
Brian Terlson
f25d690a68
Merge pull request #348 from bocoup/WeakMap
...
Add tests for WeakMap
2015-07-10 14:26:57 -07:00
Brian Terlson
53be57f9e8
Merge pull request #344 from bocoup/SetIteratorPrototype
...
Improve coverage of SetIteratorPrototype
2015-07-10 14:26:37 -07:00
Leonardo Balter
91900ab646
String.raw
2015-07-10 14:33:19 -04:00
Leonardo Balter
a330d0d979
Improve coverage of SetIteratorPrototype
2015-07-10 14:32:03 -04:00
Leonardo Balter
7f1f806f18
WeakMap.prototype attributes
2015-07-10 14:31:27 -04:00
Leonardo Balter
206265e8fe
WeakMap.prototype[Symbol.toStringTag]
2015-07-10 14:31:26 -04:00
Leonardo Balter
74665f0558
WeakMap.prototype.set
2015-07-10 14:31:26 -04:00
Leonardo Balter
0887df4c67
WeakMap.prototype.has
2015-07-10 14:31:26 -04:00
Leonardo Balter
7acd163264
WeakMap.prototype.get
2015-07-10 14:31:26 -04:00
Leonardo Balter
e44e0c1762
WeakMap.prototype.delete
2015-07-10 14:31:25 -04:00
Leonardo Balter
806beb5ae3
WeakMap.prototype.constructor
2015-07-10 14:31:25 -04:00
Leonardo Balter
f0ec4e6de1
WeakMap - core tests
2015-07-10 14:31:25 -04:00
Leonardo Balter
57b7d13781
String.fromCodePoint
2015-07-10 14:30:27 -04:00
Mike Pennisi
10e0d977ec
Prefer explicit error checking where possible
...
The `negative` frontmatter tag expresses an expectation for the behavior
of the test file as a whole. The `assert.throws` helper function offers
more fine-grained control over expectations because it may be applied to
specific statements and expressions. This makes it preferable in cases
where it may be used (i.e. when the test body does not describe a syntax
error or early error).
Re-implement assertions for errors to use the `assert.throws` helper
function wherever possible.
2015-07-10 14:12:57 -04:00
Brian Terlson
0027a6b6bf
Merge pull request #364 from bocoup/move-fn-proto-tests
...
Move tests for the FunctionPrototype intrinsic
2015-07-10 11:00:15 -07:00
Brian Terlson
0ba2ae40e1
Merge pull request #363 from bocoup/move-class-tests
...
Re-organize class tests
2015-07-10 11:00:00 -07:00