1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-05-26 13:58:49 +00:00

98 Commits

Author SHA1 Message Date
Moonchild c690e26c67 No issue - Remove ISO-2022-JP from menu, overridability and detector.
Removed autodetection of this charset due to unreliability.
There are known security issues around charset auto-detection for ISO-2022-JP.
Given the usage is around 0.000002% of page loads, and Safari does not
support auto-detection of ISO-2022-JP, Chrome also planned to remove
support for it to eliminate the security issues.

See also https://www.sonarsource.com/blog/encoding-differentials-why-charset-matters/

Removal from the menu to avoid social engineering hazards and it being
literally unused on the web.
2026-05-26 09:36:23 +08:00
Moonchild 9ad680cfc4 Issue #2736 - Part 1: Provide more consistent principals to CSP.
We're currently fairly vague and inconsistent about the values we provide to
content policy implementations for requestOrigin and requestPrincipal. In some
cases they're the triggering principal, sometimes the loading principal,
sometimes the channel principal.

Our existing content policy implementations which require or expect a
loading principal currently retrieve it from the context node.
Since no current callers require the principal to be the loading
principal, and some already expect it to be the triggering principal
(which there's currently no other way to retrieve), a choice was made
to pass the triggering principal whenever possible, but use the loading
principal to determine the origin URL.
2025-05-14 14:21:46 +08:00
Moonchild baf98e0dde Issue #2503 - Part 2b: Fix missing navigator in UpdateUtils. 2024-04-16 14:59:13 +08:00
Moonchild a211c7d7f3 Issue #2503 - Part 2: Add CPU IS support flags to UpdateUtils URL substitutions. 2024-04-16 14:58:56 +08:00
Moonchild aa4419c2a9 Bug 1863083 2024-01-25 12:13:30 +08:00
Moonchild a39fd9e75f Issue #1656 - Remove more vim control lines.
Vim control lines were re-introduced or not entirely cleaned up.
This nukes them again.
Removing from modules, netwerk, security, storage, testing, toolkit, and
a few scattered misc files. More to come.
2023-05-05 22:59:16 +08:00
Moonchild 800090d0c0 No issue - Stop pre-processing some files that don't have preprocessor statements in them. 2022-09-19 16:19:41 +08:00
Brian Smith 13fcc4a046 Issue #1829 - Revert "Issue #1751" 2022-05-04 09:40:24 +08:00
Moonchild d562709920 Issue #21 - Remove calls to Services.telemetry and nsITelemetry
These calls would cause breakage without the supporting plumbing.
2022-04-28 10:38:12 +08:00
Moonchild d356440fa3 Issue #21 - Remove unused telemetry build variables.
Hard-code the values in AppConstants.jsm for compatibility, even if
nobody should actually be using this in extensions or what not.
2022-04-28 10:37:10 +08:00
Moonchild 2ed3e31c4f Issue #21 - Remove telemetry from PopupNotifications.jsm. 2022-04-28 10:34:18 +08:00
Moonchild d4eac725fd Issue #1877 - Resolve RELEASE_OR_BETA conditionals. 2022-04-21 21:46:47 +08:00
Moonchild ba00d14c12 Issue #1751 - Remove Mac code behind MOZ_WIDGET_TOOLKIT == 'cocoa' 2021-06-24 11:09:47 +08:00
Moonchild 859208a201 [toolkit] Exclude printer spew from troubleshooting information.
In almost all cases this is pointless to include, a ton of useless entries,
and there's no reason to have people post a full enumeration of installed
printers on their system when asked for TS information.
If there's a printer specific issue, people can always be asked to post relevant
info manually.
2021-06-04 09:31:04 +08:00
Moonchild a4b0f333ba Issue #1751 -- Remove XP_MACOSX conditionals from the rest of the tree.
This also removes some PP abuse and takes file entries out of PP when no longer
needed without XP_MACOSX conditionals.
2021-05-07 09:53:59 +08:00
Moonchild 348c6604be Issue #1053 - Remove MOZ_WIDGET_ANDROID and IDB_MOBILE 2021-03-12 08:59:50 +08:00
Moonchild 50653a7c4c Issue #1053 - Remove build system MOZ_ANDROID_* defines and related code. 2021-03-11 10:13:09 +08:00
Moonchild 9305760571 Issue #1656 - Part 9: Single-line-comment style. 2020-09-25 22:07:00 +08:00
Moonchild d5919942ff Issue #1656 - Part 8: Devtools and misc. 2020-09-25 22:06:55 +08:00
Moonchild 0cd673d720 Issue #1656 - Part 6: Clean up the build files 2020-09-25 22:04:23 +08:00
Moonchild 30df895eb2 Issue #1656 - Part 3: Nuke more vim config lines in the tree.
Another S&R run with some smarter matching.
2020-09-25 22:04:17 +08:00
Moonchild 8c395520d9 Issue #1656 - Part 1: Nuke most vim config lines in the tree.
Since these are just interpreted comments, there's 0 impact on actual code.
This removes all lines that match /* vim: set(.*)tw=80: */ with S&R -- there are
a few others scattered around which will be removed manually in a second part.
2020-09-25 22:04:12 +08:00
wolfbeast eabcbe5672 [AM] Clean up addon-signing build leftovers. 2020-05-02 08:23:23 +08:00
Matt A. Tobin c3d2282ba8 Issue #1516 - Part 1: Add a global build define to determine if the client can draw in the titlebar and update consumers of the local define 2020-04-18 07:02:04 +08:00
Matt A. Tobin 4f0ac63dd9 Take files out of preprocessing that no longer require it 2020-04-11 09:40:39 +08:00
JustOff e2ff7eae1e Issue #65 - Fix unprocessed directives in WebRequest.jsm 2020-04-03 09:30:55 +08:00
Matt A. Tobin 6b2664c8c5 Issue #1499 - Re-import ExtensionStorage.jsm 2020-04-03 09:21:07 +08:00
Matt A. Tobin f38c12f0b4 Issue #1470 - Part 1: Refactor UpdateUtils.jsm 2020-03-13 10:16:43 +08:00
New Tobin Paradigm 9532e6f02e Remove exposed bug from UpdateUtils.jsm 2020-03-05 09:38:34 +08:00
Matt A. Tobin 678b1ea2ec Issue #1053 - Remove android support from toolkit
Note: Does not remove support completely from toolkit/mozapps/installer or from telemetry or AppConstants.jsm
2020-02-27 07:32:40 +08:00
Matt A. Tobin e5bacc6f6e Issue #439 - Remove tests from toolkit/ 2020-02-27 07:32:33 +08:00
Matt A. Tobin 11efe7888c Issue #1454 - Add MOZ_PKG_SPECIAL to UpdateUtils 2020-02-21 07:04:54 +08:00
Matt A. Tobin 44da82db2a Issue #1320 - Stop appending cpu arch to the end of %BUILD_TARGET% on Windows in UpdateUtils.jsm 2020-02-18 07:15:11 +08:00
Matt A. Tobin b244d44891 Issue #1390 - Remove secondscreen modules from toolkit 2020-02-07 08:00:27 +08:00
Matt A. Tobin cc403750d3 Issue #65 - Remove AppConstants from toolkit/modules
Except for secondscreen
2020-02-07 07:55:51 +08:00
roytam1 65ca6d8036 Revert "[WebRequest] Remove AddonManagerPermissions leftovers" 2020-02-07 07:49:44 +08:00
wolfbeast 0070369171 Issue #1342 - Remove support for system NSPR/NSS 2020-01-31 07:44:03 +08:00
wolfbeast 690fb97392 [WebRequest] Remove AddonManagerPermissions leftovers
This was added as part of the WebExtension sec issue CVE-2017-5389.
Since we no longer have this interface, it needed to be removed to
prevent errors in the WebRequest channel callback.
2020-01-31 07:43:09 +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 f88da927a6 Remove e10s info from about:support
tag #953
2019-07-11 22:25:10 +08:00
adeshkp 05276951a7 Issue #246 - Remove "enhanced" newtab code from toolkit 2019-05-31 07:20:41 +08:00
Matt A. Tobin 4302912c0a Remove UpdateChannel.jsm 2019-04-27 08:55:44 +08:00
Matt A. Tobin 3c98d8f72d Add application ID and widget toolkit placeholders to UpdateUtils.jsm 2019-04-27 08:54:35 +08:00
Ascrod a24456a76d Issue #991 Part 8: Toolkit everything else 2019-04-27 08:22:23 +08:00
wolfbeast 3685261ed4 Remove CloudSync
Tag #812
2019-04-19 09:27:23 +08:00
Tooru Fujisawa 5676f63f41 Stage 1-4: Update tests 2019-04-13 07:00:27 +08:00
wolfbeast 03821e0bfc Remove conditional MOZ_MAINTENANCE_SERVICE code
Tag #145
2019-02-21 14:56:20 +08:00
NTD e30598c519 [TychoAM] Fix GMP* so that EME works in Basilisk
Also, keep WebExAM working for the moment
2019-02-16 00:27:39 +08:00
wolfbeast 69919870c1 Add performance warnings to Deprecated module.
Adds a dedicated handler for performance warnings to be logged to
consoles if known performance-impacting methods are called.
Search service init is changed from a deprecation warning to a
performance warning for synchronous init.
This also re-enables the warning for the Basilisk & Co. search service
initialization which was previously removed in [a930a79]

See also the discussion on #916.
2019-02-16 00:23:07 +08:00
janekptacijarabaci ead6332ccc Bug 1341957 - Add webgl.getSupportedExtensions() to about:support 2019-02-16 00:10:21 +08:00