aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mozjs60/0001-silence-sandbox-violations.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/mozjs60/0001-silence-sandbox-violations.patch')
-rw-r--r--testing/mozjs60/0001-silence-sandbox-violations.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/mozjs60/0001-silence-sandbox-violations.patch b/testing/mozjs60/0001-silence-sandbox-violations.patch
new file mode 100644
index 0000000000..9182026718
--- /dev/null
+++ b/testing/mozjs60/0001-silence-sandbox-violations.patch
@@ -0,0 +1,30 @@
+Upstream: no
+From 9ad10569e11a2fb96377188f895bc66abcc9511d Mon Sep 17 00:00:00 2001
+From: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
+Date: Wed, 5 Sep 2018 15:05:24 +0200
+Subject: [PATCH] silence sandbox violations
+
+Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
+---
+ python/mozbuild/mozbuild/frontend/emitter.py | 5 -----
+ 1 file changed, 5 deletions(-)
+
+diff --git a/python/mozbuild/mozbuild/frontend/emitter.py b/python/mozbuild/mozbuild/frontend/emitter.py
+index 642b381c0..c37fbf5d0 100644
+--- a/python/mozbuild/mozbuild/frontend/emitter.py
++++ b/python/mozbuild/mozbuild/frontend/emitter.py
+@@ -1127,11 +1127,6 @@ class TreeMetadataEmitter(LoggingMixin):
+ raise SandboxValidationError('Path specified in LOCAL_INCLUDES '
+ 'does not exist: %s (resolved to %s)' % (local_include,
+ full_path), context)
+- if (full_path == context.config.topsrcdir or
+- full_path == context.config.topobjdir):
+- raise SandboxValidationError('Path specified in LOCAL_INCLUDES '
+- 'is not allowed: %s (resolved to %s)' % (local_include,
+- full_path), context)
+ include_obj = LocalInclude(context, local_include)
+ local_includes.append(include_obj.path.full_path)
+ yield include_obj
+--
+2.18.0
+