Commit graph

1,939 commits

Author SHA1 Message Date
wolfbeast
031102b1ca Backport some upstream Skia patches.
Backport of:
https://skia.googlesource.com/skia/+/1e259cda4fb7f12e98dd611bd651f40ebef2d14a
https://skia.googlesource.com/skia/+/73be50da2a1fe8944f2623a511fda1957eed708a
2019-02-16 00:18:46 +08:00
wolfbeast
d4db378b5a Add overflow checks for extending nsTArrays.
Surprisingly, this was previously not done.
Also, some of this code seems to be incorrect or,
at the very least, wasn't clear what it was trying to do.
2019-02-16 00:18:45 +08:00
wolfbeast
b7a342f120 Ensure user input suppression works correctly even after document.open. 2019-02-16 00:18:43 +08:00
wolfbeast
b52b4b9f63 Backport some upstream Skia patches.
Backport of:
https://skia.googlesource.com/skia/+/c3d8a48f1b27370049aa512019cd726c59354743
https://skia.googlesource.com/skia/+/8051d38358293df1e5b8a1a513f8114147ec9fa3
2019-02-16 00:18:42 +08:00
wolfbeast
64a8472788 Remove ancient workaround in client certificate code
Apparently a prehistoric server implementation would send a certificate_authorities field
that didn't include the outer DER SEQUENCE tag, so PSM attempted to detect this and
work around it.
This prehistoric server implementation isn't in use anywhere anymore, so this 18-yo
server bug workaround can be removed.
2019-02-16 00:18:40 +08:00
wolfbeast
429b2125de Apply CheckedInt to infoLength for preventing it from overflowing in the future.
CheckedInt propagates the mIsValid in each add operation so that it avoids needing a bunch of code
for the overflow check in each add operation. Additionally, it avoids mismatching parameters
between the computing result and the additional overflow check.

This patch uses CheckedInt to take advantage of those implicit features of it.
2019-02-16 00:18:39 +08:00
wolfbeast
bf30898e2c Make sure we remove our RefreshDriver observers in CompleteAsyncScroll.
Follow-up to fdbac095968bc952fec6a03765a7156940ae4733
2019-02-16 00:18:37 +08:00
wolfbeast
930cc1db3b Fix a longstanding IndexedDB correctness issue.
Standards Compliance fix, port of Bug 1492737
2019-02-16 00:18:35 +08:00
wolfbeast
107ddd1148 Don't allocate PendingAction twice. 2019-02-16 00:18:34 +08:00
wolfbeast
22772136d7 WebRTC: Drop DataChannelListener on Destroy(). 2019-02-16 00:18:32 +08:00
wolfbeast
6c4b9ec3ce Make sure nsNSSCertList handling checks for valid certs. 2019-02-16 00:18:31 +08:00
wolfbeast
a9b20e6dc7 Remove Query/Ref from the directory listing URI.
Port of Bug 1488061.
2019-02-16 00:18:28 +08:00
wolfbeast
b49317da4a Bug 1460538 2019-02-16 00:18:27 +08:00
wolfbeast
df1cfaae17 Reorder boolean expression to take advantage of short-circuiting. 2019-02-16 00:18:25 +08:00
wolfbeast
416ce4eb69 Protect main thread in-process access to WinCompositorWidget transparent surface. 2019-02-16 00:18:24 +08:00
wolfbeast
acb2819baa Simplify SIMD conversion from Uint64 to Double. 2019-02-16 00:18:22 +08:00
wolfbeast
a85f7277af Make HTTP/2 compressor more resilient to bad data. 2019-02-16 00:18:21 +08:00
wolfbeast
eb83cf3ac8 Ensure that the scroll frame deregisters its refresh driver observers (mAsyncScroll & mAsyncSmoothMSDScroll) before it's destroyed.
Tag #345
2019-02-16 00:18:19 +08:00
wolfbeast
f85bb5c221 Origin for about: URL should not contain query or ref parts. 2019-02-16 00:18:17 +08:00
wolfbeast
c554052ddd Don't mark MGetFirstDollarIndex as movable. 2019-02-16 00:18:16 +08:00
JustOff
5c9fd5c5c6 Use a separate process to generate thumbnails only when multi-process mode is enabled 2019-02-16 00:18:14 +08:00
trav90
37fe93abff Update HSTS preload list
Tag #447
2019-02-16 00:18:13 +08:00
Gaming4JC
3c4b6babee Issue #795 - Make nsIUserInfo component optional
This allows the nsIUserinfo component to be disabled with --disable-userinfo in mozconfig
at build time, but leaves it on by default to avoid any compatibility issues in existing
applications.
2019-02-16 00:18:11 +08:00
wolfbeast
5baa10b59a Set CSS error console reporting default to false for performance.
Dev note needed upon release. This resolves #444.
2019-02-16 00:18:10 +08:00
wicknix
50f698eb3c Bug 1489785: Remove a workaround for gcc
Introduced in bug 678607, that is no longer needed that causes hangs in modal dialogs on macOS 10.14
https://hg.mozilla.org/mozilla-central/rev/3920c858319d
2019-02-16 00:18:08 +08:00
wicknix
6ae162ff84 Bug 1489785: Remove a workaround for gcc
Introduced in bug 678607, that is no longer needed and causes hangs in modal dialogs on macOS 10.14.
https://hg.mozilla.org/mozilla-central/rev/3920c858319d
2019-02-16 00:18:06 +08:00
Moonchild
d0e0acb1fa Revert "Make nsIUserInfo component optional with --disable-userinfo at build time" 2019-02-16 00:18:05 +08:00
JustOff
c672f9fc86 [PALEMOON] Open about:permissions when notification settings are requested 2019-02-16 00:18:03 +08:00
JustOff
480876a862 [PALEMOON] Add filter query to about:permissions 2019-02-16 00:18:01 +08:00
Gaming4JC
5d075cfe31 Issue #795 - Make nsIUserInfo component optional
This allows the nsIUserinfo component to be disabled with --disable-userinfo in mozconfig
at build time, but leaves it on by default to avoid any compatibility issues in existing
applications.
2019-02-16 00:17:59 +08:00
trav90
1269f82d33 Revert "Add support for AV1 in MP4"
This commit was incomplete. Will re-land AV1 in MP4 support properly at a future date.

This reverts commit 29f718ef78f1a25ca904c6438b59ffc8e365a750.
2019-02-16 00:17:57 +08:00
trav90
de6b3a930f Ensure we correctly parse the finalized codec string for av1 2019-02-16 00:17:56 +08:00
trav90
1b0277eca5 Add support for AV1 in MP4 2019-02-16 00:17:54 +08:00
trav90
8dd06e64c3 Use larger stack for media decoder threads
This increases the thread size for the platform decoder threads (to prevent stack overflows, particularly when decoding av1), while leaving the others at their default values.
2019-02-16 00:17:53 +08:00
trav90
ad02b504a6 Downsample av1 images unconditionally
Adding partial support for 10/12-bit video images seems to have broken the native pixel-stride support we were using to pass 8-bit AV1 frame data formatted in 16-bit pixel values, resulting in vertical green lines.

Revert to the earlier behavior of always downsampling to 8 bit data. This is slower, but at least displays correctly.
2019-02-16 00:17:51 +08:00
trav90
cbacc81f82 Fix canPlayType/isTypeSupported for AV1 content 2019-02-16 00:17:50 +08:00
trav90
6676331d30 Put AV1 codec behind a pref
Disabled by default.
2019-02-16 00:17:48 +08:00
trav90
368651059a Update libaom to commit ID 1e227d41f0616de9548a673a83a21ef990b62591 2019-02-16 00:17:46 +08:00
trav90
77c9089b7d Update libaom vendor scripts to account for upstream changes 2019-02-16 00:17:43 +08:00
trav90
656835e767 [aom] Only build stats code if examples are enabled 2019-02-16 00:17:42 +08:00
trav90
3d109dd4fc Update libaom to rev b25610052a1398032320008d69b51d2da94f5928 2019-02-16 00:17:40 +08:00
trav90
8493557d20 [aom] No longer necessary to run lint_config.sh anymore
Upstream can now code generate the rtcd interface files directly from the aom_config.h header, so we no longer have to generate an intermediate file by running lint_config.sh. This also means we can remove the code for creating a temporary directory.
2019-02-16 00:17:38 +08:00
trav90
e731bff61e Add missing : to libaom moz.build 2019-02-16 00:17:37 +08:00
trav90
b66027c8c0 Updates to AOMDecoder for aom v1.0.0
This reflects the API changes to the aom_codec_decode function and the removal of I440. It also sets allow_lowbitdepth to give proper support for 8 bit video, and removes the git version from the mime type.
2019-02-16 00:17:35 +08:00
trav90
524295194e [aom] Fixup moz.build 2019-02-16 00:17:33 +08:00
trav90
8490d860d9 Do not build aomstats unless examples are enabled
The aomstats library is only used in the code examples, but we assume that all libraries should be linked into libxul, which leads to an unresolved external dependency on fatal at link time. This adds a guard to only build aomstats if we are building the examples.
2019-02-16 00:17:32 +08:00
trav90
48f6d2e034 Update aom to v1.0.0
Update aom to commit id d14c5bb4f336ef1842046089849dee4a301fbbf0.
2019-02-16 00:17:30 +08:00
trav90
bb61121b44 Add support for SSE 4.2 to libaom moz.build 2019-02-16 00:17:27 +08:00
trav90
760b6c7d25 Add aom_version.h 2019-02-16 00:17:25 +08:00
trav90
5e1d42c618 Update generate_sources_mozbuild.sh
This changes generate_sources_mozbuild.sh to call generate_sources_mozbuild.py to generate sources.mozbuild and config files and removes the parts of the script that are no longer necessary.
2019-02-16 00:17:24 +08:00