Index: pkg/dev_compiler/test/browser/language_tests.js |
diff --git a/pkg/dev_compiler/test/browser/language_tests.js b/pkg/dev_compiler/test/browser/language_tests.js |
index 010334fa617e1eecb2721b169db852d8b92cc1fb..e271215cea01402907320de77e8a75f02c7e0b8c 100644 |
--- a/pkg/dev_compiler/test/browser/language_tests.js |
+++ b/pkg/dev_compiler/test/browser/language_tests.js |
@@ -860,7 +860,7 @@ define(['dart_sdk', 'async_helper', 'expect', 'unittest', 'is', 'require'], |
test('run all dart unittests', function(done) { // 'function' to allow `this.timeout` |
// Use the whitelist for all unittests - there may be an error in the framework |
// itself. |
- dart_sdk.dart.ignoreWhitelistedErrors(whitelist); |
+ dart_sdk.dart.ignoreWhitelistedErrors(true); |
if (unittest_tests.length == 0) return done(); |
// TODO(vsm): We're using an old deprecated version of unittest. |
@@ -889,6 +889,7 @@ define(['dart_sdk', 'async_helper', 'expect', 'unittest', 'is', 'require'], |
// Restore the Mocha onerror handler in case future tests need to run. |
window.onerror = mochaOnError; |
this.enableTimeouts(true); |
+ dart_sdk.dart.ignoreWhitelistedErrors(false); |
let numErrors = countMatches(output, /\d\s+ERROR/g); |
let numFails = countMatches(output, /\d\s+FAIL/g); |