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

Side by Side Diff: LayoutTests/fast/dom/private_script_unittest-expected.txt

Issue 376553004: Split out tests of private scripts from Internals to PrivateScriptTest (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « LayoutTests/fast/dom/private_script_unittest.html ('k') | Source/core/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Unittests for private scripts. 1 Unittests for private scripts.
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 This test needs window.internals. 6 PASS privateScriptTest.return123() is 123
7 PASS internals.return123() is 123 7 PASS privateScriptTest.echoInteger(111) is 111
8 PASS internals.echoInteger(111) is 111 8 PASS privateScriptTest.echoString("foo") is "foo"
9 PASS internals.echoString("foo") is "foo" 9 PASS privateScriptTest.addInteger(111, 222) is 333
10 PASS internals.addInteger(111, 222) is 333 10 PASS privateScriptTest.addString("foo", "bar") is "foobar"
11 PASS internals.addString("foo", "bar") is "foobar" 11 PASS privateScriptTest.getIntegerFromPrototype() is 0
12 PASS internals.getIntegerFromPrototype() is 0 12 PASS privateScriptTest.getIntegerFromPrototype() is 123
13 PASS internals.getIntegerFromPrototype() is 123 13 PASS privateScriptTest.getIntegerFromDocument(document) is 0
14 PASS internals.getIntegerFromDocument(document) is 0 14 PASS privateScriptTest.getIntegerFromDocument(document) is 123
15 PASS internals.getIntegerFromDocument(document) is 123 15 PASS privateScriptTest.firstChild(node1) is node2
16 PASS internals.firstChild(node1) is node2 16 PASS privateScriptTest.nextSibling(node2) is node3
17 PASS internals.nextSibling(node2) is node3 17 PASS privateScriptTest.nextSibling(node3) is node4
18 PASS internals.nextSibling(node3) is node4 18 PASS privateScriptTest.nextSibling(node4) is null
19 PASS internals.nextSibling(node4) is null 19 PASS privateScriptTest.innerHTML(node5) is ""
20 PASS internals.innerHTML(node5) is "" 20 PASS privateScriptTest.innerHTML(node5) is "<div>foo</div>"
21 PASS internals.innerHTML(node5) is "<div>foo</div>" 21 PASS privateScriptTest.innerHTML(node6) is "foo"
22 PASS internals.innerHTML(node6) is "foo" 22 PASS privateScriptTest.innerHTML(node7) is ""
23 PASS internals.innerHTML(node7) is "" 23 PASS privateScriptTest.innerHTML(node7) is "clicked"
24 PASS internals.innerHTML(node7) is "clicked" 24 PASS privateScriptTest.readonlyShortAttribute is 123
25 PASS internals.readonlyShortAttribute is 123 25 PASS privateScriptTest.shortAttribute is -1
26 PASS internals.shortAttribute is -1 26 PASS privateScriptTest.shortAttribute is 111
27 PASS internals.shortAttribute is 111 27 PASS privateScriptTest.stringAttribute is "xxx"
28 PASS internals.stringAttribute is "xxx" 28 PASS privateScriptTest.stringAttribute is "foo"
29 PASS internals.stringAttribute is "foo" 29 PASS privateScriptTest.nodeAttribute is null
30 PASS internals.nodeAttribute is null 30 PASS privateScriptTest.nodeAttribute is node8
31 PASS internals.nodeAttribute is node8
32 PASS successfullyParsed is true 31 PASS successfullyParsed is true
33 32
34 TEST COMPLETE 33 TEST COMPLETE
35 34
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/private_script_unittest.html ('k') | Source/core/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698