import change from rmottola/Arctic-Fox:

- pointer style (b6253e08b)
- pointer style again (9a39bc621)
- even more pointer style... (f28b6f2c4)
- Bug 1066234 - Part 1: Parser support for 'extends' in ES6 Classes. (7782e671d)
- Bug 1066234 - Part 2: Implement JSOP_CLASSHERITAGE. (d29afcf6d)
- Bug 1066234 - Part 3: Refactor js::CloneFunctionObject to take a proto argument. (0cc6f6048)
- Bug 1066234 - Part 4: Implement JSOP_FUNWITHPROTO. (2e0c04103)
- Bug 1066234 - Part 5: Implement JSOP_OBJWITHPROTO. (2f3980885)
- Bug 1066234 - Part 6: Emitter support for 'extends' in ES6 Classes. (361d75fb4)
- Bug 1066234 - Tests. (c06dccce7)
- Bug 1066238 - Part 1: Parser support for static class methods. (53315d021)
- Bug 1066238 - Part 2: Emitter support for static class methods. (3dc069679)
- Bug 1066238 - Tests. (78470ee78)
- Bug 1142296. Remove the parent argument from NewObjectWithGivenProto (plus adaptations for Goanna) (918202ddd)
- Bug 1142304. Remove the parent argument from NewObjectWithGivenTaggedProto. (036d97369)
This commit is contained in:
2019-04-18 11:01:28 +08:00
parent 19f4294af2
commit 81d2deb5ab
49 changed files with 604 additions and 182 deletions
+1 -1
View File
@@ -3257,7 +3257,7 @@ static bool
array_proto_finish(JSContext* cx, JS::HandleObject ctor, JS::HandleObject proto)
{
// Add Array.prototype[@@unscopables]. ECMA-262 6.0 22.1.3.31.
RootedObject unscopables(cx, NewObjectWithGivenProto<PlainObject>(cx, NullPtr(), NullPtr(), TenuredObject));
RootedObject unscopables(cx, NewObjectWithGivenProto<PlainObject>(cx, NullPtr(), TenuredObject));
if (!unscopables)
return false;