Commit Graph

2518 Commits

Author SHA1 Message Date
wolfbeast 79487a1a05 Backout opportunistic encryption changes.
Apparently there is some functional and naming confusion here.
Backing out to re-land after evaluation and possible changes.
Tag #863.
2018-11-04 23:39:37 +01:00
wolfbeast bb3f5cef32 Add GUI control to Pale Moon for opportunistic encryption.
Pale Moon part for #863.
2018-11-04 17:59:16 +01:00
wolfbeast 801382dd66 Swap default platform state for opportunistic encryption.
Tag #863
2018-11-04 17:50:52 +01:00
wolfbeast 359c9e5467 Change captive portal detection URL to our own. 2018-11-04 16:06:05 +01:00
wolfbeast 4a188c7b99 Make opportunistic encryption configurable.
This adds a pref "network.http.opportunistic-encryption" that controls whether
we send an "Upgrade-Insecure-Requests : 1" header on document navigation or not.
This patch modifies the platform network parts. Default for the platform is "true".
Part 1 for #863
2018-11-04 16:05:27 +01:00
wolfbeast 7eae711faa Clear STDINT_H defines in libvpx config before setting them for lib use. 2018-11-04 15:58:52 +01:00
Moonchild 0750ec552a Merge pull request #862 from JustOff/PR_editBookmarkOverlay_focus
[PALEMOON] Focus and select the first non-collapsed text element in the bookmark properties dialog
2018-11-03 20:06:59 +01:00
JustOff e9a58eae57 [PALEMOON] Focus and select the first non-collapsed text element in the bookmark properties dialog 2018-11-03 18:18:25 +02:00
wolfbeast 1d55939c7c Backport some upstream Skia patches.
Backport of:
https://skia.googlesource.com/skia/+/1e259cda4fb7f12e98dd611bd651f40ebef2d14a
https://skia.googlesource.com/skia/+/73be50da2a1fe8944f2623a511fda1957eed708a
2018-11-02 17:04:54 +01:00
wolfbeast cc234ff430 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.
2018-11-02 16:05:57 +01:00
wolfbeast 90a73cfe2a Ensure user input suppression works correctly even after document.open. 2018-11-02 12:14:40 +01:00
wolfbeast 030053f1a4 Backport some upstream Skia patches.
Backport of:
https://skia.googlesource.com/skia/+/c3d8a48f1b27370049aa512019cd726c59354743
https://skia.googlesource.com/skia/+/8051d38358293df1e5b8a1a513f8114147ec9fa3
2018-11-02 11:56:17 +01:00
wolfbeast f42d6c39fe 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.
2018-11-02 11:39:21 +01:00
wolfbeast 617eb64830 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.
2018-11-02 11:15:40 +01:00
wolfbeast 3b2c342f38 Make sure we remove our RefreshDriver observers in CompleteAsyncScroll.
Follow-up to fdbac09596
2018-11-02 10:47:05 +01:00
wolfbeast deba73b3bc Fix a longstanding IndexedDB correctness issue.
Standards Compliance fix, port of Bug 1492737
2018-11-02 10:32:53 +01:00
wolfbeast 09fec033ec Don't allocate PendingAction twice. 2018-11-02 08:33:16 +01:00
wolfbeast 9dc6bf850a WebRTC: Drop DataChannelListener on Destroy(). 2018-11-02 08:20:46 +01:00
wolfbeast 52b989d535 Make sure nsNSSCertList handling checks for valid certs. 2018-11-02 02:08:44 +01:00
wolfbeast 059397bdd2 Remove Query/Ref from the directory listing URI.
Port of Bug 1488061.
2018-11-01 22:14:07 +01:00
wolfbeast f62eee7c51 Bug 1460538 2018-11-01 20:35:06 +01:00
wolfbeast e8f913da98 Reorder boolean expression to take advantage of short-circuiting. 2018-11-01 20:16:49 +01:00
wolfbeast e0de8181d9 Protect main thread in-process access to WinCompositorWidget transparent surface. 2018-11-01 20:16:11 +01:00
wolfbeast 24a83a8136 Simplify SIMD conversion from Uint64 to Double. 2018-11-01 10:33:07 +01:00
wolfbeast a2a8c71d77 Make HTTP/2 compressor more resilient to bad data. 2018-11-01 07:31:23 +01:00
wolfbeast fdbac09596 Ensure that the scroll frame deregisters its refresh driver observers (mAsyncScroll & mAsyncSmoothMSDScroll) before it's destroyed.
Tag #345
2018-10-31 18:47:29 +01:00
wolfbeast 752311fd47 Origin for about: URL should not contain query or ref parts. 2018-10-31 18:32:00 +01:00
wolfbeast 1cfcf17a10 Don't mark MGetFirstDollarIndex as movable. 2018-10-31 17:30:52 +01:00
wolfbeast 2c045d9c55 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-10-29 22:41:56 +01:00
wolfbeast 3332144211 Set CSS error console reporting default to false for performance.
Dev note needed upon release. This resolves #444.
2018-10-29 22:41:12 +01:00
Moonchild 5069a37597 Merge pull request #857 from JustOff/PR_BackgroundPageThumbs_remote
Use a separate process to generate thumbnails only when multi-process mode is enabled
2018-10-28 00:08:32 +02:00
JustOff 6bdbb9cdf6 Use a separate process to generate thumbnails only when multi-process mode is enabled 2018-10-27 21:35:56 +03:00
trav90 76825544ff Update HSTS preload list
Tag #447
2018-10-27 07:32:12 -05:00
Moonchild 4f59678acd Merge pull request #854 from g4jc/nsuserinfo
Issue #795 - Make nsIUserInfo component optional
2018-10-26 09:04:16 +02:00
Gaming4JC 6a2ff38f0f 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.
2018-10-25 18:12:58 -04:00
Moonchild f5b13e91d1 Merge pull request #852 from wicknix/master
Bug 1489785: Remove a workaround for gcc
2018-10-24 08:58:28 +02:00
wicknix 065f6f9e5e 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
2018-10-24 01:16:11 -05:00
wicknix 6db23ae65e 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
2018-10-24 01:10:07 -05:00
Moonchild f71c04d814 Merge pull request #851 from MoonchildProductions/revert-796-nsuserinfo
Revert "Make nsIUserInfo component optional with --disable-userinfo at build time"
2018-10-24 06:41:20 +02:00
Moonchild afe69140a8 Revert "Make nsIUserInfo component optional with --disable-userinfo at build time" 2018-10-24 06:40:38 +02:00
Moonchild d07a4f2ba9 Merge pull request #845 from JustOff/PR_notifications_open_settings
Open about:permissions when notification settings are requested in Pale Moon
2018-10-24 06:02:42 +02:00
Moonchild f85840a053 Merge pull request #796 from g4jc/nsuserinfo
Make nsIUserInfo component optional with --disable-userinfo at build time
2018-10-24 06:02:10 +02:00
Moonchild d1a35c3fa6 Merge pull request #850 from trav90/add-av1-support
Add initial support for AV1 video.
2018-10-24 05:58:24 +02:00
Moonchild 81acc4099a Merge pull request #847 from g4jc/debugspam
Don't use NS_ENSURE_SUCCESS where it causes useless logspam.
2018-10-24 05:54:59 +02:00
Gaming4JC e4cc27a0e7 backport m-c bug 1333172 - Avoid 1100 warnings by replacing NS_ENSURE_SUCCESS in nsNetUtilInlines.h:180 2018-10-23 20:28:01 -04:00
Moonchild e4836ec73a Merge pull request #848 from adeshkp/search-btn-border
Show hidden left border of search button on about:newtab page
2018-10-23 22:30:01 +02:00
Moonchild 70c214344f Merge pull request #849 from adeshkp/basilisk-mac-build
Basilisk: Trivial fixes for Mac build
2018-10-23 22:28:52 +02:00
adeshkp d9c5e2b803 Basilisk: Trivial fixes for Mac build 2018-10-23 16:00:35 -04:00
adeshkp 1b50660404 Show hidden left border of search button on about:newtab page 2018-10-23 15:58:11 -04:00
trav90 192199b03f 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 29f718ef78.
2018-10-23 05:47:41 -05:00