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

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

Issue 2571063002: Remove Blink-in-JS (Closed)
Patch Set: Created 4 years 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
OLDNEW
(Empty)
1 Unittests for private scripts.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS privateScriptTest.return123() is 123
7 PASS privateScriptTest.echoInteger(111) is 111
8 PASS privateScriptTest.echoString("foo") is "foo"
9 PASS privateScriptTest.addInteger(111, 222) is 333
10 PASS privateScriptTest.addString("foo", "bar") is "foobar"
11 PASS privateScriptTest.getIntegerFromPrototype() is 0
12 PASS privateScriptTest.getIntegerFromPrototype() is 123
13 PASS privateScriptTest.getIntegerFromDocument(document) is 0
14 PASS privateScriptTest.getIntegerFromDocument(document) is 123
15 PASS privateScriptTest.firstChild(node1) is node2
16 PASS privateScriptTest.nextSibling(node2) is node3
17 PASS privateScriptTest.nextSibling(node3) is node4
18 PASS privateScriptTest.nextSibling(node4) is null
19 PASS privateScriptTest.innerHTML(node5) is ""
20 PASS privateScriptTest.innerHTML(node5) is "<div>foo</div>"
21 PASS privateScriptTest.innerHTML(node6) is "foo"
22 PASS privateScriptTest.innerHTML(node7) is ""
23 PASS privateScriptTest.innerHTML(node7) is "clicked"
24 PASS privateScriptTest.readonlyShortAttribute is 123
25 PASS privateScriptTest.shortAttribute is -1
26 PASS privateScriptTest.shortAttribute is 111
27 PASS privateScriptTest.stringAttribute is "xxx"
28 PASS privateScriptTest.stringAttribute is "foo"
29 PASS privateScriptTest.nodeAttribute is null
30 PASS privateScriptTest.nodeAttribute is node8
31 PASS privateScriptTest.nodeAttributeThrowsIndexSizeError threw exception IndexSi zeError: Failed to read the 'nodeAttributeThrowsIndexSizeError' property from 'P rivateScriptTest': getter threw error.
32 PASS privateScriptTest.nodeAttributeThrowsIndexSizeError = null threw exception IndexSizeError: Failed to set the 'nodeAttributeThrowsIndexSizeError' property o n 'PrivateScriptTest': setter threw error.
33 PASS privateScriptTest.voidMethodThrowsDOMSyntaxError() threw exception SyntaxEr ror: Failed to execute 'voidMethodThrowsDOMSyntaxError' on 'PrivateScriptTest': method threw error.
34 PASS privateScriptTest.voidMethodThrowsError() threw exception Error: Failed to execute 'voidMethodThrowsError' on 'PrivateScriptTest': method threw Error.
35 PASS privateScriptTest.voidMethodThrowsTypeError() threw exception TypeError: Fa iled to execute 'voidMethodThrowsTypeError' on 'PrivateScriptTest': method threw TypeError.
36 PASS privateScriptTest.voidMethodThrowsRangeError() threw exception RangeError: Failed to execute 'voidMethodThrowsRangeError' on 'PrivateScriptTest': method th rew RangeError.
37 PASS privateScriptTest.voidMethodThrowsSyntaxError() threw exception SyntaxError : Failed to execute 'voidMethodThrowsSyntaxError' on 'PrivateScriptTest': method threw SyntaxError.
38 PASS privateScriptTest.voidMethodThrowsReferenceError() threw exception Referenc eError: Failed to execute 'voidMethodThrowsReferenceError' on 'PrivateScriptTest ': method threw ReferenceError.
39 PASS privateScriptTest.voidMethodThrowsStackOverflowError() threw exception Rang eError: Failed to execute 'voidMethodThrowsStackOverflowError' on 'PrivateScript Test': Maximum call stack size exceeded.
40 PASS privateScriptTest.addIntegerImplementedInCPP(111, 222) is 333
41 PASS privateScriptTest.stringAttributeImplementedInCPP is "undefined"
42 PASS privateScriptTest.stringAttributeImplementedInCPP is "foo"
43 PASS privateScriptTest.addIntegerImplementedInCPPForPrivateScriptOnly is undefin ed.
44 PASS privateScriptTest.stringAttributeImplementedInCPPForPrivateScriptOnly is un defined.
45 PASS privateScriptTest.addIntegerInPartial(111, 222) is 333
46 PASS privateScriptTest.addInteger2InPartial(111, 222) is 333
47 PASS privateScriptTest.stringAttributeInPartial is "foo"
48 PASS event.bubbles is true
49 PASS event.cancelable is true
50 PASS event.valueInPrivateScript is undefined.
51 PASS exception is an instance of function DOMException() { [native code] }
52 PASS exception.code is 1
53 PASS exception is an instance of function DOMException() { [native code] }
54 PASS exception.code is 1
55 PASS exception is an instance of function DOMException() { [native code] }
56 PASS exception.code is 12
57 PASS exception is an instance of function Error() { [native code] }
58 PASS exception is an instance of function TypeError() { [native code] }
59 PASS exception is an instance of function RangeError() { [native code] }
60 PASS exception is an instance of function SyntaxError() { [native code] }
61 PASS exception is an instance of function ReferenceError() { [native code] }
62 PASS successfullyParsed is true
63
64 TEST COMPLETE
65
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698