1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-05-27 21:38:34 +00:00
Commit Graph

115 Commits

Author SHA1 Message Date
janekptacijarabaci 344ea39e20 Bug 1310078 - Implement valueAsNumber and valueAsDate for <input type=datetime-local> 2019-02-15 23:44:42 +08:00
janekptacijarabaci 5381ebe25c Bug 1287677 - Add mozIntl.getDisplayNames API 2019-02-15 23:44:41 +08:00
wolfbeast d37246737b Convert MOZILLA_OFFICIAL conditionals to MC_OFFICIAL where needed.
- `--enable-official-branding` implies `MC_OFFICIAL` (no need to specifically set it)
- `--enable-official-vendor` can be used to set `MC_OFFICIAL` on builds without `--enable-official-branding` that should still be considered official release versions.
- `MC_OFFICIAL` implies `--enable-release`, meaning `DEVELOPER_OPTIONS` isn't set
- `MC_OFFICIAL` makes `nsXULAppInfo.getIsOfficial` return `true`
- `MC_OFFICIAL` makes `AppConstants.MOZILLA_OFFICIAL` (for compatibility in extensions) and `AppConstants.MC_OFFICIAL` return `true`
- Optional, for the time being: `MOZILLA_OFFICIAL` is still present in some places in case someone wants to build a Mozilla-alike official application and has the rights and necessary keys to use Mozilla-official third-party services. This must always be combined with `MC_OFFICIAL` to have a sane combination of defines. This may be removed in the future.
2019-02-15 23:44:10 +08:00
trav90 10b24b8110 Fix Value::isGCThing footgun, stop returning true for NullValue 2019-02-15 23:41:26 +08:00
trav90 c5757236c9 Fix incorrect assertions in js/src/builtin/
Prevents GCC 7 build warning spam.
2019-02-15 23:41:15 +08:00
wolfbeast b79a4ce07d Silence for-each-in warnings 2019-02-15 23:40:55 +08:00
wolfbeast 434f3590e3 Remove base conditional code for crash reporter and injector. 2019-02-15 23:39:53 +08:00
janekptacijarabaci f8591643c5 JS - support for Array.prototype.values() 2019-02-15 23:39:48 +08:00
wolfbeast ef6478af8c Revert "Enable Array.prototype.values"
This reverts commit 424ed1b165e50f2e71c082c0c70fcda2a2764d18.
2019-02-15 23:39:47 +08:00
wolfbeast 663b7836f5 Enable Array.prototype.values
This resolves #85
2019-02-15 23:39:40 +08:00
janekptacijarabaci 78ce3bf8ff Bug 1317397: Only set lastIndex for global or sticky RegExps in RegExpBuiltinExec per ES2017 2019-02-15 23:39:39 +08:00
janekptacijarabaci 401d677e47 Bug 1343375: Update RegExp.prototype.replace and .match to call ToLength(lastIndex) for non-global RegExp and handle recompilations
[Depends on] Bug 1317397: Implement RegExp.lastIndex changes from ES2017
2019-02-15 23:39:37 +08:00
janekptacijarabaci 76b099abb2 Bug 1360839 - Call IteratorClose due to abrupt completion from yield
Issue #74
2019-02-15 23:39:36 +08:00
janekptacijarabaci ac07311b18 Bug 1357075 - Pad a nop to unwind to the scope just before a destructuring iterator close trynote
Issue #74
2019-02-15 23:39:34 +08:00
janekptacijarabaci 8af5664922 Bug 1346862 - Fix IteratorClose due to non-local jumps being catchable by try statements inside for-of
Issue #74
2019-02-15 23:39:32 +08:00
janekptacijarabaci 5bf58e6044 Bug 1342553 - Part 0.2: Support JSOP_CHECKISCALLABLE in JIT
Issue #74
2019-02-15 23:39:30 +08:00
janekptacijarabaci 444483bf81 Bug 1342553, Bug 1343072, Bug 1344753 (details in the description)
Bug 1342553 - Part 0.1: Use try-catch for IteratorClose in for-of
Bug 1343072 - Update HasLiveStackValueAtDepth to follow the change in
JSTRY_FOR_OF
Bug 1344753 - Update for-of stack depth in
ControlFlowGenerator::processWhileOrForInLoop

Issue #74
2019-02-15 23:39:29 +08:00
janekptacijarabaci b0960bf497 Bug 1334314 - Fix debug mode OSR exception handling for IteratorClose trynotes
Issue #74
2019-02-15 23:39:27 +08:00
janekptacijarabaci 4ac4296fce Bug 1331585 - Allow falsy "done" values for IteratorClose due to exception during array destructuring
Issue #74
2019-02-15 23:39:26 +08:00
janekptacijarabaci b8eb17e022 Bug 1341339 - Check for duplicates in processIterators
Issue #74
2019-02-15 23:39:24 +08:00
janekptacijarabaci 24ea151662 Bug 1338796 - Do not call iterator.return if iterator.throw is present in yield*
Issue #74
2019-02-15 23:39:23 +08:00
janekptacijarabaci ea58c0c344 Bug 1335996 - Make test for bug 1333946 more reliable
Issue #74
2019-02-15 23:39:21 +08:00
janekptacijarabaci b2e86b0087 Bug 1333946 - Make IonBuilder::processIterators transitive
Issue #74
2019-02-15 23:39:20 +08:00
janekptacijarabaci 3bd6ad26e7 Bug 1322069 - Add TryEmitter
Issue #74
2019-02-15 23:39:18 +08:00
janekptacijarabaci 62a9d049ec Bug 1334799 - Handle stack value in correct order when leaving for-of loop from finally block
Issue #74
2019-02-15 23:39:17 +08:00
janekptacijarabaci ad8ad6e109 Bug 1332881 - Handle stack value in correct order when leaving loop and try-finally
Issue #74
2019-02-15 23:39:15 +08:00
janekptacijarabaci da23a493b7 Bug 1332155 - Skip non-try-related trynotes when asserting jump targets
Issue #74
2019-02-15 23:39:13 +08:00
janekptacijarabaci 082451c781 Bug 1331444 - Keep iterators alive in Ion in for-of loops for IteratorClose due to exceptions
Issue #74
2019-02-15 23:39:12 +08:00
janekptacijarabaci 66bbc277f5 Bug 1147371: Always decompile argument names in self-hosted code in the caller frame
Issue #74
2019-02-15 23:39:10 +08:00
janekptacijarabaci 0f625eb5bd Bug 1147371: Implement JSOP_PICK and JSOP_UNPICK in the expression decompiler
Issue #74
2019-02-15 23:39:09 +08:00
janekptacijarabaci 95390009cc Bug 1147371: Implement calling IteratorClose and "return" on iterators in yield*
Issue #74
2019-02-15 23:39:07 +08:00
janekptacijarabaci d36d40760a Bug 1147371: Implement IteratorClose for array destructuring
Issue #74
2019-02-15 23:39:05 +08:00
janekptacijarabaci aa954171ae Bug 1147371: Convert self-hosted code that need to call IteratorClose to use for-of
Issue #74
2019-02-15 23:39:03 +08:00
janekptacijarabaci 10ee43a416 Bug 1147371: Rename allowContentSpread to allowContentIter
Issue #74
2019-02-15 23:39:02 +08:00
janekptacijarabaci 5f3e5dc3fb Bug 1147371: Implement IteratorClose for for-of
Issue #74
2019-02-15 23:39:00 +08:00
janekptacijarabaci 2f27d8433c Bug 1204028: Evaluate LHS reference before RHS in destructuring
Issue #73
[Depends on] Bug 1147371: Implement IteratorClose
2019-02-15 23:38:57 +08:00
janekptacijarabaci 078b9f3edc Bug 1322314 - Do not emit ParseNode twice in BytecodeEmitter::emitDestructuringOpsArray
Issue #73
[Depends on] Bug 1147371: Implement IteratorClose
2019-02-15 23:38:56 +08:00
janekptacijarabaci 4d3e61136f Bug 1322314 - Disallow emitting ParseNode twice
Issue #73
[Depends on] Bug 1147371: Implement IteratorClose
2019-02-15 23:38:54 +08:00
janekptacijarabaci 1fd083e81c Follow up: A opening bracket { was added; Added "function()->explicitName()" instead of "function()->name()"
Issue #78
2019-02-15 23:38:53 +08:00
janekptacijarabaci f9950a2c9c Part 4: Fix existing tests
Issue #87
2019-02-15 23:38:48 +08:00
janekptacijarabaci 7bfe087f0c Part 3: Support JSOP_SETFUNNAME in Baseline and Ion
Issue #87
2019-02-15 23:38:47 +08:00
janekptacijarabaci 34fe54e4e8 Part 2: Call NameFunctions after emitting
Issue #78
2019-02-15 23:38:45 +08:00
janekptacijarabaci 748c69d7fd Part 1: Implement ES6 function name property semantics
Issue #78
2019-02-15 23:38:44 +08:00
janekptacijarabaci 3b34f87a5b Bug 1317309: Throw a TypeError when passing a Symbol value to ToAtom
Issue #78
[Depends on] Bug 883377: Implement ES6 function "name" property
semantics
2019-02-15 23:38:42 +08:00
janekptacijarabaci 3b1c3ec605 Bug 1320042: Rename BytecodeEmitter::emitConditionallyExecuted{SOMETHING} to BytecodeEmitter::emit{SOMETHING}InBranch
Issue #78
[Depends on] Bug 883377: Implement ES6 function "name" property
semantics
2019-02-15 23:38:40 +08:00
janekptacijarabaci e7ee7caf1e Bug 1320388: Move JSFunction::HAS_REST to JSScript and LazyScript
Issue #78
[Depends on] Bug 883377: Implement ES6 function "name" property
semantics
2019-02-15 23:38:38 +08:00
janekptacijarabaci d3ffa46e36 Update RegExp Xray code
Issue #77
2019-02-15 23:38:37 +08:00
janekptacijarabaci e671c0357b Tests
Issue #77
2019-02-15 23:38:34 +08:00
janekptacijarabaci d275a63a71 Use ordinary object for RegExp prototype
Issue #77
2019-02-15 23:38:32 +08:00
janekptacijarabaci 49ce6a7928 Bug 1323868: Report object allocation failure when running off-main-thread
Issue #77
[Depends on] Bug 1192038: RegExp.prototype should be an ordinary object
2019-02-15 23:38:31 +08:00