| Commit message (Collapse) | Author | Age |
|\ |
|
| |
| |
| |
| | |
This resolves some of the useless log spam thrown in the browser console by the developer tools.
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
FranklinDM/UXP-contrib:work_js-nullish-coalescing into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1901
Reviewed-by: Moonchild <moonchild@palemoon.org>
|
| | |
| | |
| | |
| | | |
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1566141
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This uses a different approach by modifying the `Boolish` function directly to act differently if we're checking for nullish values.
Partially based on:
Bug 1566141 - Implement the Nullish Coalescing operator (??) proposal
Bug 1599163 - Nullish coalescing operator returns undefined for void expressions
|
| | |
| | |
| | |
| | | |
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1566141
|
| | |
| | |
| | |
| | | |
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1566141
|
| | |
| | |
| | |
| | |
| | |
| | | |
Partially based on:
Bug 1566141 - Implement the Nullish Coalescing operator (??) proposal
Bug 1593415 - Assertion failure: false, at js/src/builtin/ReflectParse.cpp:3092 with nullish coalescing
|
| | |
| | |
| | |
| | | |
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1566141
|
| |/
| |
| |
| | |
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1566141
|
| |
| |
| |
| |
| | |
Combine both GetAppLocale methods and Update
mozILocaleService.getAppLocales to avoid use of jsapi.
|
| | |
|
| |
| |
| |
| | |
This allows JS to access the application locales.
|
|/
|
|
|
| |
en-US will always be added as a fallback, to make things simpler down the line
and avoid error checking all over the place.
|
| |
|
|\
| |
| |
| |
| |
| | |
(#1900) from trav90/UXP-contrib:ffmpeg-work into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1900
|
| |
| |
| |
| | |
FFmpeg 5.0 removed some deprecated symbols so we need to update our decoding code to account for it.
|
| | |
|
| | |
|
| |
| |
| |
| | |
This needs localization work before enabling.
|
|/
|
|
| |
Resolves #1813
|
|
|
|
| |
As part of telemetry removal, d60103257eb83db103f9acab54b1755486b7e9c1 removed the `reportResult` function which also handles the stopping of the sanity test. This also removes unused histogram enumeration values and revises/adds some comments.
|
|
|
|
|
|
| |
Some hoops to make sure the test still works if the default value for the pref
is false, requiring setting and resetting it and making sure the observers have
time to react to these changes before testing.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Even if `<datalist>` is dynamically changed, the autocomplete controller still
uses the previous search result. If changed, we have to ignore the previous
result that may now be invalid.
Also, even if `<datalist>` is changed, we have to keep the selected index
(See Mozilla Bug 595069), so we cannot use `ResetInternalState` in this
situation because it resets the selected index.
This resolves #1509.
|
|
|
|
|
|
|
|
|
|
| |
A very very old bug and annoyance: tooltips with very long content without
spaces (e.g. long URLs or gibberish data) would just cut off and leave an
un-styled right border going over the widget's constrained space.
Because of an additional bug (still unsolved), this was never properly
addressed because solutions attempted didn't work.
The workaround for the secondary bug allows for word-break to now work and this
primary problem to be resolved.
|
|\
| |
| |
| |
| |
| | |
(#1892) from dbsoft/UXP:fixxptcinvoke into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1892
|
| |
| |
| |
| |
| |
| | |
Merge with the existing Solaris fix, by folding Solaris into the Linux/BSD section.
Add Apple Silicon (ARM64) support.
This should also address Issue #1884 by moving the offending code into assembly.
|
|/ |
|
|
|
|
|
| |
- Default configure to enable dbm
- Remove a redundant check on ASN1 decoding (Bug 1753535)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This makes FetchStart use StartTime() when the TAO check fails for
PerformanceResourceTiming
Given the recent Fetch spec updates, Step 8.1 in
https://fetch.spec.whatwg.org/#finalize-and-report-timing specifies that start
time(StartTime) and post-redirect start time(FetchStart) should be start time
when the TAO check fails.
|
|
|
|
| |
This resolves #1890
|
|
|
|
| |
Fix an off-by-one error in CRLF checking.
|
|\
| |
| |
| |
| |
| | |
FranklinDM/UXP-contrib:work_js-optional-chaining into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1889
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
autocomplete
This works by stripping the optional chaining characters from the completion part variable, allowing the developer tools' parser to proceed as if it were a regular, non-optional expression.
Tests were partially based on: https://bugzilla.mozilla.org/show_bug.cgi?id=1594009
Tests for features that do not apply to our version of developer tools (e.g. autocomplete for integer literals, ignoring spaces between property accessors, etc) were excluded.
|
| |
| |
| |
| |
| |
| | |
optional chains under IonBuilder
IIUC, we want to process the GOTO in the case of optional chains, and we do not satisfy the requirements mentioned in the comment of snoopControlFlow's caller. Optional chains are not loops, we (probably) don't have a loop in the instruction following the GOTO, and in the GOTO destination, we're either returning an undefined/null value or the actual value.
|
| |
| |
| |
| | |
Partially based on: https://bugzilla.mozilla.org/show_bug.cgi?id=1685260
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
unreachable code
This includes the following:
Bug 1611777 - Part 1: Report syntax error for optional property access in self-hosting code. r=yulia!
Bug 1611777 - Part 2: Merge same blocks in emitDeleteOptionalChain(). r=yulia!
Bug 1611777 - Part 3: N/A
Bug 1611777 - Part 4: `super` can't occur on the left-hand side of an optional chain
Bug 1611777 - Part 5: Remove unnecessary super-handling in optional delete. r=yulia!
The child node of a DeleteOptionalChainExpr node can't be a super-property
accessor, so we can remove this code.
Bug 1611777 - Part 6: Crash for unexpected super-base in optional call. r=yulia!
Bug 1611777 - Part 7: Add missing entries to list of valid optional chain start expressions. r=yulia!
Bug 1611777 - Part 8: Add missing emitGet in emitOptionalElemExpression. r=yulia!
Aligns emitOptionalElemExpression() with emitOptionalDotExpression(), so it's
easier to compare both methods against each other.
Bug 1611777 - Part 9: Replace an if-statement with an assertion. r=yulia!
Bug 1611777 - Part 10: N/A
Bug 1611777 - Part 11: Support optional chaining in class heritage expression. r=yulia!
Bug 1611777 - Part 12: Use optionalExpr() for update expressions to match spec grammar. r=yulia!
Using optionalExpr matches the spec grammar more closely. This change also
modifies the reported error message. ++a?.b reported before this change
"unexpected token: '?.'", but now reports "invalid increment/decrement operand".
Bug 1611777 - Part 13: N/A
Bug 1611777 - Part 14: Simplify two lines in optionalExpr(). r=yulia!
We don't need to test for tt == TokenKind::Eof when we return for tt != TokenKind::OptionalChain anyway. Omit local variable for the result value and instead use a tail-call. This matches the local style in the parser more closely.
Bug 1611777 - Part 15: Support FunCall/FunApply optimisations for optional chaining. r=yulia!
Bug 1611777 - Part 16: Pass through ValueUsage in optional chains. r=yulia
|
| |
| |
| |
| |
| |
| | |
Partially based on:
Bug 1610447 - Update Reflect to handle Optional Chaining operator
Bug 1657835 - Assertion failure: false, at js/src/builtin/ReflectParse.cpp:3168
|
| |
| |
| |
| |
| |
| |
| | |
Partially based on:
Bug 1566143 - Implement the Optional Chaining operator (?.) proposal
Bug 1650340 - Fix deleteElementInOptionalChain
Bug 1644839 - Fix return value of emitOptionalChain on failure
|
|/
|
|
| |
Partially based on: https://bugzilla.mozilla.org/show_bug.cgi?id=1566143
|
|\
| |
| |
| |
| |
| | |
is not set.' (#1888) from athenian200/UXP:shell_detection into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1888
|
|/
|
|
| |
set.
|
|
|
|
|
|
| |
channels."
This reverts commit 425677ada7380f7c592dd01ddfbc9631ab2038a0.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
A safe implementation means significant performance loss, making this change
undesirable.
|