Index: LayoutTests/crypto/resources/common.js |
diff --git a/LayoutTests/crypto/resources/common.js b/LayoutTests/crypto/resources/common.js |
index c20276c686d1fe35f71577b028b68493b23ffe99..b0db14133240cc9caa97aa8f445ad2ec83cb02df 100644 |
--- a/LayoutTests/crypto/resources/common.js |
+++ b/LayoutTests/crypto/resources/common.js |
@@ -1,11 +1,6 @@ |
-function shouldBeTypeError(toEval) |
+function logError(error) |
{ |
- var value = eval(toEval); |
- if (value instanceof TypeError) { |
- testPassed(toEval + " is: " + value.toString()); |
- } else { |
- testFailed(toEval + " is not a TypeError: " + value); |
- } |
+ debug("error is: " + error.toString()); |
} |
// Verifies that the given "bytes" holds the same value as "expectedHexString". |