зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1722991, don't try to load iframes in the background when Fission is enabled r=sefeng
The feature isn't Fission compatible at the moment and it is disabled by default anyhow, so better try to not use it with Fission so that some crashes can be avoided. Differential Revision: https://phabricator.services.mozilla.com/D121714
This commit is contained in:
Родитель
ab6fee6c47
Коммит
730a126d25
|
@ -359,7 +359,8 @@ void DocGroup::SignalSlotChange(HTMLSlotElement& aSlot) {
|
|||
}
|
||||
|
||||
bool DocGroup::TryToLoadIframesInBackground() {
|
||||
return StaticPrefs::dom_separate_event_queue_for_post_message_enabled() &&
|
||||
return !FissionAutostart() &&
|
||||
StaticPrefs::dom_separate_event_queue_for_post_message_enabled() &&
|
||||
StaticPrefs::dom_cross_origin_iframes_loaded_in_background();
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче