Closed
Bug 428225
Opened 17 years ago
Closed 17 years ago
nsSplitterFrameInner::UpdateState is unsafe
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
People
(Reporter: sicking, Unassigned)
References
Details
It is called during reflow but calls SetAttr with aNotify set to true which can run script.
Don't know if the correct fix is to set the attributes off on a runnable (posted to nsContentUtils::AddScriptRunner) or to let aNotify be false. I suspect the former.
Comment 1•17 years ago
|
||
Or to do it off a post-reflow callback, possibly.
Comment 2•17 years ago
|
||
Yes, reflowcallback has been the usual way to fix these problems in xul layout/.
Reporter | ||
Comment 3•17 years ago
|
||
Fixed by patch in bug 423355
Updated•12 years ago
|
Group: core-security
You need to log in
before you can comment on or make changes to this bug.
Description
•