Make formless <input> state saving not require an append notification flush

NEW
Unassigned

Status

()

Core
DOM
9 years ago
9 years ago

People

(Reporter: hsivonen, Unassigned)

Tracking

Trunk
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

9 years ago
See bug 497861.

In nsContentUtils::GenerateStateKey(), there's this bit:
// Flush our content model so it'll be up to date
aContent->GetCurrentDoc()->FlushPendingNotifications(Flush_Content);

It should be made so that GenerateStateKey works right without this flush, since avoiding flushing making DOM construction faster.

When fixing this, please also remove the corresponding flush request tree op creation from nsHtml5TreeBuilderCppSupplement.h (search for "497861").
You need to log in before you can comment on or make changes to this bug.