https://codereview.chromium.org/663683006/diff/500001/test/mjsunit/es6/templates.js
File test/mjsunit/es6/templates.js (right):
https://codereview.chromium.org/663683006/diff/500001/test/mjsunit/es6/templates.js#newcode38
test/mjsunit/es6/templates.js:38: (function testLineCondition() {
On 2014/11/12 15:43:15, arv wrote:
testLineCondition -> testLineContinuation
Whoops. Done.
https://codereview.chromium.org/663683006/diff/500001/test/mjsunit/es6/templates.js#newcode219
test/mjsunit/es6/templates.js:219: })();
On 2014/11/12 15:43:15, arv wrote:
A few more test would not hurt:
1.
I know your code behaves correct here but we should add a few more
tests for
strange Array.prototype. For example using setters.
Object.defineProperty(Array.prototype, 0, {
set: function() {
assertUnreachable();
}
});
fn`a${1}b`
2.Can you add tests that the call site object has the correct shape
and is
froozen?
3. I don't see a test for \`
4. Maybe a test with a BOM is needed too?
Done. I'm not sure the BOM test makes a lot of sense, but I've added one
just to see if it's consistent with FF's behaviour, which it is.
I guess a bit more could be done to test the shape of the
callSiteObject, but it seems about right.
https://codereview.chromium.org/663683006/
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.