summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test/fixtures/export
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test/fixtures/export')
-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
3 files changed, 7 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);