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

Unified Diff: tests/html/worker_test.dart

Issue 13687005: Fixing html/worker_test on IE9 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/worker_test.dart
diff --git a/tests/html/worker_test.dart b/tests/html/worker_test.dart
index 296391c1ac0412b60ab527a71ec3bbbb64789026..81b8558d96aa035981f8808555b03dcbcb3ec47d 100644
--- a/tests/html/worker_test.dart
+++ b/tests/html/worker_test.dart
@@ -28,6 +28,10 @@ main() {
}, expectation);
});
+ if (!Worker.supported) {
+ return;
+ }
+
test('works', () {
// Use Blob to make a local URL so we don't have to have a separate file.
var blob = new Blob([workerScript], 'text/javascript');
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698