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

Side by Side Diff: LayoutTests/fast/dom/Node/contains-method-expected.txt

Issue 978223002: Add [TypeChecking=Interface] to Node interface (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update test wrt isSameNode() change Created 5 years, 9 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 unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Node/script-tests/contains-method.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 This test checks behavior of Node.contains. 1 This test checks behavior of Node.contains.
2 2
3 [test1 [test 2]] 3 [test1 [test 2]]
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
5 5
6 6
7 PASS typeof document.contains is "function" 7 PASS typeof document.contains is "function"
8 PASS test1.contains(test2) is true 8 PASS test1.contains(test2) is true
9 PASS test1.contains(test1TextChild) is true 9 PASS test1.contains(test1TextChild) is true
10 PASS document.contains(test1) is true 10 PASS document.contains(test1) is true
11 PASS document.contains(test1TextChild) is true 11 PASS document.contains(test1TextChild) is true
12 PASS document.contains(document) is true 12 PASS document.contains(document) is true
13 PASS test1.contains(test1) is true 13 PASS test1.contains(test1) is true
14 PASS test1TextChild.contains(test1TextChild) is true 14 PASS test1TextChild.contains(test1TextChild) is true
15 PASS test1.contains(123) is false 15 PASS test1.contains(123) threw exception TypeError: Failed to execute 'contains' on 'Node': parameter 1 is not of type 'Node'..
16 PASS test1.contains(null) is false 16 PASS test1.contains(null) is false
17 PASS document.contains(iframe) is false 17 PASS document.contains(iframe) is false
18 PASS iframe.contains(iframe) is true 18 PASS iframe.contains(iframe) is true
19 iframe is now in document 19 iframe is now in document
20 PASS document.contains(iframe) is true 20 PASS document.contains(iframe) is true
21 PASS document.contains(iframeDoc) is false 21 PASS document.contains(iframeDoc) is false
22 PASS iframeDoc.contains(iframeBody) is true 22 PASS iframeDoc.contains(iframeBody) is true
23 PASS document.contains(iframeBody) is false 23 PASS document.contains(iframeBody) is false
24 PASS successfullyParsed is true 24 PASS successfullyParsed is true
25 25
26 TEST COMPLETE 26 TEST COMPLETE
27 27
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Node/script-tests/contains-method.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698