Re-enable index-basics-workers test to see if still times
[chromium-blink-merge.git] / tools / cc-frame-viewer / src / layer_impl_view_test.html
blobb805da9f7b7bbb86d381e45d834e76ac06c3ff54
1 <!DOCTYPE HTML>
2 <html>
3 <!--
4 Copyright (c) 2012 The Chromium Authors. All rights reserved.
5 Use of this source code is governed by a BSD-style license that can be
6 found in the LICENSE file.
7 -->
8 <head>
9 <script src="base.js"></script>
10 <script>
11 base.require('base.unittest');
12 base.require('layer_impl_view');
13 base.require('model');
14 </script>
15 </head>
16 <body>
17 <script src="../unittest_data/one_frame_with_layers.js"></script>
18 <script>
19 'use strict';
21 function testInstantiateLTIV() {
22 var model = new ccfv.Model();
23 model.initFromFrameData(gOneFrameWithLayers);
24 var lthiHistory = base.dictionaryValues(model.lthiHistories)[0];
25 var lthi = lthiHistory.lthiSnapshots[0];
27 var layerImplView = new ccfv.LayerImplView();
28 this.addHTMLOutput('LTIView', layerImplView);
29 layerImplView.layerImpl = lthi.activeTree.allLayers[0];
31 </script>
32 </body>
33 </html>