Closed Bug 1197285 Opened 9 years ago Closed 9 years ago

Re-evaluate if SavedFrame subsumes checks need to handle a missing subsumes callback

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: fitzgen, Assigned: fitzgen)

References

Details

Attachments

(1 obsolete file)

Follow up to bug 1194424. IIRC, the case of a missing subsumes callback predates when the shell had principals and a subsumes callback of its own. Maybe we can remove it now? Let's try and find out...
Once upon a time, JS shell builds did not have principals nor a subsumes callback, and so the SavedStacks infrastructure had to null check the subsumes callback all the time in order to run shell tests. Since then, the JS shell picked up its own principals and its own subsumes callback, and so all of these null checks are no longer needed as the subsumes callback is always set by the shell or the embedder.
Attachment #8653142 - Flags: review?(sphink)
Oh hm, I'm crashing in heap snapshot xpcshell tests with this patch now, actually. I guess those checks are still needed!
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Attachment #8653142 - Attachment is obsolete: true
Attachment #8653142 - Flags: review?(sphink)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: