Commit graph

2,332 commits

Author SHA1 Message Date
wolfbeast
2f3189f5a4 Only write the newtab URL if the machinery for it had previously been
initialized.

This prevents the URL being overwritten with e.g. about:logopage.
2019-03-29 22:22:08 +08:00
wolfbeast
f6f11db550 WebRTC: Add explicit mutex on callback receiver for cases it's not
already locked.
2019-03-29 22:22:05 +08:00
wolfbeast
9ce73065ba Revert "Unregister ProcessHangMonitor as a hang annotator on shutdown."
This reverts commit 68acc67ddbbd1c7a9577498ad41d079e6b9e3eac.
2019-03-29 22:22:02 +08:00
sotaro
9f852ea56e Check if CopyData succeeded. 2019-03-29 22:22:00 +08:00
Nika Layzell
55fed93296 Unregister ProcessHangMonitor as a hang annotator on shutdown. 2019-03-29 22:21:58 +08:00
wolfbeast
db3e9bd7ba Disallow getUserMedia on null principals. 2019-03-29 22:21:55 +08:00
wolfbeast
b178af2ddb Check for osint argument when checking for greomni and appomni arguments.
Specifying both is invalid and unsupported.
2019-03-29 22:21:53 +08:00
Brian Grinstead
d00f80f18f Escape '!' to '\041' in posix strings ($'...') 2019-03-29 22:21:50 +08:00
wolfbeast
e9a87c9cb0 Convert UI-dictating FTP errors to console errors. 2019-03-29 22:21:48 +08:00
wolfbeast
b78446a163 Bump Goanna version for layout handling changes. 2019-03-29 22:21:45 +08:00
wolfbeast
da2bb879f2 Grab caching capturing content with local variable. 2019-03-29 22:21:43 +08:00
Nicolas B. Pierron
e390f01ef5 Restrict ExtractLinearSum to monotonous operation in infinite math space.
Thanks to Bruno Keith & Niklas Baumstark from the phoenhex team for
finding this issue and reporting it with a proper analysis.
2019-03-29 22:21:19 +08:00
JustOff
ca06378496 The result of adding any percentage factor to a size that is zero should also be zero 2019-03-29 22:21:17 +08:00
wolfbeast
77df9aab06 Remove leftover updater lines in about box
Resolves #1020.
2019-03-29 22:21:14 +08:00
wolfbeast
afd64584b1 Fix build bustage. 2019-03-23 06:58:47 +08:00
trav90
cdc953632f [EME] Remove WidevineDecryptor::OnLegacySessionError
Not needed for more recent CDM versions.
2019-03-23 06:58:45 +08:00
trav90
d906bfd12d Build bustage fixes 2019-03-23 06:58:43 +08:00
trav90
7b93eff482 Style fixes 2019-03-23 06:58:42 +08:00
trav90
3c387b898a [EME] Cherry-pick fix for content_decryption_module.h
Fixes build bustage with GCC/clang.
2019-03-23 06:58:40 +08:00
trav90
e337ec5632 [EME] Add content_decryption_module_ext.h 2019-03-23 06:58:38 +08:00
trav90
58116c6950 [EME] Update content_decryption_module.h to more recent revision
Adds support for cdm::ContentDecryptionModule_9 and cdm::Host_9 definitions, HDCP definitions, and 10 and 12 bit image format definitions.
2019-03-23 06:58:37 +08:00
trav90
a8d231e0a9 [EME} Hackily implement cdm::Host_9::RequestStorageId
TODO: Implement this properly in the future.
2019-03-23 06:58:35 +08:00
trav90
eb2e8d7f92 [EME] Make WidevineAdapter compatible with CDM version 9
NOTE: this breaks compatibility with CDM version 8.
2019-03-23 06:58:34 +08:00
wolfbeast
a4dd5cc088 Use ptrdiff_t in RangedPtr. 2019-03-23 06:45:34 +08:00
wolfbeast
0363b2d358 Return proper error if the nss layer encounters an error on the http
tunnel.
2019-03-23 06:45:32 +08:00
wolfbeast
d93b231bab Add SSUAO for polyfill.io
Financial Times' polyfill.io service horribly breaks when it finds
anything but a short list of predefined UA strings. We have to send
them a strict Firefox UA or other sites relying on it will break too
(including PayPal!).

An issue has been raised on their repo.
2019-03-23 06:45:26 +08:00
wolfbeast
ad188bf3c0 Close the transaction if PR_Read/PR_Write failed.
When PR_Read/PR_White returns -1, we have to use ErrorAccordingToNSPR
to get the error code.
We need to close the transaction if a real error happens.
2019-03-23 06:44:27 +08:00
wolfbeast
df7640136e Revert "Guard against re-entrancy in nsStringStream."
This reverts commit 411919cca7a3795d08ec3cd24efa0167683a80fb.
2019-03-23 06:44:24 +08:00
wolfbeast
c7295cf476 Guard against re-entrancy in nsStringStream. 2019-03-23 06:44:23 +08:00
Jon Coppeard
4105e6bba4 Reset nursery position when it's disabled. 2019-03-23 06:44:21 +08:00
wolfbeast
ac1a607eb0 Extend origin-clean algorithm (DiD). 2019-03-23 06:44:19 +08:00
wolfbeast
90966a20a1 Clean up nsOSHelperAppService.
About time we stopped looking at Netscape 4.x entries in the registry ;)
Also, assume the application association API is present in Windows
and use that instead of reading from the registry directly.
2019-03-23 06:44:17 +08:00
Brian Birtles
8a3be2de87 Check child container count in NotifyRefreshDriverCreated. 2019-03-23 06:44:15 +08:00
wolfbeast
ca54bbe536 Check for dead wrappers in CallerGetterImpl/CallerSetterImpl.
This also removes code duplication by making CallerSetterImpl call
CallerGetterImpl.
2019-03-23 06:44:13 +08:00
Nicolas B. Pierron
c6e54b5208 Force expected crashes on unexpected magic values. 2019-03-23 06:44:11 +08:00
wolfbeast
eb32b5d7e4 Pref the use of unboxed plain objects in JS and disable by default.
This should be all that's needed for #1017, but verification of
impact is definitely desired.
2019-03-23 06:44:08 +08:00
Olli Pettay
d82c60d3d8 Remove harmless assertions by using IgnoredErrorResult. 2019-03-23 06:44:06 +08:00
Lootyhoof
e3b3cc12d2 Don't modify toolbox-after-color in lwthemes 2019-03-23 06:43:40 +08:00
Lootyhoof
20cc8b92e4 Draw a border when hiding the tab bar 2019-03-23 06:43:38 +08:00
JustOff
dff04053af Handle the special case of a flex frame being the absolute containing block correctly from the CSS align code 2019-03-16 07:06:10 +08:00
JustOff
7dfbe3cf9e [PALEMOON] Add SSUAO override for firefox.com (native mode) 2019-03-16 07:06:06 +08:00
adeshkp
888d5e5395 Fix warnings about unreachable code in cubeb 2019-03-16 07:04:14 +08:00
adeshkp
f922e8ae0e Remove a couple of unused variables 2019-03-16 07:04:13 +08:00
adeshkp
5193311ea5 Fix order of member variables in a couple of initializer lists 2019-03-16 07:04:11 +08:00
adeshkp
5d35d7f5ac Fix a warning about method override 2019-03-16 07:04:09 +08:00
JustOff
a86de13c47 Use meaningful error message in URLSearchParams::Constructor 2019-03-16 07:03:45 +08:00
JustOff
0b794697e3 Align IDL record to C++ conversion with the spec when Symbol-named properties are involved 2019-03-16 07:03:43 +08:00
JustOff
1729192b5d Construct URLSearchParams from record<> 2019-03-16 07:03:40 +08:00
JustOff
5fc488fe61 Construct URLSearchParams from sequence or from string 2019-03-16 07:03:39 +08:00
JustOff
5755645f0d Implement the spec provision for handling repeated keys in records by updating the existing value 2019-03-16 07:03:37 +08:00