js/tests/ecma_2/Exceptions/function-001.js is bogus

RESOLVED FIXED

Status

()

Core
JavaScript Engine
--
trivial
RESOLVED FIXED
10 years ago
10 years ago

People

(Reporter: jorendorff, Assigned: bc)

Tracking

Trunk
Points:
---
Bug Flags:
in-testsuite -
in-litmus -

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

10 years ago
See bug 10278 comment 12.  The test was invalidated, and bc mentioned possibly switching it to test the new behavior, but it's still there.

The test expects eval("function f(){}function g(){}") to throw a SyntaxError.
(Reporter)

Comment 1

10 years ago
Aha, this test is in spidermonkey-n.tests, so I shouldn't be running it.

Leaving this bug open because the test is still patently bonkers; but severity=trivial.
Severity: normal → trivial
(Assignee)

Comment 2

10 years ago
Created attachment 320989 [details] [diff] [review]
patch
Attachment #320989 - Flags: review?(jorendorff)
(Reporter)

Comment 3

10 years ago
Comment on attachment 320989 [details] [diff] [review]
patch

r+
Attachment #320989 - Attachment is patch: true
Attachment #320989 - Flags: review?(jorendorff) → review+
(Assignee)

Updated

10 years ago
Assignee: general → bclary
(Assignee)

Comment 4

10 years ago
Checking in ecma_2/Exceptions/function-001.js;
/cvsroot/mozilla/js/tests/ecma_2/Exceptions/function-001.js,v  <--  function-001.js
new revision: 1.6; previous revision: 1.5
done
Checking in spidermonkey-n-1.9.0.tests;
/cvsroot/mozilla/js/tests/spidermonkey-n-1.9.0.tests,v  <--  spidermonkey-n-1.9.0.tests
new revision: 1.2; previous revision: 1.1
done
Checking in spidermonkey-n.tests;
/cvsroot/mozilla/js/tests/spidermonkey-n.tests,v  <--  spidermonkey-n.tests
new revision: 1.16; previous revision: 1.15
done
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
(Assignee)

Updated

10 years ago
Flags: in-testsuite-
Flags: in-litmus-
You need to log in before you can comment on or make changes to this bug.