Open Bug 1563320 Opened 5 years ago Updated 2 years ago

Improve creation of nsXULPrototypeElement during deserialization

Categories

(Core :: XUL, task, P3)

task

Tracking

()

People

(Reporter: mccr8, Unassigned)

References

Details

From bz's comment on patch 1 in bug 1563066:

  1. Make the Deserialize method on nsXULPrototypeElement non-virtual, static, and returning already_AddRefed<nsXULPrototypeElement>. This method will now be the only case where the no-nodeinfo version of the constructor might get called.

  2. Either rearrange Deserialize so we create the element after we read the nodeinfo, or make the no-arg constructor version private. I'm pretty sure we can do the former...

Severity: normal → S3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.