Merge mozilla-central to autoland. a=merge CLOSED TREE

This commit is contained in:
Mihai Alexandru Michis 2019-07-06 06:42:14 +03:00
commit 201999f094

View File

@ -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();
}