| Index: LayoutTests/fast/js/script-tests/exception-properties.js
|
| diff --git a/LayoutTests/fast/js/script-tests/exception-properties.js b/LayoutTests/fast/js/script-tests/exception-properties.js
|
| deleted file mode 100644
|
| index 43e115379747580784a6b9c2928bc5b65e21a042..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/fast/js/script-tests/exception-properties.js
|
| +++ /dev/null
|
| @@ -1,23 +0,0 @@
|
| -description("Test for correct properties on Error objects.");
|
| -
|
| -function enumerableProperties(object)
|
| -{
|
| - var result = [];
|
| - for (var i in object)
|
| - result.push(i);
|
| - return result;
|
| -}
|
| -
|
| -try {
|
| - // generate a RangeError.
|
| - [].length = -1;
|
| -} catch (rangeError) {
|
| - var nativeError = rangeError;
|
| - var error = new Error("message");
|
| -
|
| - shouldBe('enumerableProperties(error)', '[]');
|
| - shouldBe('enumerableProperties(nativeError)', '["stack", "line", "sourceURL"]');
|
| -
|
| - shouldBe('Object.getPrototypeOf(nativeError).name', '"RangeError"');
|
| - shouldBe('Object.getPrototypeOf(nativeError).message', '""');
|
| -}
|
|
|