| Index: third_party/WebKit/LayoutTests/fast/dom/TreeWalker/TreeWalker-currentNode-expected.txt
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/TreeWalker/TreeWalker-currentNode-expected.txt b/third_party/WebKit/LayoutTests/fast/dom/TreeWalker/TreeWalker-currentNode-expected.txt
|
| index d9ea239aff26124949fef514a87e0403afe21684..f42f30f70a4b3c82fc52b786272532f984c067f6 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/dom/TreeWalker/TreeWalker-currentNode-expected.txt
|
| +++ b/third_party/WebKit/LayoutTests/fast/dom/TreeWalker/TreeWalker-currentNode-expected.txt
|
| @@ -9,6 +9,12 @@ PASS w.currentNode is subTree
|
| PASS w.parentNode() is null
|
| PASS w.currentNode is subTree
|
|
|
| +Test that setting the currentNode to non-Node values throws.
|
| +
|
| +PASS w.currentNode = null threw exception TypeError: Failed to set the 'currentNode' property on 'TreeWalker': The provided value is not of type 'Node'..
|
| +PASS w.currentNode = {} threw exception TypeError: Failed to set the 'currentNode' property on 'TreeWalker': The provided value is not of type 'Node'..
|
| +PASS w.currentNode = window threw exception TypeError: Failed to set the 'currentNode' property on 'TreeWalker': The provided value is not of type 'Node'..
|
| +
|
| Test that we handle setting the currentNode to arbitrary nodes not under the root element.
|
|
|
| PASS w.parentNode() is null
|
|
|