a409d8adda
* CVE-2018-12371 (bmo#1465686) * modifies the crash protection feature to increase the amount of time that plugins are allowed to be non-responsive before * firefox-bug506901.patch - improve UI colors to be usable with dark themes at all - added KDE integration patch from llunak@novell.com (firefox-kde.patch) * support for knotify, making -kde4-addon obsolete especially KDE integration: * added the ability to set the KDE default browser * MFSA 2009-05/CVE-2009-0357: XMLHttpRequest allows reading * MFSA 2009-04/CVE-2009-0356: Chrome privilege escalation via * MFSA 2009-02/CVE-2009-0354: XSS using a chrome XBL method * MFSA 2009-01/CVE-2009-0352 - CVE-2009-0353: Crashes with evidence of memory corruption (rv:1.9.0.6) (bmo#452913, * Make sure the search bar is not put back when resetting the - Update to stability/security release 3.0.1 (bnc#407573) + MFSA 2008-35 Command-line URLs launch multiple tabs when - Set browser.shell.checkDefaultBrowser to true (bnc#404119) - fix hardlinks accross partitions - move last change a bit further in specfile - Mark a .png file as nonexecutable. * MFSA 2007-26 Privilege escalation through chrome-loaded - Fixes bnc #295677 - added unzip to BuildRequires - updated tango theme Resuming your browsing session, Previewing and subscribing Improved Add-ons manager, JavaScript 1.7, Extended search OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=1190
46 lines
1.7 KiB
Diff
46 lines
1.7 KiB
Diff
Taken from https://hg.mozilla.org/mozilla-central/rev/7a8dbd4de3c70d6a6ac98469a9b92e4877019e0c
|
|
|
|
--- a/python/mozbuild/mozbuild/action/node.py
|
|
+++ b/python/mozbuild/mozbuild/action/node.py
|
|
@@ -1,19 +1,20 @@
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
-import pipes
|
|
import subprocess
|
|
import sys
|
|
|
|
import buildconfig
|
|
import six
|
|
|
|
+from mozbuild.shellutil import quote as shell_quote
|
|
+
|
|
SCRIPT_ALLOWLIST = [buildconfig.topsrcdir + "/devtools/client/shared/build/build.js"]
|
|
|
|
ALLOWLIST_ERROR = """
|
|
%s is not
|
|
in SCRIPT_ALLOWLIST in python/mozbuild/mozbuild/action/node.py.
|
|
Using NodeJS from moz.build is currently in beta, and node
|
|
scripts to be executed need to be added to the allowlist and
|
|
reviewed by a build peer so that we can get a better sense of
|
|
@@ -42,18 +43,17 @@ def execute_node_cmd(node_cmd_list):
|
|
|
|
The node script is expected to output lines for all of the dependencies
|
|
to stdout, each prefixed by the string "dep:". These lines will make up
|
|
the returned set of dependencies. Any line not so-prefixed will simply be
|
|
printed to stderr instead.
|
|
"""
|
|
|
|
try:
|
|
- printable_cmd = " ".join(pipes.quote(arg) for arg in node_cmd_list)
|
|
- print('Executing "{}"'.format(printable_cmd), file=sys.stderr)
|
|
+ print('Executing "{}"'.format(shell_quote(*node_cmd_list)), file=sys.stderr)
|
|
sys.stderr.flush()
|
|
|
|
# We need to redirect stderr to a pipe because
|
|
# https://github.com/nodejs/node/issues/14752 causes issues with make.
|
|
proc = subprocess.Popen(
|
|
node_cmd_list, stdout=subprocess.PIPE, stderr=subprocess.PIPE
|
|
)
|