Open Bug 1193578 Opened 9 years ago Updated 2 years ago

nsXULPrototypeDocument::Read() should not use the result of failed stream Read methods

Categories

(Core :: XUL, defect)

defect

Tracking

()

Tracking Status
firefox43 --- affected

People

(Reporter: mccr8, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

There are a bunch of read methods in nsXULPrototypeDocument::Read(), but the method does not fail immediately when they fail. I'm not really sure if that's the right thing to do, but you'll end up with some weird intermediate state either way. I'm also not sure if NotifyLoadDone() should always be called, even on a failure. It isn't being done completely consistently right now.
I'm not sure this is the right thing to do, but here is at least a prototype.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: