Index: LayoutTests/fast/css/getComputedStyle/computed-style-non-element-parameter-expected.txt |
diff --git a/LayoutTests/fast/css/getComputedStyle/computed-style-non-element-parameter-expected.txt b/LayoutTests/fast/css/getComputedStyle/computed-style-non-element-parameter-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8e418825f4df7824c392af77613bcbac5a38e4dd |
--- /dev/null |
+++ b/LayoutTests/fast/css/getComputedStyle/computed-style-non-element-parameter-expected.txt |
@@ -0,0 +1,7 @@ |
+PASS getComputedStyle(null) threw exception TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'.. |
+PASS getComputedStyle(undefined) threw exception TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'.. |
+PASS getComputedStyle(document.createTextNode("foo")) threw exception TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'.. |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |