summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test/fixtures
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:29 +0000
commit59203c63bb777a3bacec32fb8830fba33540e809 (patch)
tree58298e711c0ff0575818c30485b44a2f21bf28a0 /js/src/tests/test/fixtures
parentAdding upstream version 126.0.1. (diff)
downloadfirefox-59203c63bb777a3bacec32fb8830fba33540e809.tar.xz
firefox-59203c63bb777a3bacec32fb8830fba33540e809.zip
Adding upstream version 127.0.upstream/127.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'js/src/tests/test/fixtures')
-rw-r--r--js/src/tests/test/fixtures/export/reftest-and-frontmatter-error.js2
-rw-r--r--js/src/tests/test/fixtures/export/reftest-error-syntaxerror.js2
-rw-r--r--js/src/tests/test/fixtures/export/reportCompare.js3
-rw-r--r--js/src/tests/test/fixtures/import/files/bar.js6
-rw-r--r--js/src/tests/test/fixtures/import/files/baz.js6
-rw-r--r--js/src/tests/test/fixtures/import/files/foo.js6
6 files changed, 25 insertions, 0 deletions
diff --git a/js/src/tests/test/fixtures/export/reftest-and-frontmatter-error.js b/js/src/tests/test/fixtures/export/reftest-and-frontmatter-error.js
index 38e98283d7..4355646c73 100644
--- a/js/src/tests/test/fixtures/export/reftest-and-frontmatter-error.js
+++ b/js/src/tests/test/fixtures/export/reftest-and-frontmatter-error.js
@@ -1,4 +1,6 @@
// |reftest| error:SyntaxError
+// Copyright (C) 2017 Mozilla Corporation. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-let-and-const-declarations
diff --git a/js/src/tests/test/fixtures/export/reftest-error-syntaxerror.js b/js/src/tests/test/fixtures/export/reftest-error-syntaxerror.js
index 718778ddf7..974369a3b1 100644
--- a/js/src/tests/test/fixtures/export/reftest-error-syntaxerror.js
+++ b/js/src/tests/test/fixtures/export/reftest-error-syntaxerror.js
@@ -1,4 +1,6 @@
// |reftest| error:SyntaxError
+// Copyright (C) 2017 Mozilla Corporation. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
/*---
author: Jeff Walden <jwalden+code@mit.edu>
diff --git a/js/src/tests/test/fixtures/export/reportCompare.js b/js/src/tests/test/fixtures/export/reportCompare.js
index 7b5af60053..3e22e016fb 100644
--- a/js/src/tests/test/fixtures/export/reportCompare.js
+++ b/js/src/tests/test/fixtures/export/reportCompare.js
@@ -36,3 +36,6 @@ reportCompare(
true,
true
);
+
+if (typeof reportCompare === "function")
+ reportCompare(true, true);
diff --git a/js/src/tests/test/fixtures/import/files/bar.js b/js/src/tests/test/fixtures/import/files/bar.js
index e69de29bb2..30a528ee66 100644
--- a/js/src/tests/test/fixtures/import/files/bar.js
+++ b/js/src/tests/test/fixtures/import/files/bar.js
@@ -0,0 +1,6 @@
+// Copyright (C) 2017 Leo Balter. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+esid: sec-grammar-notation
+---*/
diff --git a/js/src/tests/test/fixtures/import/files/baz.js b/js/src/tests/test/fixtures/import/files/baz.js
index e69de29bb2..30a528ee66 100644
--- a/js/src/tests/test/fixtures/import/files/baz.js
+++ b/js/src/tests/test/fixtures/import/files/baz.js
@@ -0,0 +1,6 @@
+// Copyright (C) 2017 Leo Balter. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+esid: sec-grammar-notation
+---*/
diff --git a/js/src/tests/test/fixtures/import/files/foo.js b/js/src/tests/test/fixtures/import/files/foo.js
index e69de29bb2..30a528ee66 100644
--- a/js/src/tests/test/fixtures/import/files/foo.js
+++ b/js/src/tests/test/fixtures/import/files/foo.js
@@ -0,0 +1,6 @@
+// Copyright (C) 2017 Leo Balter. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+esid: sec-grammar-notation
+---*/