Closed Bug 22245 Opened 25 years ago Closed 25 years ago

Catchguard scoping issues

Categories

(Core :: JavaScript Engine, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: rginda, Assigned: shaver)

Details

(Keywords: js1.5)

http://lxr.mozilla.org/mozilla/source/js/tests/ecma_3/Exceptions/catchguard-001.js http://lxr.mozilla.org/mozilla/source/js/tests/ecma_3/Exceptions/catchguard-003.js These testcases fail with the messages: Testcase ecma_3/Exceptions/catchguard-001.js failed Failure messages were: FAILED!: [reported from test()] Exception data modified inside catch() scope should not be visible in the function scope (e = 'this change should not propagate outside of this scope'.) Testcase ecma_3/Exceptions/catchguard-003.js failed Failure messages were: FAILED!: [reported from test()] Data modified in 'catchguard expression' should not be visible in the function scope (x = '1'.) From what I understand, they should not fail, but I could be mistaken. Let me know if the testcases are invalid and I'll adjust/delete them.
Whiteboard: [JS15]
Status: NEW → ASSIGNED
Keywords: js1.5
Whiteboard: [JS15]
Removing [JS15] from Status Summary, putting js1.5 in new Keyword field :-)
Patch (vs. JS15_20000111_BRANCH) attached to bug 22243.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
catchguard-001.js passes after this change. catchguard-003.js was an invalid testcase, fixed.
Marking Verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.