Token comparison should be used instead of substring finding for persist attribute

NEW
Unassigned

Status

()

3 years ago
3 years ago

People

(Reporter: xidorn, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(firefox43 affected)

Details

(Reporter)

Description

3 years ago
We use nsString::Find for checking whether an attribute exists in persist attribute, it is broken. We should check whether it is a token there. See XXXldb in XULDocument::AttributeChanged().

We should also update this in nsXULWindow::SavePersistentAttributes().
You need to log in before you can comment on or make changes to this bug.