зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
df33d22907
Коммит
7e3eb1eda3
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче