Backed out changeset 379d1f58868f (bug 1317215) for devtool failures at browser_layout_getAllGrids.js. a=backout

CLOSED TREE
This commit is contained in:
Iris Hsiao 2017-04-27 11:56:53 +08:00
Родитель 27dd75df0c
Коммит 6b3d3915a5
2 изменённых файлов: 2 добавлений и 2 удалений

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

@ -116,8 +116,7 @@ add_task(function* () {
is(grids.length, 1, "One grid was returned.");
is(gridFragments.length, 1, "One grid fragment was returned.");
ok(Array.isArray(gridFragments), "An array of grid fragments was returned.");
Assert.deepEqual(gridFragments[0], GRID_FRAGMENT_DATA,
"Got the correct grid fragment data.");
Assert.deepEqual(gridFragments[0], GRID_FRAGMENT_DATA, "Got the correct grid fragment data.");
info("Get the grid container node front.");

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

@ -66,6 +66,7 @@ function* initAnimationsFrontForUrl(url) {
}
function* initLayoutFrontForUrl(url) {
const {LayoutFront} = require("devtools/shared/fronts/layout");
const {InspectorFront} = require("devtools/shared/fronts/inspector");
yield addTab(url);