зеркало из https://github.com/mozilla/pjs.git
Bug 478219. Put a script blocker around delayed editor init. r+sr=sicking
This commit is contained in:
Родитель
daebda9aa5
Коммит
322820f523
|
@ -1386,6 +1386,10 @@ nsTextControlFrame::CalcIntrinsicSize(nsIRenderingContext* aRenderingContext,
|
|||
void
|
||||
nsTextControlFrame::DelayedEditorInit()
|
||||
{
|
||||
// Make sure that editor init doesn't do things that would kill us off
|
||||
// (especially off the script blockers it'll create for its DOM mutations).
|
||||
nsAutoScriptBlocker scriptBlocker;
|
||||
|
||||
// Time to mess with our security context... See comments in GetValue()
|
||||
// for why this is needed.
|
||||
nsCxPusher pusher;
|
||||
|
|
Загрузка…
Ссылка в новой задаче