Backed out changeset c7ca6974f739 (bug 1643998) for causing multiple bc failures. CLOSED TREE

This commit is contained in:
Sandor Molnar 2021-06-15 23:23:39 +03:00
Родитель 5cc096228e
Коммит 7bf37eeab8
2 изменённых файлов: 1 добавлений и 9 удалений

Просмотреть файл

@ -81,6 +81,7 @@ support-files = file_new_tab_page.html
skip-if =
!e10s
os == 'linux' && debug && bits == 64 # Pref and test only relevant for e10s, Bug 1581500.
fission && (os == "mac" || os == 'linux') # Bug 1713893 - new Fission platform triage
[browser_privilegedmozilla_process_pref.js]
skip-if = !e10s # Pref and test only relevant for e10s.
[browser_newwindow_tabstrip_overflow.js]

Просмотреть файл

@ -11,15 +11,6 @@ class BrowserTestUtilsParent extends JSWindowActorParent {
switch (aMessage.name) {
case "DOMContentLoaded":
case "load": {
// Don't dispatch events that came from stale actors.
let bc = this.browsingContext;
if (
bc.embedderElement.browsingContext != bc ||
!(this.manager && this.manager.isCurrentGlobal)
) {
return;
}
let event = new CustomEvent(
`BrowserTestUtils:ContentEvent:${aMessage.name}`,
{