Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / xpath / evaluator-exceptions.html
blob589ef8a0d78d519feeedfaa49ac71fc43e8298f9
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 </head>
6 <body>
7 <div id="console"></div>
8 <script>
9 var evalulator = new XPathEvaluator;
10 var nsResolver = evalulator.createNSResolver(document);
12 shouldThrow("evalulator.evaluate('/body', 0, nsResolver, 0, null);");
14 var fragment = document.createDocumentFragment();
15 shouldThrow("evalulator.evaluate('/body', fragment, nsResolver, 0, null);");
17 var doctype = document.doctype;
18 shouldThrow("evalulator.evaluate('/body', doctype, nsResolver, 0, null);");
19 </script>
20 </body>
21 </html>