Bug 1203963 - Part 1: Call test_syntax in syntax-error-illegal-character.js. r=Waldo
authorTooru Fujisawa <arai_a@mac.com>
Fri, 11 Sep 2015 23:33:12 +0900
changeset 295548 48876dcd455e46e048d517c987abb5e084f43f6a
parent 295547 d3dad76b9080a87f048f30d27ad6ca1491401734
child 295549 52681f21ea1289ded93d337acfbfc14bcc6ecf64
push id5245
push userraliiev@mozilla.com
push dateThu, 29 Oct 2015 11:30:51 +0000
treeherdermozilla-beta@dac831dc1bd0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersWaldo
bugs1203963
milestone43.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1203963 - Part 1: Call test_syntax in syntax-error-illegal-character.js. r=Waldo
js/src/jit-test/tests/asm.js/syntax-error-illegal-character.js
js/src/jit-test/tests/basic/syntax-error-illegal-character.js
js/src/jit-test/tests/parser/syntax-error-illegal-character.js
deleted file mode 100644
--- a/js/src/jit-test/tests/asm.js/syntax-error-illegal-character.js
+++ /dev/null
@@ -1,1 +0,0 @@
-// |jit-test| test-also-noasmjs
rename from js/src/jit-test/tests/basic/syntax-error-illegal-character.js
rename to js/src/jit-test/tests/parser/syntax-error-illegal-character.js
--- a/js/src/jit-test/tests/basic/syntax-error-illegal-character.js
+++ b/js/src/jit-test/tests/parser/syntax-error-illegal-character.js
@@ -5,8 +5,10 @@ var JSMSG_ILLEGAL_CHARACTER = "illegal c
 var repl_expr_flags = [
   "@",
 ];
 
 function check_syntax_error(e, code, name) {
   assertEq(e instanceof SyntaxError, true, name + ": " + code);
   assertEq(e.message, JSMSG_ILLEGAL_CHARACTER, name + ": " + code);
 }
+
+test_syntax(repl_expr_flags, check_syntax_error, false);