From c752c85618a57f8c82dc2e939ba2bf735e6c8372 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Wed, 21 Oct 2015 18:55:39 +0200 Subject: Correct some incorrect error case handling and add tests to demonstrate fix --- test/js/dom-node-parentNode.html | 23 +++++++++++++++++++++++ test/js/index.html | 1 + 2 files changed, 24 insertions(+) create mode 100644 test/js/dom-node-parentNode.html (limited to 'test/js') diff --git a/test/js/dom-node-parentNode.html b/test/js/dom-node-parentNode.html new file mode 100644 index 000000000..927a3701b --- /dev/null +++ b/test/js/dom-node-parentNode.html @@ -0,0 +1,23 @@ + + +DOM Node::nodeType + +

Node::ParentNode

+

These should all resolve to nodes of some kind.

+ +

These should all resolve to null.

+ + + diff --git a/test/js/index.html b/test/js/index.html index 8602a8159..c12f32360 100644 --- a/test/js/index.html +++ b/test/js/index.html @@ -66,6 +66,7 @@

DOM node tests

Document element specific

-- cgit v1.2.3