зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1619221 - Remove backward compat code for the multi-e10s-updated event r=ladybenko
This backward compat code can be safely removed since FF69 is out of the backward compatibility window. Differential Revision: https://phabricator.services.mozilla.com/D81341
This commit is contained in:
Родитель
058049a793
Коммит
7ed45304a8
|
@ -18,14 +18,6 @@ class DeviceFront extends FrontClassWithSpec(deviceSpec) {
|
|||
|
||||
// Attribute name from which to retrieve the actorID out of the target actor's form
|
||||
this.formAttributeName = "deviceActor";
|
||||
|
||||
// Backward compatibility when connected to Firefox 69 or older.
|
||||
// Re-emit the "multi-e10s-updated" event as "can-debug-sw-updated".
|
||||
// Front events are all cleared via EventEmitter::clearEvents in the Front
|
||||
// base class destroy.
|
||||
this.on("multi-e10s-updated", (e, isMultiE10s) => {
|
||||
this.emit("can-debug-sw-updated", !isMultiE10s);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Загрузка…
Ссылка в новой задаче