Commit graph

2,954 commits

Author SHA1 Message Date
Roy Tam
6d191b58d4 Merge remote-tracking branch 'origin/master' into custom 2019-09-06 23:57:22 +08:00
wolfbeast
c2fafd67b0 Fix whitelisting of JavaScript-uris by CSP hash. 2019-09-06 23:50:03 +08:00
wolfbeast
c3dc56af72 Properly implement various HSTS states.
Previously, HSTS preload list values could be overridden temporarily due
to counter-intuitive behavior of the API's removeState function.
This adds an explicit flag to the API for writing knockout values to
the Site Security Service, with the default resetting to whatever the
preload list state is.
2019-09-06 23:50:01 +08:00
wolfbeast
33d503a975 Use the correct group for JIT constraints.
This fixes a rare crash/CTD in JS.
This adds information about the constraints to a new RAII class so we
can finish all constraints at the end.
Based on changes in BZ 1568397
2019-09-06 23:49:58 +08:00
Olli Pettay
ec1e15a6f2 Ensure the right body element is used throughout the method call. 2019-09-06 23:49:56 +08:00
Sebastian Streich
3f25eeefaf Add checks to respect CSP-wildcard + Ports. 2019-09-06 23:49:53 +08:00
wolfbeast
cfc50f18c4 Fix a crash in IndexedDB. 2019-09-06 23:49:51 +08:00
Nathan Froyd
f40a82f098 Kill newly-spawned threads if we're shutting down. 2019-09-06 23:49:48 +08:00
wolfbeast
26b079c59f Remove HTML5 parser java docs and generation code.
java->C++ automated translation is not something we want to deal with
now or in the future.
2019-09-06 23:49:46 +08:00
wolfbeast
01f0d00864 Belatedly fix html5 parser attribution for files not covered by the MPL. 2019-09-06 23:49:44 +08:00
wolfbeast
03208b757b Fix an issue with the html5 tokenizer and tree builder. 2019-09-06 23:49:42 +08:00
Ascrod
cf71a30b16 Issue #1217 - Add support for (later versions of) the Windows 10 SDK 2019-09-06 23:49:23 +08:00
Markus Stange
cb6b60ce61 Correctly return zero vertices if clipping plane 0 or 2 clip away the
entire polygon.

This fixes a bug that was introduced three years ago in BZ bug 1268854.
What happened was that the final pass over the polygon assumed that the
current polygon was living in plane[0]. But due to the double buffering,
the "current" polygon alternates between plane[0] and plane[1].
The bug had also introduced an early exit so that we could hit the final
pass at a time where the current, now empty, polygon was in plane[1]. So
we would incorrectly treat all 32 points in plane[0] as part of the
final polygon.

This bug was responsible for intermittently unreasonable numbers in
CompositorOGL's fill rate / overdraw overlay.

This fixes a regression caused by the fix for CVE-2016-5252.
2019-09-06 23:49:19 +08:00
wolfbeast
d6ceb39e25 Revert "Correctly return zero vertices if clipping plane 0 or 2 clip away the"
This reverts commit 09a8b2f19689b679b1268a3004ec5e3f37b9732a.
2019-09-06 23:49:17 +08:00
wolfbeast
b3b78fea06 Issue #1222: Don't load plugin instances when they have no src URI.
Favor fallback content in that case (if present). Fallback is always
considered "good" in this case so may end up doing nothing which is what
we'd want for corner cases that hammer this routine with no content.
2019-09-06 23:48:49 +08:00
wolfbeast
de215d77fc Correctly return zero vertices if clipping plane 0 or 2 clip away the
entire polygon.

This fixes a regression caused by the fix for CVE-2016-5252
2019-09-06 23:48:46 +08:00
wolfbeast
19a7a8f535 Issue #1179: fix indentation 2019-09-06 23:48:44 +08:00
Roy Tam
058ed959e5 import change from tenfourfox:
- #568: update certs, pins, TLDs, miners (fe73f72f7)
and added -bigobj compile switch to ssl/moz.build.
2019-09-04 23:28:16 +08:00
Roy Tam
6c9fff4c0e Merge remote-tracking branch 'origin/master' into custom 2019-08-30 13:38:16 +08:00
wolfbeast
b328222636 New cycle version bump 2019-08-30 13:37:39 +08:00
wolfbeast
f34f8ca034 Issue #1221: Pass the original element into
nsXMLContentSerializer::CheckElementEnd so that we can properly
determine whether it has children.

This resolves #1221
2019-08-30 13:37:37 +08:00
Roy Tam
8ec47d9a66 optimize about-background.png 2019-08-30 13:33:02 +08:00
Mathwi
a0cdcc34b4 Help / About dialog box enhancements (#8)
* Replace Help / About Serpent window background

* Copy new web.whatsapp.com SSUAO from PM to Serpent

* Revert last commit & future-proof whatsapp SSUAO

1. Reverted previous commit as unnecessary. Web.whatsapp.com will work with a FF SSUAO as well as a Chrome one.
2. Changed FF rv for whatsapp.com from 61.0 to 68.0 so whatsapp will consider Basilisk & Serpent "up to date" for a while longer

* Fix file ext. to show "Serpent" wordmark

Style sheet was attempting to load about-wordmark.png but actual file is about-wordmark.svg

* Update about-wordmark.svg

* New royalty-free Help / About background image
2019-08-29 06:27:22 +08:00
Roy Tam
e6e3f61761 Merge remote-tracking branch 'origin/master' into custom 2019-08-23 10:05:02 +08:00
Matt A. Tobin
90f6b97ecc [MCP Applications] Add %WIDGET_TOOLKIT% to the AUS update url for Pale Moon and Basilisk
Also removes the redundant branding version of app.update.url in Pale Moon that was missed when many prefs were merged back into application preferences
2019-08-23 09:58:14 +08:00
Roy Tam
59916a7d19 update Twemoji font to KwanEsq/twemoji-colr v12 branch with twemoji-12.1.2. 2019-08-18 13:46:05 +08:00
Roy Tam
18869d3807 Merge remote-tracking branch 'origin/master' into custom 2019-08-17 13:34:39 +08:00
Ascrod
53bfc43dbe Issue #999 - Disable native file picker by default. 2019-08-17 13:33:40 +08:00
Ascrod
4d854945cd Issue #999 - Use xdg-desktop-portal for file selection dialogs on Linux. 2019-08-17 13:33:37 +08:00
wolfbeast
f8432bc275 Issue #1208: Update Sync policies.js getters/setters to prevent race. 2019-08-17 13:33:21 +08:00
wolfbeast
efd576e045 Issue #1208: Remove services.sync.enabled pref.
Sync will not do anything unless specifically set up to do so and at
least one engine is enabled, so there's no need for this "master switch"
to force it disabled based on engines being disabled (which was its
previous function to shortcut syncing in that situation).
2019-08-17 13:33:18 +08:00
wolfbeast
c0204d7955 Issue #1208: Fix jsonLoad in Sync's util.js to handle errors.
- `OS.Path.join` can throw, so we always need to try/catch it.
- Also do a sanity check to make sure `callback` is defined before use
2019-08-17 13:33:14 +08:00
wolfbeast
bd9bb12027 Issue #1124: [Basilisk] Remove Dev Edition theme. 2019-08-17 13:33:08 +08:00
wolfbeast
188fdce00f Issue #1124: [Basilisk] Remove Dev Edition front-end tie-ins. 2019-08-17 13:32:34 +08:00
wolfbeast
1f68992bee Issue #1124: Remove Firefox Developer Edition code.
Removes all occurrences of MOZ_DEV_EDITION code and some helpers.
2019-08-17 13:32:31 +08:00
wolfbeast
b7c0f39806 Update platform version. 2019-08-17 13:32:27 +08:00
wolfbeast
92f516c643 Issue #438: Revert incorrect changes to w3c-css reftests 2019-08-17 13:32:24 +08:00
wolfbeast
a2a90ce32b Issue #438: Add reftests. 2019-08-17 13:32:22 +08:00
wolfbeast
c01fb23b1b Issue #438: Make the nsSVGOuterSVGAnonChildFrame a reference frame.
This causes transforms of the <svg> contents to be unaffected by
scrolling / offset changes of the <svg> element.
2019-08-17 13:32:19 +08:00
wolfbeast
c2b844077e Issue #438: Check for non-rectilinear transforms 2019-08-17 13:32:16 +08:00
wolfbeast
0343460b3a Issue #438: Add an IsRectilinear helper method to gfxMatrix. 2019-08-17 13:32:12 +08:00
wolfbeast
0c8d8938e2 Issue #438: Rename coord/coords to originValue/transformOrigin.
For clarity and to prevent typoes.
2019-08-17 13:32:09 +08:00
wolfbeast
bc4594b40e Issue #438: Pixel-snap subpixel value for outer SVG and anon child.
This doesn't solve the blurriness yet, but is part of the problem.
2019-08-17 13:32:06 +08:00
wolfbeast
8a29ec9a3f Issue #438: Do not round the translation of an SVG frame.
This doesn't solve the blurriness yet, but is part of the problem.
2019-08-17 13:32:03 +08:00
wolfbeast
acefb96117 Issue #1211: Allow the loading of TYPE_FONT from file: URLs.
This bypasses the CORS restriction of unique file: URLs in the case of
fonts loaded through CSS.

Resolves #1211.
2019-08-17 13:32:00 +08:00
wolfbeast
dc06a97ab3 Enable the JSON View tool by default.
Follow-up to issue #1138.
2019-08-17 13:31:57 +08:00
janekptacijarabaci
fe68fd519c Remove "Delete this page" and "Forget about this site" from livemarks.
These context menu entries should not be present on live bookmarks
because they make no sense for feed entries.
This resolves #663.
2019-08-17 13:31:54 +08:00
win7-7
0eab1834ed Outdated comment removal (no code changes)
No code changes.
2019-08-17 13:31:05 +08:00
wolfbeast
06634f6495 Issue #1134: Reinstate postDataString for about:home searches. 2019-08-17 13:31:01 +08:00
wolfbeast
dabcbe1d6d Remove some leftover snippets code.
follow-up to 3a17b713ef27abb8c9d7c116815d3af7e0f366d9
2019-08-17 13:30:58 +08:00