Index: LayoutTests/crypto/resources/common.js |
diff --git a/LayoutTests/crypto/resources/common.js b/LayoutTests/crypto/resources/common.js |
index ac1bf7dc767250dbe50fe22453bc4b7fd956201e..8169e9be66654a7a8200edeb3168499318d6b15b 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". |