Merge branch 'master' into harmony-v3.0.21

This commit is contained in:
alexlamsl
2017-06-29 00:58:28 +08:00
6 changed files with 45 additions and 27 deletions

View File

@@ -212,7 +212,7 @@ describe("minify", function() {
});
var err = result.error;
assert.ok(err instanceof Error);
assert.strictEqual(err.stack.split(/\n/)[0], "Error: Can't handle expression: debugger");
assert.strictEqual(err.stack.split(/\n/)[0], "SyntaxError: Unexpected token: keyword (debugger)");
});
it("should skip inherited properties", function() {
var foo = Object.create({ skip: this });