Closed Bug 1172641 Opened 9 years ago Closed 9 years ago

syntax-error-illegal-character.js, export-declaration.js, and various jsreftests are going to permafail when Gecko 41 merges to Aurora

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
critical

Tracking

()

VERIFIED FIXED
mozilla41
Tracking Status
firefox41 --- verified

People

(Reporter: RyanVM, Assigned: jonco)

References

Details

Attachments

(1 file)

https://treeherder.mozilla.org/logviewer.html#?job_id=8237234&repo=try 21:46:43 WARNING - TEST-UNEXPECTED-FAIL | tests/jit-test/jit-test/tests/basic/syntax-error-illegal-character.js | /builds/slave/test/build/tests/jit-test/jit-test/tests/basic/syntax-error-illegal-character.js:11:4 Error: Assertion failed: got "class is a reserved identifier", expected "illegal character": export class @ (code 3, args "")
Flags: needinfo?(jcoppeard)
TEST-UNEXPECTED-FAIL | js/src/jit-test/tests/modules/export-declaration.js | /builds/slave/try_lx-d_sm-arm-sim-0000000000/src/js/src/jit-test/tests/modules/export-declaration.js:214:0 SyntaxError: class is a reserved identifier (code 3, args "")
Summary: syntax-error-illegal-character.js is going to permafail when Gecko 41 merges to Aurora → syntax-error-illegal-character.js and export-declaration.js are going to permafail when Gecko 41 merges to Aurora
And jsreftest failures: https://treeherder.mozilla.org/logviewer.html#?job_id=8237231&repo=try REFTEST TEST-UNEXPECTED-FAIL | file:///builds/slave/test/build/tests/jsreftest/tests/jsreftest.html?test=ecma_6/Class/newTargetMethods.js | Unknown file:///builds/slave/test/build/tests/jsreftest/tests/ecma_6/Class/newTargetMethods.js:11: SyntaxError: class is a reserved identifier item 1 REFTEST TEST-UNEXPECTED-FAIL | file:///builds/slave/test/build/tests/jsreftest/tests/jsreftest.html?test=ecma_6/Class/superPropEvalInsideArrow.js | Unknown file:///builds/slave/test/build/tests/jsreftest/tests/ecma_6/Class/superPropEvalInsideArrow.js:1: SyntaxError: class is a reserved identifier item 1 REFTEST TEST-UNEXPECTED-FAIL | file:///builds/slave/test/build/tests/jsreftest/tests/jsreftest.html?test=ecma_6/Class/superPropHeavyweightArrow.js | Unknown file:///builds/slave/test/build/tests/jsreftest/tests/ecma_6/Class/superPropHeavyweightArrow.js:1: SyntaxError: class is a reserved identifier item 1
Summary: syntax-error-illegal-character.js and export-declaration.js are going to permafail when Gecko 41 merges to Aurora → syntax-error-illegal-character.js, export-declaration.js, and various jsreftests are going to permafail when Gecko 41 merges to Aurora
Assignee: nobody → jcoppeard
Flags: needinfo?(jcoppeard)
Attached patch bug1172641-syntax-test-aurora (deleted) — Splinter Review
Potential fix, waiting for try to reopen so I can test this.
Comment on attachment 8617332 [details] [diff] [review] bug1172641-syntax-test-aurora This fixes the class-related failures on aurora.
Attachment #8617332 - Flags: review?(shu)
Comment on attachment 8617332 [details] [diff] [review] bug1172641-syntax-test-aurora Review of attachment 8617332 [details] [diff] [review]: ----------------------------------------------------------------- Thanks for fix! ::: js/src/tests/ecma_6/Class/newTargetMethods.js @@ +52,3 @@ > > +if (classesEnabled()) > + eval(test); Why'd you do it this way, to avoid moving code around? Just curious, no need to change what you did.
Attachment #8617332 - Flags: review?(shu) → review+
(In reply to Shu-yu Guo [:shu] from comment #5) > Why'd you do it this way, to avoid moving code around? I just copied what other class tests do to get around this problem.
Flags: needinfo?(jcoppeard)
Flags: needinfo?(jcoppeard)
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: