Null check frame in Document::dispatchDisabledAdaptationsDidChangeForMainFrame and...