Commit Graph

407 Commits (5b3d6f5b1e978b478878c9f8723832d32263f0d5)

Author SHA1 Message Date
Fedor 11748e030a 1344477 - Add dedicated opcode for function call ignoring return value. 2019-09-05 20:07:08 +03:00
Fedor 6083e3130a Refactor abortIfSyntaxParser after destructring. 2019-09-05 20:07:05 +03:00
Fedor d7a91d9be2 1303703 - Syntax parse destructuring patterns. 2019-09-05 20:07:03 +03:00
Fedor 713888bd05 420857 - Syntax error for missing brace should mention the line number of the opening brace. 2019-09-05 20:07:00 +03:00
Fedor d3e6886052 1357506 - Remove assert that constructorBox can only be set once when parsing classes. 2019-09-05 20:06:56 +03:00
Fedor f324d6470a 1359622 - Fix assert for calling Function.toString... 2019-09-05 20:06:53 +03:00
Fedor 4b0d0e0c78 1364573 - Don't relazify class default constructors. 2019-09-05 20:06:50 +03:00
Fedor 8d007f4de3 1357483 - Stop changing the end position of parenthesized expression ParseNodes. 2019-09-05 20:06:47 +03:00
Fedor 3464bbc4ce 1216630 - Function.prototype.toString() on class must not return function source code string. 2019-09-05 20:06:35 +03:00
Fedor 0154fa01b6 1340148 - Disallow function redeclarations at module top level. 2019-09-05 20:06:33 +03:00
Fedor bc64f5e333 104442 - JS Engine doesn't appear to know where a variable was declared. 2019-09-05 20:06:29 +03:00
Fedor 4cb03fb6ec 1342273 - Improve frontend tracelogging [PARTIAL]. 2019-09-05 20:06:26 +03:00
Fedor 269640d89b 1339963 - export {...} without /from/ should check names against Reserved Words. 2019-09-05 20:06:24 +03:00
Fedor e0ea453381 Fix a thread assertion in NewCopiedArrayTryUseGroup. 2019-09-05 20:06:21 +03:00
Fedor 5b5c069d0c 1317387: The intrinsic function should be frozen. 2019-09-05 20:06:18 +03:00
Fedor 0e170d0294 1340089 - Check the binding name in comprehensionFor. 2019-09-05 20:06:15 +03:00
Fedor 2bb2a37638 1336783 - Remove TokenStream::KeywordIsName. 2019-09-05 20:06:12 +03:00
Fedor 165084547d Make JSErrorNotes Single Threaded. 2019-09-05 20:06:09 +03:00
Fedor 0e2b6e8609 1283712 - Add a mechanism to add notes for an error message. 2019-09-05 20:06:06 +03:00
Fedor 8a0e23aadb 1332245 - Move nsScriptError from js/xpconnect to dom/bindings. 2019-09-05 20:06:03 +03:00
Fedor f4a5088c68 1339137 - Don't do Annex B lexical function behavior. 2019-09-05 20:06:00 +03:00
Fedor c979d57203 1337143 - Tweak the parser to eliminate two complexifying peekTokens where getToken could be used. 2019-09-05 20:05:57 +03:00
Fedor df9455157d 1320408 - Change method that does GC on |this| to static method with Handle parameter. 2019-09-05 20:05:54 +03:00
Fedor 8e874d3abd 1175823 - Implement [[DefineOwnProperty]] for mapped arguments object. 2019-09-05 20:05:50 +03:00
Fedor 164918e9fc 1333045 - Update Location object properties to current spec. 2019-09-05 20:05:47 +03:00
Fedor 6445606f38 1333143 - Self-host Object.prototype.valueOf. 2019-09-05 20:05:43 +03:00
Fedor 2224892a76 903389 - valueOf getter not called for ToPrimitive conversion on wrapper types. 2019-09-05 20:05:41 +03:00
Fedor 1531bf5860 1317375 - Implement "Template Literals Revision.." ECMAScript proposal. 2019-09-05 20:05:37 +03:00
Fedor 72a5ed990a 1317374 - Don't do Annex B lexical function behavior when redeclaring a parameter name. 2019-09-05 20:05:35 +03:00
Fedor a75c03ed8a 1323324 - Make Promise::unforgeable{Resolve,Reject} spec-compliant. 2019-09-05 20:05:31 +03:00
Fedor 9e9223be14 1325606 - Return wrapped async function from caller property. 2019-09-05 20:05:29 +03:00
Fedor 5f8341bf16 1326454 - Make TokenStream report OOM immediately. 2019-09-05 20:05:26 +03:00
Fedor 91a06d9871 1325157 - Implement a ParserBase class that holds functionality that's identical. 2019-09-05 20:05:23 +03:00
Fedor 2f875f554c 1325473 - A TypeError should be thrown when accessing 'arguments' or 'caller' on any of the new function types. 2019-09-05 20:05:20 +03:00
Fedor 07c18a52b1 1320403 - Move JSFunction::EXPR_BODY to JSScript, LazyScript, and FunctionBox. 2019-09-05 20:05:17 +03:00
Fedor 8b786c6485 636635 - Do not create named lambda binding for a function created by Function constructor. 2019-09-05 20:05:14 +03:00
Fedor 15f2efd681 1317379 - Disallow generator functions and async functions as direct children of if/else. 2019-09-05 20:05:11 +03:00
Fedor 2382e23ae8 1296814 - Move FunctionDeclaration... 2019-09-05 20:05:08 +03:00
Fedor 184697b9c4 1317153 - Error for incorrect usage of await keyword is not helpful. 2019-09-05 20:05:05 +03:00
Fedor 943a0d43ee 1317090 - Remove js::FindBody. 2019-09-05 20:05:02 +03:00
Fedor 58fb36de9e 1315815 - Don't treat async or await as a keyword when they contain escapes. 2019-09-05 20:04:59 +03:00
Fedor b90c7abc6a Revert "Capture delayed events and cancel as necessary." 2019-09-05 20:04:56 +03:00
Fedor 78293a0cfe Consider domain when deciding on inner window reuse. 2019-09-05 20:04:50 +03:00
Fedor 57558ce7dd Use a RefPtr to hold owner element ref when moving media resource load to background. 2019-09-05 20:04:43 +03:00
Fedor ad27116564 Support spaces in Mac app name. 2019-09-05 20:04:37 +03:00
Fedor 0c4242dd71 Prohibit the use of RSASSA-PKCS1-v1_5 algorithms in TLS 1.3. 2019-09-05 20:04:34 +03:00
Fedor 37978cf0a2 Don't unnecessarily strip leading 0's from key material during PKCS11 import. 2019-09-05 20:04:32 +03:00
Fedor 86f2db3d82 Apply better input checking discipline. 2019-09-05 20:04:29 +03:00
Fedor 4e7b2bbbe4 Don't access gNeckoChild if not on main thread. 2019-09-05 20:04:26 +03:00
Fedor 274a0f654a Block http auth prompt for cross-origin image subresources by default. 2019-09-05 20:04:20 +03:00