| Index: LayoutTests/fast/css/getComputedStyle/getComputedStyle-exceptions.html
|
| diff --git a/LayoutTests/fast/css/getComputedStyle/computed-style-non-element-parameter.html b/LayoutTests/fast/css/getComputedStyle/getComputedStyle-exceptions.html
|
| similarity index 52%
|
| copy from LayoutTests/fast/css/getComputedStyle/computed-style-non-element-parameter.html
|
| copy to LayoutTests/fast/css/getComputedStyle/getComputedStyle-exceptions.html
|
| index 587df1a33f39a9a6d2b6dacfa865cb4526e0ec70..8cb5f24ee987982291bd00ed509426a8b27489a8 100644
|
| --- a/LayoutTests/fast/css/getComputedStyle/computed-style-non-element-parameter.html
|
| +++ b/LayoutTests/fast/css/getComputedStyle/getComputedStyle-exceptions.html
|
| @@ -1,6 +1,14 @@
|
| +<!doctype html>
|
| +<html>
|
| +<head>
|
| <script src="../../../resources/js-test.js"></script>
|
| +</head>
|
| +<body>
|
| <script>
|
| +shouldThrow("getComputedStyle()");
|
| +shouldThrow("getComputedStyle(document)");
|
| shouldThrow("getComputedStyle(null)");
|
| shouldThrow("getComputedStyle(undefined)");
|
| -shouldThrow("getComputedStyle(document.createTextNode(\"foo\"))");
|
| </script>
|
| +</body>
|
| +</html>
|
|
|