2 Copyright 2014 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file.
7 <polymer-element name="ct-test-output" attributes="type url">
11 border: 1px solid gray;
25 <template if="{{url}}">
26 <template if="{{type == _kImageType}}">
29 <template if="{{type == _kTextType}}">
30 <iframe src="{{url}}"></iframe>
32 <template if="{{type == _kAudioType}}">
33 <audio controls src="{{url}}"></audio>
42 _kAudioType: results.kAudioType,
43 _kImageType: results.kImageType,
44 _kTextType: results.kTextType,