Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / inspector / sources / debugger / dom-breakpoints-expected.txt
1 Tests DOM breakpoints. Bug 42886
2
3 Debugger was enabled.
4
5 Running: testInsertChild
6 Test that 'Subtree Modified' breakpoint is hit when appending a child.
7 Set 'Subtree Modified' DOM breakpoint on rootElement.
8 Append childElement to rootElement.
9 Script execution paused.
10 Call stack:
11     0) appendElement (dom-breakpoints.html:12)
12     1)  (:1)
13 Paused on a "Subtree Modified" breakpoint set on div#rootElement, because a new child was added to that node.
14 Script execution resumed.
15
16 Running: testInsertGrandchild
17 Test that 'Subtree Modified' breakpoint is hit when appending a grandchild.
18 Append grandchildElement to childElement.
19 Script execution paused.
20 Call stack:
21     0) appendElement (dom-breakpoints.html:12)
22     1)  (:1)
23 Paused on a "Subtree Modified" breakpoint set on div#rootElement, because a new child was added to its descendant div#childElement.
24 Script execution resumed.
25
26 Running: testRemoveChild
27 Test that 'Subtree Modified' breakpoint is hit when removing a child.
28 Remove grandchildElement.
29 Script execution paused.
30 Call stack:
31     0) removeElement (dom-breakpoints.html:44)
32     1)  (:1)
33 Paused on a "Subtree Modified" breakpoint set on div#rootElement, because its descendant div#grandchildElement was removed.
34 Script execution resumed.
35
36 Running: testInnerHTML
37 Test that 'Subtree Modified' breakpoint is hit exactly once when setting innerHTML.
38 Set childElement.innerHTML.
39 Script execution paused.
40 Call stack:
41     0) setInnerHTML (dom-breakpoints.html:50)
42     1)  (:1)
43 Paused on a "Subtree Modified" breakpoint set on div#rootElement, because a new child was added to its descendant div#childElement.
44 Script execution resumed.
45 Call breakDebugger, expect it to show up in next stack trace.
46 Script execution paused.
47 Call stack:
48     0) breakDebugger (dom-breakpoints.html:55)
49     1)  (:1)
50 Script execution resumed.
51
52 Running: testModifyAttribute
53 Test that 'Attribute Modified' breakpoint is hit when modifying attribute.
54 Set 'Attribute Modified' DOM breakpoint on rootElement.
55 Modify rootElement data-test attribute.
56 Script execution paused.
57 Call stack:
58     0) modifyAttribute (dom-breakpoints.html:18)
59     1)  (:1)
60 Paused on a "Attribute Modified" breakpoint set on div#rootElement.
61 Script execution resumed.
62
63 Running: testModifyAttrNode
64 Test that 'Attribute Modified' breakpoint is hit when modifying Attr node.
65 Set 'Attribute Modified' DOM breakpoint on rootElement.
66 Modify rootElement data-test attribute.
67 Script execution paused.
68 Call stack:
69     0) modifyAttrNode (dom-breakpoints.html:24)
70     1)  (:1)
71 Paused on a "Attribute Modified" breakpoint set on div#rootElement.
72 Script execution resumed.
73
74 Running: testSetAttrNode
75 Test that 'Attribute Modified' breakpoint is hit when adding a new Attr node.
76 Set 'Attribute Modified' DOM breakpoint on rootElement.
77 Modify rootElement data-foo attribute.
78 Script execution paused.
79 Call stack:
80     0) setAttrNode (dom-breakpoints.html:32)
81     1)  (:1)
82 Paused on a "Attribute Modified" breakpoint set on div#rootElement.
83 Script execution resumed.
84
85 Running: testModifyStyleAttribute
86 Test that 'Attribute Modified' breakpoint is hit when modifying style attribute.
87 Set 'Attribute Modified' DOM breakpoint on rootElement.
88 Modify rootElement style.color attribute.
89 Script execution paused.
90 Call stack:
91     0) modifyStyleAttribute (dom-breakpoints.html:38)
92     1)  (:1)
93 Paused on a "Attribute Modified" breakpoint set on div#rootElement.
94 Script execution resumed.
95
96 Running: testRemoveNode
97 Test that 'Node Removed' breakpoint is hit when removing a node.
98 Set 'Node Removed' DOM breakpoint on elementToRemove.
99 Remove elementToRemove.
100 Script execution paused.
101 Call stack:
102     0) removeElement (dom-breakpoints.html:44)
103     1)  (:1)
104 Paused on a "Node Removed" breakpoint set on div#elementToRemove.
105 Script execution resumed.
106
107 Running: testReload
108 Test that DOM breakpoints are persisted between page reloads.
109 Set 'Subtree Modified' DOM breakpoint on rootElement.
110 Page reloaded.
111 Append childElement to rootElement.
112 Script execution paused.
113 Call stack:
114     0) appendElement (dom-breakpoints.html:12)
115     1)  (:1)
116 Paused on a "Subtree Modified" breakpoint set on div#rootElement, because a new child was added to that node.
117 Script execution resumed.
118 Debugger was disabled.
119