summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test/fixtures
diff options
context:
space:
mode:
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
+---*/