Commit graph

2,719 commits

Author SHA1 Message Date
Gaming4JC
c2bd1ca0bc 1283712 - Part 1: Add JSErrorBase, JSErrorNotes, JSErrorNotes::Note, and JSErrorReport.{notes,freeNotes}. 2019-07-22 19:49:32 +08:00
Gaming4JC
c92b219172 1339137 - Don't do Annex B lexical function behavior when redeclaring a parameter name in a function with parameter expressions. 2019-07-22 19:49:28 +08:00
Gaming4JC
bba9b43fca 1337143 - Tweak ExportClause parsing to eliminate a peekToken where a simpler consuming getToken could be performed. 2019-07-22 19:49:24 +08:00
Gaming4JC
bd6ebc2ffe 1337143 - Tweak NamedImports parsing to eliminate a complexifying peekToken where getToken could be used. 2019-07-22 19:49:20 +08:00
Gaming4JC
26cafc58b3 1320408 - Part 26: Remove Shape::set declaration. 2019-07-22 19:49:15 +08:00
Gaming4JC
f232a0b574 1320408 - Part 25: Change NativeObject::toDictionaryMode to static method. 2019-07-22 19:49:11 +08:00
Gaming4JC
83fb6841af 1320408 - Part 24: Change NativeObject::{fillInAfterSwap,replaceWithNewEquivalentShape,generateOwnShape,shadowingShapeChange} to static method. 2019-07-22 19:49:04 +08:00
Gaming4JC
8a42a64748 1320408 - Part 23: Change RegExpObject::{getShared,createShared,dumpBytecode} to static method. 2019-07-22 19:48:59 +08:00
Gaming4JC
317605333c 1320408 - Part 22: Remove JSContext* parameter from ProxyObject::renew and Wrapper::Renew. 2019-07-22 19:48:52 +08:00
Gaming4JC
f376135778 1320408 - Part 21: Change PromiseObject::onSettled to static method. 2019-07-22 19:48:46 +08:00
Gaming4JC
e5b36e01b9 1320408 - Part 20: Change PromiseObject::resolve and PromiseObject::reject to static method. 2019-07-22 19:48:40 +08:00
Gaming4JC
62eeeb76b5 1320408 - Part 19: Remove JSContext* parameter from ModuleObject::fixEnvironmentsAfterCompartmentMerge. 2019-07-22 19:48:36 +08:00
Gaming4JC
3fb93ffdf6 1320408 - Part 18: Change StringObject::init to static method. 2019-07-22 19:48:30 +08:00
Gaming4JC
d102bd41c8 1320408 - Part 17: Change NativeObject::clearFlag to static method. 2019-07-22 19:48:27 +08:00
Gaming4JC
9e0f10ac59 1320408 - Part 16: Change NativeObject::removeProperty to static method. 2019-07-22 19:48:22 +08:00
Gaming4JC
a2451c8234 1320408 - Part 15: Change NativeObject::addDataProperty to static method. 2019-07-22 19:48:18 +08:00
Gaming4JC
cc8cb910dd 1320408 - Part 14: Change some GlobalObject methods to static method. 2019-07-22 19:48:14 +08:00
Gaming4JC
b237ae6437 1320408 - Part 13: Change DebugEnvironmentProxy::getMaybeSentinelValue to static method. 2019-07-22 19:48:09 +08:00
Gaming4JC
68b04671cb 1320408 - Change JSScript::sourceDataWithPrelude to static method
UXP Interdiff
2019-07-22 19:48:05 +08:00
Gaming4JC
d208cccd10 1320408 - Part 12: Change JSScript::sourceData to static method. 2019-07-22 19:48:01 +08:00
Gaming4JC
56a4517a1f 1320408 - Part 10: Change LazyScript::functionDelazifying to static method. 2019-07-22 19:47:56 +08:00
Gaming4JC
7f856ff769 1320408 - Part 9: Change JSObject::setFlags and depending methods to static method. 2019-07-22 19:47:51 +08:00
Gaming4JC
7e0b20a7bf 1320408 - Part 8: Change JSObject::reportNotConfigurable and JSObject::reportNotExtensible to static method. 2019-07-22 19:47:47 +08:00
Gaming4JC
f32edc66ae 1320408 - Part 7: Remove JSContext* parameter from JSObject::shouldSplicePrototype. 2019-07-22 19:47:44 +08:00
Gaming4JC
a38594f890 1320408 - Part 6: Change JSObject::splicePrototype to static method. 2019-07-22 19:47:40 +08:00
Gaming4JC
6a21912a94 1320408 - Part 5: Change JSObject::constructorDisplayAtom to static method. 2019-07-22 19:47:37 +08:00
Gaming4JC
87bfc02f09 1320408 - Part 4: Change JSObject::getGroup to static method. 2019-07-22 19:47:34 +08:00
Gaming4JC
ed78b21cf0 1320408 - Part 3: Remove JSContext* parameter from JSFunction::getBoundFunctionArgument. 2019-07-22 19:47:31 +08:00
Gaming4JC
07cd213071 1320408 - Part 2: Change JSFunction::getOrCreateScript to static method. 2019-07-22 19:47:27 +08:00
Gaming4JC
6633322957 1320408 - Part 1: Change JSFunction::getLength and JSFunction::getUnresolvedLength to static method. 2019-07-22 19:47:24 +08:00
Gaming4JC
85df465355 1175823 - Import test262 mapped arguments tests. 2019-07-22 19:47:21 +08:00
Gaming4JC
3ce5343851 1175823 - Implement [[DefineOwnProperty]] for mapped arguments object. 2019-07-22 19:47:18 +08:00
Gaming4JC
1af9026a89 1333045 - Update Location object properties to current spec.
Specifically, three changes:
1) valueOf should be non-enumerable.
2) valueOf should be === to Object.prototype.valueOf.
3) There should be no toJSON.
2019-07-22 19:47:15 +08:00
Gaming4JC
337cdbd0ce 1333143 - Self-host Object.prototype.valueOf. 2019-07-22 19:47:12 +08:00
Gaming4JC
5d929d8c47 903389 - Make Make NativeGet[Getter]PureInline handle dense/typed array shapes. 2019-07-22 19:47:09 +08:00
Gaming4JC
2391e18681 903389 - Fix uses of ClassMethodIsNative. 2019-07-22 19:47:04 +08:00
Gaming4JC
ee1e2aba19 1317375 - Implement "Template Literals Revision / Lifting Template Literal Restriction" ECMAScript proposal 2019-07-22 19:47:00 +08:00
Gaming4JC
8350dfc515 1317374 - Don't do Annex B lexical function behavior when redeclaring a parameter name. 2019-07-22 19:46:55 +08:00
Gaming4JC
146dbe7bee 1323324 - Part 1: Make Promise::unforgeable{Resolve,Reject} spec-compliant. 2019-07-22 19:46:50 +08:00
Gaming4JC
ff46e0c58c 1325606 - Return wrapped async function from caller property. 2019-07-22 19:46:47 +08:00
Gaming4JC
e4867e8b4d 1326454 - Don't report an error when SourceCoords::add fails, because it fails only when an underlying Vector::append fails, and that vector handles OOM reporting itself. 2019-07-22 19:46:43 +08:00
Gaming4JC
6828c2c09b 1326454 - Add assertions to TokenStream::skipChars{,IgnoreEOL} verifying EOF isn't yet hit and that newlines aren't skipped, if appropriate. 2019-07-22 19:46:40 +08:00
Gaming4JC
a91f1769b7 1326454 - Make TokenStream::skipChars{,IgnoreEOL} accept an unsigned integral number of chars to skip. 2019-07-22 19:46:36 +08:00
Gaming4JC
c7d3f8e8a3 1326454 - Make TokenStream::peekChar's signature fallible. 2019-07-22 19:46:33 +08:00
Gaming4JC
3d4f7e67fc 1326454 - Rename TokenStream::getBracedUnicode to TokenStream::matchBracedUnicode and make its signature fallible. 2019-07-22 19:46:30 +08:00
Gaming4JC
cd2bccf4c0 1326454 - Introduce TokenStream::warning that warns at the current offset. 2019-07-22 19:46:27 +08:00
Gaming4JC
c94ed16b4f 1326454 - Introduce TokenStream::error that reports an error at the current offset. 2019-07-22 19:46:24 +08:00
Gaming4JC
94c6eea52b 1325157 - Implement a ParserBase class that holds functionality that's identical between syntax parsing and full parsing. 2019-07-22 19:46:21 +08:00
Gaming4JC
baab6a6ca9 1325473 - A TypeError should be thrown when accessing 'arguments' or 'caller' on any of the new function types. 2019-07-22 19:46:18 +08:00
Gaming4JC
d451930d58 1320403 - Move JSFunction::EXPR_BODY to JSScript, LazyScript, and FunctionBox. 2019-07-22 19:46:14 +08:00