Bug 1680000 - [devtools] Remove backward compatibility code in GridFront. r=jdescottes.

We can remove the code that was handling connecting to server older
than Firefox 60.

Differential Revision: https://phabricator.services.mozilla.com/D98313
This commit is contained in:
Nicolas Chevobbe 2020-12-02 08:09:38 +00:00
Родитель df33d22907
Коммит 7e3eb1eda3
1 изменённых файлов: 0 добавлений и 12 удалений

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

@ -121,12 +121,6 @@ class GridFront extends FrontClassWithSpec(gridSpec) {
* Get the text direction of the grid container.
*/
get direction() {
// @backward-compat { version 60 } Older server didn't return the `direction` property
// in the form.
if (!this._form.direction) {
return "ltr";
}
return this._form.direction;
}
@ -148,12 +142,6 @@ class GridFront extends FrontClassWithSpec(gridSpec) {
* Get the writing mode of the grid container.
*/
get writingMode() {
// @backward-compat { version 60 } Older server didn't return the `horizontal-tb`
// property in the form.
if (!this._form.writingMode) {
return "horizontal-tb";
}
return this._form.writingMode;
}
}