(algorithm, extractable, usages)
| 60 | |
| 61 | |
| 62 | function parameterString(algorithm, extractable, usages) { |
| 63 | if (typeof algorithm !== "object" && typeof algorithm !== "string") { |
| 64 | alert(algorithm); |
| 65 | } |
| 66 | |
| 67 | var result = "(" + |
| 68 | objectToString(algorithm) + ", " + |
| 69 | objectToString(extractable) + ", " + |
| 70 | objectToString(usages) + |
| 71 | ")"; |
| 72 | |
| 73 | return result; |
| 74 | } |
| 75 | |
| 76 | // Test that a given combination of parameters results in an error, |
| 77 | // AND that it is the correct kind of error. |
no test coverage detected