| Index: third_party/WebKit/LayoutTests/http/tests/inspector/network/network-columns-sorted.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/network/network-columns-sorted.html b/third_party/WebKit/LayoutTests/http/tests/inspector/network/network-columns-sorted.html
|
| index d36ddb69f9786c46d502f45283e7db6f672955b8..b1bbcc0e062d8b399e872e087b319087a28bb4d3 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/inspector/network/network-columns-sorted.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector/network/network-columns-sorted.html
|
| @@ -8,13 +8,15 @@ function test()
|
| InspectorTest.recordNetwork();
|
|
|
| var totalResourceCount = 4;
|
| - InspectorTest.makeFetch("resources/style.css", {}, ensureAllResources);
|
| - InspectorTest.makeFetch("resources/abe.png", {}, () => {
|
| - // Ensures result is cached.
|
| - InspectorTest.makeFetch("resources/abe.png", {}, ensureAllResources);
|
| - ensureAllResources();
|
| - });
|
| - InspectorTest.makeFetch("missing/foo.bar", {}, ensureAllResources);
|
| + function fetchRequests() {
|
| + InspectorTest.makeFetch("resources/style.css", {}, ensureAllResources);
|
| + InspectorTest.makeFetch("resources/abe.png", {}, () => {
|
| + // Ensures result is cached.
|
| + InspectorTest.makeFetch("resources/abe.png", {}, ensureAllResources);
|
| + ensureAllResources();
|
| + });
|
| + InspectorTest.makeFetch("missing/foo.bar", {}, ensureAllResources);
|
| + }
|
|
|
| var resourceCount = 0;
|
| function ensureAllResources()
|
| @@ -36,12 +38,8 @@ function test()
|
|
|
| dataGrid.markColumnAsSortedBy('name', UI.DataGrid.Order.Ascending);
|
| columnsView.sortByCurrentColumn();
|
| - dataGrid.markColumnAsSortedBy('status', UI.DataGrid.Order.Ascending);
|
| - columnsView.sortByCurrentColumn();
|
| dataGrid.markColumnAsSortedBy('name', UI.DataGrid.Order.Descending);
|
| columnsView.sortByCurrentColumn();
|
| - dataGrid.markColumnAsSortedBy('type', UI.DataGrid.Order.Ascending);
|
| - columnsView.sortByCurrentColumn();
|
| }
|
|
|
| function dataGridSorted(logView)
|
| @@ -52,6 +50,7 @@ function test()
|
| InspectorTest.addResult(" " + node.request().name());
|
| InspectorTest.addResult("");
|
| }
|
| + fetchRequests();
|
| }
|
| </script>
|
| </head>
|
|
|