| Index: LayoutTests/fast/css/parsing-unexpected-eof.html
|
| diff --git a/LayoutTests/fast/css/parsing-unexpected-eof.html b/LayoutTests/fast/css/parsing-unexpected-eof.html
|
| index 698e3149dc46298ab7b41bc0f16de1a729dd1844..442a2362f7ba2c2258bf863ac651219a47311678 100644
|
| --- a/LayoutTests/fast/css/parsing-unexpected-eof.html
|
| +++ b/LayoutTests/fast/css/parsing-unexpected-eof.html
|
| @@ -31,7 +31,7 @@
|
| test(function(){
|
| // internal_selector
|
| rules[0].selectorText = "#x, [name=\"x";
|
| - assert_equals(rules[0].selectorText, "#x, [name=\"x\"]");
|
| + assert_equals(rules[0].selectorText, "div");
|
| }, "Unexpected EOF - CSSStyleRule.selectorText missing ']'");
|
|
|
| test(function(){
|
| @@ -42,12 +42,12 @@
|
|
|
| test(function(){
|
| // internal_selector
|
| - assert_equals(document.querySelector("#qs [class=x").tagName, "I");
|
| + assert_throws(null, function() { document.querySelector("#qs [class=x").tagName; });
|
| }, "Unexpected EOF - querySelector missing ']'");
|
|
|
| test(function(){
|
| // internal_selector
|
| - assert_equals(document.querySelector("#qs :nth-child(2").tagName, "B");
|
| + assert_throws(null, function() { document.querySelector("#qs :nth-child(2").tagName });
|
| }, "Unexpected EOF - querySelector missing ')'");
|
| </script>
|
| </body>
|
|
|