summaryrefslogtreecommitdiffstats
path: root/js/src/tests/js1_7
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-02-03 08:22:29 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-02-03 08:23:12 +0100
commitd432e068a21c815d5d5e7bcbc1cc8c6e77a7d1e0 (patch)
tree98d5420a48042e47b0d9971d30774b8c82d11486 /js/src/tests/js1_7
parent278eda6a09e9177678d57a2da2b6a8ddcb503b1c (diff)
parentae4af7b7e598b4fec037254a1fd03ac3495695a4 (diff)
downloadUXP-d432e068a21c815d5d5e7bcbc1cc8c6e77a7d1e0.tar
UXP-d432e068a21c815d5d5e7bcbc1cc8c6e77a7d1e0.tar.gz
UXP-d432e068a21c815d5d5e7bcbc1cc8c6e77a7d1e0.tar.lz
UXP-d432e068a21c815d5d5e7bcbc1cc8c6e77a7d1e0.tar.xz
UXP-d432e068a21c815d5d5e7bcbc1cc8c6e77a7d1e0.zip
Stage 1: Fix #960.
Diffstat (limited to 'js/src/tests/js1_7')
-rw-r--r--js/src/tests/js1_7/extensions/regress-354945-01.js2
-rw-r--r--js/src/tests/js1_7/extensions/regress-354945-02.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/js/src/tests/js1_7/extensions/regress-354945-01.js b/js/src/tests/js1_7/extensions/regress-354945-01.js
index 76f1a3c82..1c57db0f7 100644
--- a/js/src/tests/js1_7/extensions/regress-354945-01.js
+++ b/js/src/tests/js1_7/extensions/regress-354945-01.js
@@ -6,7 +6,7 @@
//-----------------------------------------------------------------------------
var BUGNUMBER = 354945;
var summary = 'Do not crash with new Iterator';
-var expect = 'TypeError: trap __iterator__ for ({__iterator__:(function (){ })}) returned a primitive value';
+var expect = 'TypeError: trap __iterator__ for ({__iterator__:(function(){ })}) returned a primitive value';
var actual;
diff --git a/js/src/tests/js1_7/extensions/regress-354945-02.js b/js/src/tests/js1_7/extensions/regress-354945-02.js
index 261bf7de1..abef90f77 100644
--- a/js/src/tests/js1_7/extensions/regress-354945-02.js
+++ b/js/src/tests/js1_7/extensions/regress-354945-02.js
@@ -20,7 +20,7 @@ function test()
printBugNumber(BUGNUMBER);
printStatus (summary);
- expect = 'TypeError: trap __iterator__ for ({__iterator__:(function (){ })}) returned a primitive value';
+ expect = 'TypeError: trap __iterator__ for ({__iterator__:(function(){ })}) returned a primitive value';
var obj = {};
obj.__iterator__ = function(){ };
try