Browse Source

lost patch part 3

Frank-Rainer Grahl 8 months ago
parent
commit
02b5060c31

+ 29 - 0
mozilla-release/patches/NOBUG-20170801-promisehelper-57a1.patch

@@ -0,0 +1,29 @@
+# HG changeset patch
+# User Shu-yu Guo <shu@rfrn.org>
+# Date 1501629591 25200
+# Node ID 15744cd370e0e274244681121836ba2dbac1526f
+# Parent  727ed3b85a4829280d80dfcb7bea7af14f23c5ab
+No bug - PromiseHelper.js -> promiseHelper.js due to rename in test262-update.py (r=me)
+
+diff --git a/js/src/tests/test262-update.py b/js/src/tests/test262-update.py
+--- a/js/src/tests/test262-update.py
++++ b/js/src/tests/test262-update.py
+@@ -322,17 +322,17 @@ def process_test262(test262Dir, test262O
+     writeShellAndBrowserFiles(test262OutDir, harnessDir, includesMap, localIncludesMap, "")
+ 
+     # Additional explicit includes inserted at well-chosen locations to reduce
+     # code duplication in shell.js files.
+     explicitIncludes = {}
+     explicitIncludes[os.path.join("built-ins", "Atomics")] = ["testAtomics.js",
+         "testTypedArray.js"]
+     explicitIncludes[os.path.join("built-ins", "DataView")] = ["byteConversionValues.js"]
+-    explicitIncludes[os.path.join("built-ins", "Promise")] = ["PromiseHelper.js"]
++    explicitIncludes[os.path.join("built-ins", "Promise")] = ["promiseHelper.js"]
+     explicitIncludes[os.path.join("built-ins", "TypedArray")] = ["byteConversionValues.js",
+         "detachArrayBuffer.js", "nans.js"]
+     explicitIncludes[os.path.join("built-ins", "TypedArrays")] = ["detachArrayBuffer.js"]
+ 
+     # Process all test directories recursively.
+     for (dirPath, dirNames, fileNames) in os.walk(testDir):
+         relPath = os.path.relpath(dirPath, testDir)
+         if relPath == ".":

+ 1 - 0
mozilla-release/patches/series

@@ -27,6 +27,7 @@
 1831621-NSS3891-114a1.patch
 1821434-1-NSS390-114a1.patch
 1821434-2-NSS390-114a1.patch
+NOBUG-20170801-promisehelper-57a1.patch
 1386275-57a1.patch
 1373563-1-57a1.patch
 1380617-01-57a1.patch