Commit graph

4,720 commits

Author SHA1 Message Date
Moonchild
9dc4265141 [dom] Fix a spec compliance issue with the HTML LS regarding script loading.
This fixes a spec compliance issue with section 8.1.4.2 Fetching scripts.
2020-07-31 08:08:01 +08:00
Moonchild
ecf4aecd21 [js] Don't improve TypeSets containing the magic-args type.
JIT optimizations involving the Javascript 'arguments' object could
potentially confuse later optimizations, so we simply disable these
optimizations as a DiD measure.
2020-07-31 08:07:58 +08:00
Andrea Marchesini
7a37234be2 [xpcom] Make Base64 compatible with ReadSegments() with small buffers. 2020-07-31 08:07:55 +08:00
Jan de Mooij
51d75f257d [js] Fix Sink to check for non-recoverable operands. 2020-07-31 08:07:52 +08:00
Moonchild
52c03190ee [network/dom] Improve sanitization of download filenames. 2020-07-31 08:07:47 +08:00
Moonchild
b33e80b186 Issue #1391 - Remove the DOM battery API 2020-07-31 08:07:41 +08:00
Matt A. Tobin
d97bcfb97a Follow up to 39be34c06 - The check sound be if not ordered
FINE! I'll go to bed already...
2020-07-31 08:06:52 +08:00
Matt A. Tobin
b72d30186a [MailNews] Allow setting "Local Folders" as always the first displayed account 2020-07-31 08:06:07 +08:00
Matt A. Tobin
8d9b34816c [MailNews] Allow ordering of accounts to respect mail.accountmanager.accounts 2020-07-31 08:06:04 +08:00
Moonchild
078fea47aa Fix line endings. 2020-07-31 08:05:47 +08:00
Moonchild
70bf74e9d3 Issue #1587 Part 12 (followup 2): Allow clearing of signal by setting to null. 2020-07-31 08:05:44 +08:00
Moonchild
1ae6431766 Issue #1587 Part 11 (followup 1): Implement multithreaded signals for workers. 2020-07-31 08:05:40 +08:00
Roy Tam
f35488b465 Merge remote-tracking branch 'origin/master' into custom 2020-07-25 06:31:41 +08:00
Matt A. Tobin
95c5a64b1f [Basilisk] Issue MoonchildProductions/UXP#1611 - Use platform default for WASM 2020-07-25 06:30:43 +08:00
Matt A. Tobin
caf316c9e4 [Pale-Moon] Follow up to Issue #1814 - Use correct casing for JavaScript 2020-07-25 06:30:19 +08:00
Matt A. Tobin
d29ccb177d [Pale-Moon] Issue #1814 - Add controls for WASM 2020-07-25 06:29:59 +08:00
Moonchild
b36f73fc57 [css] Enable various arbitrarily-disabled CSS features in the platform.
These should all be spec-compliant and were (for release-trickling of features)
arbitrarily disabled by Mozilla at our fork point. There's no real reason to
keep them disabled since they are used in the wild.
2020-07-25 06:25:48 +08:00
Matt A. Tobin
b31c90d1ab Issue #1612 - Add-ons targeting Toolkit's ID (and not Firefox's) should be considered "native" by the Add-ons Manager when using the Dual-GUID system
A version bump triggering add-on compatibility check will re-evaluate the "native" status (among other things) so no extra or special work is required to fix erroneous warnings.

tl;dr instafix!
2020-07-25 06:25:46 +08:00
Matt A. Tobin
ed0edf6a22 Issue #1611 - Enable WASM by default but only enable jit when 64bit 2020-07-25 06:25:44 +08:00
Roy Tam
7fec328c85 update ffmpeg to 3.4.8. 2020-07-20 09:46:52 +08:00
Roy Tam
f57c0e08fa Merge remote-tracking branch 'origin/master' into custom 2020-07-20 09:42:21 +08:00
Pale Moon
8df44f9320 [Pale-Moon] Issue #1811 - Indicate our per-monitor DPI-awareness to the O.S.
This resolves #1811
2020-07-20 09:41:37 +08:00
Gaming4JC
d081fe1bc6 Issue #618 - Remove eager instantiation - Debug follow up
The added debug assertion did not take into account microtask refactoring done in BZ 1405821.
Resulting in error: no member named 'IsInMicroTask' in 'nsContentUtils'.

This resolves the error.
2020-07-20 09:38:43 +08:00
Roy Tam
a4875a589f Merge remote-tracking branch 'origin/master' into custom 2020-07-11 07:15:30 +08:00
Moonchild
02a893b998 [Basilisk] Issue #17 - Reinstate erroneously removed unload event listener
Looks like this was just lazily lumped in with WebExtension stuff and got
removed as a result. This should prevent the autorefresh blocker from leaking.
2020-07-11 07:14:23 +08:00
Lootyhoof
be8bea50ff [Basilisk] Issue MoonchildProductions/UXP#1578 - Add global menubar support for GTK 2020-07-11 07:09:11 +08:00
Moonchild
8d5005090a [network] Use query and ref lengths if available in nsStandardURL. 2020-07-11 07:02:31 +08:00
Moonchild
415542eb7c [js] Get the class pointer from the ObjectGroup in NativeObject::slotSpan
This changes NativeObject::slotSpan() to get the class from the object group
rather than getting it from the base shape to avoid a race between
Shape::ensureOwnBaseShape and background sweeping.
2020-07-11 07:02:27 +08:00
Roy Tam
3d5ac98e9d Merge remote-tracking branch 'origin/master' into custom 2020-07-10 22:22:14 +08:00
Moonchild
e74bd52c8c Force clobber 2020-07-10 22:19:00 +08:00
Moonchild
9890572c8e [NSS] Version and build bump 2020-07-10 22:18:56 +08:00
Sohaib ul Hassan
62467c473d [NSS] Implement constant-time GCD and modular inversion
The implementation is based on the work by Bernstein and Yang
(https://eprint.iacr.org/2019/266)
"Fast constant-time gcd computation and modular inversion".

It fixes the old mp_gcd and s_mp_invmod_odd_m functions. The patch also fixes
mpl_significant_bits s_mp_div_2d and s_mp_mul_2d by having less control flow to
reduce side-channel leaks.

Co-authored by : Billy Bob Brumley
2020-07-10 22:18:52 +08:00
Moonchild
db9ccc90e0 [js] Improve readability and control flow of js date string parser. 2020-07-10 22:18:48 +08:00
Byron Campen [:bwc]
36e1df9ffb [WebRTC] Make candidate pair insertion code easier to read/understand.
Includes removing an error code for a function that never fails, and removing an
error return when the function successfully did what it said it would.

Ref: BZ 1644477
2020-07-10 22:18:45 +08:00
Moonchild
6aaea9dde6 [AppCache] Add check for disallowed encoded path separators 2020-07-10 22:18:42 +08:00
Moonchild
6cf5f024c4 [image] Add a sanity check to JPEG encoder buffer handling, just in case. 2020-07-10 22:18:38 +08:00
Moonchild
5ff6eca6c9 Issue #618 - Fix typo and remove old function declarations. 2020-07-10 22:18:24 +08:00
Moonchild
9201808e0a Issue #618 - Report source position information (line/column)
Report source position information for module export resolution failures.

Ref: BZ 1362098
2020-07-10 22:18:10 +08:00
Moonchild
e0ab4f9abf Issue #618 - Slightly improve module scripting tests.
Ref: BZ 1388728
2020-07-10 22:18:07 +08:00
Moonchild
743bdc04fb Issue #618 - Further align error handling for module scripts with the spec
Ref: BZ 1388728
2020-07-10 22:18:04 +08:00
Moonchild
c65ca2ca58 Issue #618 - Remove context and heap-idle check
For checking if a module is in an error state and what the error is, it
shouldn't matter if we are currently GC-ing or not. So we don't need to check
for it, which removes the requirement to pass in the JS context (needed for
AssertHeapIsIdle's runtime check); this unblocks progress where otherwise we'd
have to figure out what the context is at the module level just to satisfy this
check.
2020-07-10 22:18:01 +08:00
Moonchild
a754a7be26 Issue #618 - Remove eager instantiation
This backs out the stuff added in Bug 1295978.
Ref: BZ 1295978, 1388728
2020-07-10 22:17:58 +08:00
Moonchild
b590ecea12 Issue #618 - Fix JSAPI additions to pass the JS context. 2020-07-10 22:17:55 +08:00
Moonchild
91a79c0ddc Issue #618 - Match JSAPI names with the changes in 9ca74147225eed305e28c7887f9b2251aeeb0f36
Ref: BZ 1388728
2020-07-10 22:17:52 +08:00
Moonchild
5838eded5f Issue #618 - Add APIs to query module record errors
Ref: BZ 1388728
2020-07-10 22:17:48 +08:00
Moonchild
7b30bfee4c Issue #618 - Update code comments for ModuleInstantiate 2020-07-10 22:17:44 +08:00
Moonchild
c7d195e633 Issue #618 - Align module instantiation/errors with the updated spec.
Store and re-throw module instantiation and evaluation errors.
Ref: BZ 1374239, 1394492
2020-07-10 22:17:41 +08:00
Moonchild
336347212b Issue #618 - Add clarifying code comments. 2020-07-10 22:17:38 +08:00
Moonchild
27f4d0b5a5 Issue #618 - Check for failed instantiation when starting to fetch dependencies
If instantiation has failed, then also fail the load and don't fetch imports.
Ref BZ: 1358882
2020-07-10 22:17:34 +08:00
Roy Tam
bd5506d13c Merge remote-tracking branch 'origin/master' into custom 2020-07-04 07:02:08 +08:00