Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Side by Side Diff: Tools/GardeningServer/ui/ct-failure-card-tests.html

Issue 476903003: Add a "Link Bug" button to associate a bug with a failure (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!--
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.
5 -->
6
7 <link rel="import" href="ct-failure-card.html">
8
9 <script>
10 (function () {
11
12 module("ct-failure-card");
13
14 asyncTest("examine", 1, function() {
15 var card = document.createElement('ct-failure-card');
16 card.failures = [];
17
18 Platform.endOfMicrotask(function() {
19 card.addEventListener('ct-examine-failures', function(event) {
20 deepEqual(event.detail, []);
21 start();
22 });
23
24 card.shadowRoot.getElementById('examine').dispatchEvent(new CustomEvent('tap '));
25 });
26 });
27
28 })()
29 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698