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

Unified Diff: Tools/GardeningServer/test/karma_loader.html

Issue 459223002: Sheriff-O-Matic: Fix karma for testing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Tools/GardeningServer/karma.conf.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/GardeningServer/test/karma_loader.html
diff --git a/Tools/GardeningServer/polymer-load-warning.html b/Tools/GardeningServer/test/karma_loader.html
similarity index 50%
copy from Tools/GardeningServer/polymer-load-warning.html
copy to Tools/GardeningServer/test/karma_loader.html
index 7e3625e685e947a40e203a3b50ea958e3a80816c..8b377eff3a312a394de163ff47c9883c4a919d5f 100644
--- a/Tools/GardeningServer/polymer-load-warning.html
+++ b/Tools/GardeningServer/test/karma_loader.html
@@ -4,7 +4,10 @@ Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
+<link rel="import" href="../bower_components/polymer/polymer.html">
+
<script>
-if (!window.Polymer)
- alert('Polymer did not load correctly. Did you run "bower update" from Tools/GardeningServer?');
+window.__karma__.loaded = function() {
+ window.addEventListener('polymer-ready', window.__karma__.start);
+};
</script>
« no previous file with comments | « Tools/GardeningServer/karma.conf.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698