Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(714)

Unified Diff: LayoutTests/fast/dom/TreeWalker/acceptNode-filter-expected.txt

Issue 932633002: Call NodeFilter.acceptNode() with correct this value (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/dom/TreeWalker/script-tests/acceptNode-filter.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/TreeWalker/acceptNode-filter-expected.txt
diff --git a/LayoutTests/fast/dom/TreeWalker/acceptNode-filter-expected.txt b/LayoutTests/fast/dom/TreeWalker/acceptNode-filter-expected.txt
index 2e88f763a9b3961085cd5786a4e782908e9e850c..1269a46c35bdcf04d24f26c40e3cbfe61c4f4a3d 100644
--- a/LayoutTests/fast/dom/TreeWalker/acceptNode-filter-expected.txt
+++ b/LayoutTests/fast/dom/TreeWalker/acceptNode-filter-expected.txt
@@ -4,17 +4,24 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
Testing with raw function filter
- filtering node A1
+ filtering node A1 [this=[object Window]]
PASS walker.firstChild(); walker.currentNode.id is 'A1'
- filtering node B1
- filtering node B2
+ filtering node B1 [this=[object Window]]
+ filtering node B2 [this=[object Window]]
+PASS walker.nextNode(); walker.currentNode.id is 'B2'
+
+Testing with strict raw function filter
+ filtering node A1 [this=undefined]
+PASS walker.firstChild(); walker.currentNode.id is 'A1'
+ filtering node B1 [this=undefined]
+ filtering node B2 [this=undefined]
PASS walker.nextNode(); walker.currentNode.id is 'B2'
Testing with object filter
- filtering node A1
+ filtering node A1 [this=custom node filter]
PASS walker.firstChild(); walker.currentNode.id is 'A1'
- filtering node B1
- filtering node B2
+ filtering node B1 [this=custom node filter]
+ filtering node B2 [this=custom node filter]
PASS walker.nextNode(); walker.currentNode.id is 'B2'
Testing with null filter
« no previous file with comments | « no previous file | LayoutTests/fast/dom/TreeWalker/script-tests/acceptNode-filter.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698