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

Unified Diff: test/js_test_tools/htmltest.js

Issue 1243503007: fixes #221, initial sync*, async, async* implementation (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 5 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 | « test/js_test_tools/chai/sauce.browsers.js ('k') | test/js_test_tools/mocha-htmltest.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/js_test_tools/htmltest.js
diff --git a/test/js_test_tools/htmltest.js b/test/js_test_tools/htmltest.js
deleted file mode 100644
index 8d52c36bddce534271263abde4ed6e36b2eeb64b..0000000000000000000000000000000000000000
--- a/test/js_test_tools/htmltest.js
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * @license
- * Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
- * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
- * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
- * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
- * Code distributed by Google as part of the polymer project is also
- * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
- */
-
-// if standalone
-if (window.top === window) {
- // if standalone
- var failed = false;
- window.done = function() {
- window.onerror = null;
- if (!failed) {
- var d = document.createElement('pre');
- d.style.cssText = 'padding: 6px; background-color: lightgreen;';
- d.textContent = 'Passed';
- document.body.appendChild(d);
- }
- };
- window.onerror = function(x) {
- failed = true;
- var d = document.createElement('pre');
- d.style.cssText = 'padding: 6px; background-color: #FFE0E0;';
- d.textContent = 'FAILED: ' + x;
- document.body.appendChild(d);
- };
-} else
-// if part of a test suite
-{
- window.done = function() {
- window.onerror = null;
- parent.postMessage('ok', '*');
- };
-
- window.onerror = function(x) {
- parent.postMessage({error: x}, '*');
- };
-}
-
« no previous file with comments | « test/js_test_tools/chai/sauce.browsers.js ('k') | test/js_test_tools/mocha-htmltest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698