1 <pre id=
"console"></pre>
4 testRunner
.dumpAsText();
8 document
.getElementById('console').appendChild(document
.createTextNode(msg
+ "\n"));
11 function shouldThrow(_a
)
15 log("FAIL: " + _a
+ " did not throw");
17 log("PASS: " + _a
+ " throws: " + ex
);
21 shouldThrow("document.querySelector(:unknownpseudo)");
22 shouldThrow("document.querySelector(:-webkit-any(:unknownpseudo))");