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:
Julian Descottes 2020-07-07 15:15:55 +00:00
Родитель 058049a793
Коммит 7ed45304a8
1 изменённых файлов: 0 добавлений и 8 удалений

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

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