Closed Bug 678457 Opened 13 years ago Closed 13 years ago

jsscan.cpp should not assert that cx->isExceptionPending() on errors.

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla8

People

(Reporter: igor, Assigned: igor)

References

Details

Attachments

(1 file, 1 obsolete file)

As Out-Of-Memory errors does not create any exceptions and rather silently propagate failures, the isExceptionPending() asserts added in the bug 636224 to jsscan.cpp are not correct.
Attached patch fix (obsolete) — Splinter Review
The patch just removes the assert. The test case will appear in the bug 671702. There with smaller chunks and with a test case that limits the max GC heap size to 128K I trigger the assert reliably.
Attachment #552616 - Flags: review?(luke)
Comment on attachment 552616 [details] [diff] [review]
fix

Did you perhaps attach the wrong patch?  This one has lots of... stuff.
Attachment #552616 - Flags: review?(luke)
Attached patch fix for realSplinter Review
here is the right patch
Attachment #552616 - Attachment is obsolete: true
Attachment #552742 - Flags: review?(luke)
Attachment #552742 - Flags: review?(luke) → review+
http://hg.mozilla.org/mozilla-central/rev/779fe0db869b
Status: NEW → RESOLVED
Closed: 13 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
Whiteboard: [inbound]
Target Milestone: --- → mozilla8
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: