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

Side by Side Diff: LayoutTests/fast/dom/incompatible-operations-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 | « LayoutTests/fast/dom/incompatible-operations.html ('k') | Source/core/dom/Node.cpp » ('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 the behavior of DOM operations when called on non-DOM or incomp atible receivers with non-DOM or incompatible arguments. 1 This test checks the behavior of DOM operations when called on non-DOM or incomp atible receivers with non-DOM or incompatible arguments.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS aNode.appendChild(aDOMImplementation) threw exception TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'.. 6 PASS aNode.appendChild(aDOMImplementation) threw exception TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'..
7 PASS aNode.appendChild('knort') threw exception TypeError: Failed to execute 'ap pendChild' on 'Node': parameter 1 is not of type 'Node'.. 7 PASS aNode.appendChild('knort') threw exception TypeError: Failed to execute 'ap pendChild' on 'Node': parameter 1 is not of type 'Node'..
8 PASS aNode.appendChild(void 0) threw exception TypeError: Failed to execute 'app endChild' on 'Node': parameter 1 is not of type 'Node'.. 8 PASS aNode.appendChild(void 0) threw exception TypeError: Failed to execute 'app endChild' on 'Node': parameter 1 is not of type 'Node'..
9 PASS aNode.isSameNode(aDOMImplementation) is false 9 PASS aNode.isSameNode(aDOMImplementation) threw exception TypeError: Failed to e xecute 'isSameNode' on 'Node': parameter 1 is not of type 'Node'..
10 PASS aNode.isSameNode('foo') is false 10 PASS aNode.isSameNode('foo') threw exception TypeError: Failed to execute 'isSam eNode' on 'Node': parameter 1 is not of type 'Node'..
11 PASS aNode.isSameNode(void 0) is false 11 PASS aNode.isSameNode(void 0) is false
12 PASS aNode.lookupPrefix(aDOMImplementation) is null 12 PASS aNode.lookupPrefix(aDOMImplementation) is null
13 PASS aNode.lookupPrefix(void 0) is null 13 PASS aNode.lookupPrefix(void 0) is null
14 PASS aNode.cloneNode(aDOMImplementation) instanceof HTMLDivElement is true 14 PASS aNode.cloneNode(aDOMImplementation) instanceof HTMLDivElement is true
15 PASS aSelect.add(aDOMImplementation, aDOMImplementation) threw exception TypeErr or: Failed to execute 'add' on 'HTMLSelectElement': The provided value is not of type '(HTMLOptionElement or HTMLOptGroupElement)'. 15 PASS aSelect.add(aDOMImplementation, aDOMImplementation) threw exception TypeErr or: Failed to execute 'add' on 'HTMLSelectElement': The provided value is not of type '(HTMLOptionElement or HTMLOptGroupElement)'.
16 PASS aSelect.add(aDOMImplementation, anOption) threw exception TypeError: Failed to execute 'add' on 'HTMLSelectElement': The provided value is not of type '(HT MLOptionElement or HTMLOptGroupElement)'. 16 PASS aSelect.add(aDOMImplementation, anOption) threw exception TypeError: Failed to execute 'add' on 'HTMLSelectElement': The provided value is not of type '(HT MLOptionElement or HTMLOptGroupElement)'.
17 PASS aSelect.add(void 0, void 0) threw exception TypeError: Failed to execute 'a dd' on 'HTMLSelectElement': The provided value is not of type '(HTMLOptionElemen t or HTMLOptGroupElement)'. 17 PASS aSelect.add(void 0, void 0) threw exception TypeError: Failed to execute 'a dd' on 'HTMLSelectElement': The provided value is not of type '(HTMLOptionElemen t or HTMLOptGroupElement)'.
18 PASS aSelect.add(void 0, anOption) threw exception TypeError: Failed to execute 'add' on 'HTMLSelectElement': The provided value is not of type '(HTMLOptionElem ent or HTMLOptGroupElement)'. 18 PASS aSelect.add(void 0, anOption) threw exception TypeError: Failed to execute 'add' on 'HTMLSelectElement': The provided value is not of type '(HTMLOptionElem ent or HTMLOptGroupElement)'.
19 PASS aSelect.add(anOption, aDOMImplementation) is undefined. 19 PASS aSelect.add(anOption, aDOMImplementation) is undefined.
20 PASS aSelect.add(anOption, void 0) is undefined. 20 PASS aSelect.add(anOption, void 0) is undefined.
21 PASS successfullyParsed is true 21 PASS successfullyParsed is true
22 22
23 TEST COMPLETE 23 TEST COMPLETE
24 24
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/incompatible-operations.html ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698