Index: LayoutTests/fast/dom/shadow/css-hostrule-api-expected.txt |
diff --git a/LayoutTests/fast/dom/shadow/css-hostrule-api-expected.txt b/LayoutTests/fast/dom/shadow/css-hostrule-api-expected.txt |
index 62195677edfe987b4a7863c2002c4f153295d8a4..bb8129a45ddd1a55ab7152574b95dd7d1cc64537 100644 |
--- a/LayoutTests/fast/dom/shadow/css-hostrule-api-expected.txt |
+++ b/LayoutTests/fast/dom/shadow/css-hostrule-api-expected.txt |
@@ -23,6 +23,14 @@ PASS getComputedStyle(host).borderColor is "rgb(0, 0, 255)" |
PASS hostRule.cssRules.length is 1 |
PASS hostRule.cssText is "@host { \n div { border-color: blue; }\n}" |
PASS hostRule.cssRules[0].cssText is "div { border-color: blue; }" |
+Error cases |
+PASS hostRule.cssRules.length is 1 |
+PASS hostRule.insertRule('#host { border-color: green; }') threw exception TypeError: Not enough arguments. |
+PASS hostRule.cssRules.length is 1 |
+PASS hostRule.insertRule() threw exception TypeError: Not enough arguments. |
+PASS hostRule.cssRules.length is 1 |
+PASS hostRule.deleteRule() threw exception TypeError: Not enough arguments. |
+PASS hostRule.cssRules.length is 1 |
PASS successfullyParsed is true |
TEST COMPLETE |