Open Bug 1197044 Opened 9 years ago Updated 2 years ago

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

Categories

(Core :: XUL, defect)

defect

Tracking

()

Tracking Status
firefox43 --- affected

People

(Reporter: xidorn, Unassigned)

Details

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().
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.