Index: Tools/GardeningServer/ui/ct-embedded-flakiness-dashboard.html |
diff --git a/Tools/GardeningServer/ui/ct-embedded-flakiness-dashboard.html b/Tools/GardeningServer/ui/ct-embedded-flakiness-dashboard.html |
deleted file mode 100644 |
index 9a472b720d7a34c9c2515f33ad5852fcab2c231e..0000000000000000000000000000000000000000 |
--- a/Tools/GardeningServer/ui/ct-embedded-flakiness-dashboard.html |
+++ /dev/null |
@@ -1,40 +0,0 @@ |
-<!-- |
-Copyright 2014 The Chromium Authors. All rights reserved. |
-Use of this source code is governed by a BSD-style license that can be |
-found in the LICENSE file. |
---> |
- |
-<polymer-element name="ct-embedded-flakiness-dashboard" attributes="test"> |
- <template> |
- <style> |
- :host { |
- display: block; |
- } |
- #iframe { |
- border: none; |
- width: 100%; |
- } |
- </style> |
- <iframe id="iframe"></iframe> |
- </template> |
- <script> |
- Polymer({ |
- test: "", |
- |
- ready: function() { |
- window.addEventListener('message', function(event) { |
- if (event.data.command != 'heightChanged') |
- return; |
- |
- this.$.iframe.style.height = event.data.height + 'px'; |
- }.bind(this)); |
- }, |
- |
- testChanged: function() { |
- // Use location.replace so we don't create extraneous history events. |
- this.$.iframe.contentWindow.location.replace(this.test.embeddedFlakinessDashboardURL()); |
- }, |
- |
- }); |
- </script> |
-</polymer-element> |