mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-14 12:13:22 +00:00
Bug 1559523 - Fix a crash in Thunderbird, [@ mozilla::dom::Document::EndLoad]. r=kaie
This commit is contained in:
parent
726678d4e7
commit
97ef8e2325
@ -11192,7 +11192,7 @@ void Document::SetReadyStateInternal(ReadyState rs,
|
||||
// At the time of loading start, we don't have timing object, record time.
|
||||
|
||||
if (READYSTATE_INTERACTIVE == rs) {
|
||||
if (nsContentUtils::IsSystemPrincipal(NodePrincipal())) {
|
||||
if (!mXULPersist && nsContentUtils::IsSystemPrincipal(NodePrincipal())) {
|
||||
mXULPersist = new XULPersist(this);
|
||||
mXULPersist->Init();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user