OLD | NEW |
1 Tests DOM breakpoints. Bug 42886 | 1 Tests DOM breakpoints. Bug 42886 |
2 | 2 |
3 | 3 |
4 Running: testInsertChild | 4 Running: testInsertChild |
5 Test that 'Subtree Modified' breakpoint is hit when appending a child. | 5 Test that 'Subtree Modified' breakpoint is hit when appending a child. |
6 Set 'Subtree Modified' DOM breakpoint on rootElement. | 6 Set 'Subtree Modified' DOM breakpoint on rootElement. |
7 Append childElement to rootElement. | 7 Append childElement to rootElement. |
8 Script execution paused. | 8 Script execution paused. |
9 Call stack: | 9 Call stack: |
10 0) appendElement (dom-breakpoints.html:12) | 10 0) appendElement (dom-breakpoints.html:12) |
11 1) (:1) | 11 1) (:1) |
| 12 [setTimeout] |
| 13 0) (:1) |
12 Paused on subtree modificationsdiv#rootElementChild div#rootElement added | 14 Paused on subtree modificationsdiv#rootElementChild div#rootElement added |
13 Script execution resumed. | 15 Script execution resumed. |
14 | 16 |
15 Running: testBreakpointToggle | 17 Running: testBreakpointToggle |
16 Test that DOM breakpoint toggles properly using checkbox. | 18 Test that DOM breakpoint toggles properly using checkbox. |
17 Set DOM breakpoint. | 19 Set DOM breakpoint. |
18 Uncheck DOM breakpoint. | 20 Uncheck DOM breakpoint. |
19 DOM breakpoint should not be hit when disabled. | 21 DOM breakpoint should not be hit when disabled. |
20 Check DOM breakpoint. | 22 Check DOM breakpoint. |
21 Test that DOM breakpoint is hit when re-enabled. | 23 Test that DOM breakpoint is hit when re-enabled. |
22 Script execution paused. | 24 Script execution paused. |
23 Call stack: | 25 Call stack: |
24 0) modifyAttribute (dom-breakpoints.html:18) | 26 0) modifyAttribute (dom-breakpoints.html:18) |
25 1) (:1) | 27 1) (:1) |
| 28 [setTimeout] |
| 29 0) (:1) |
26 Paused on attribute modificationsdiv#rootElement | 30 Paused on attribute modificationsdiv#rootElement |
27 Script execution resumed. | 31 Script execution resumed. |
28 | 32 |
29 Running: testInsertGrandchild | 33 Running: testInsertGrandchild |
30 Test that 'Subtree Modified' breakpoint is hit when appending a grandchild. | 34 Test that 'Subtree Modified' breakpoint is hit when appending a grandchild. |
31 Append grandchildElement to childElement. | 35 Append grandchildElement to childElement. |
32 Script execution paused. | 36 Script execution paused. |
33 Call stack: | 37 Call stack: |
34 0) appendElement (dom-breakpoints.html:12) | 38 0) appendElement (dom-breakpoints.html:12) |
35 1) (:1) | 39 1) (:1) |
| 40 [setTimeout] |
| 41 0) (:1) |
36 Paused on subtree modificationsdiv#rootElementDescendant div#childElement added | 42 Paused on subtree modificationsdiv#rootElementDescendant div#childElement added |
37 Script execution resumed. | 43 Script execution resumed. |
38 | 44 |
39 Running: testRemoveChild | 45 Running: testRemoveChild |
40 Test that 'Subtree Modified' breakpoint is hit when removing a child. | 46 Test that 'Subtree Modified' breakpoint is hit when removing a child. |
41 Remove grandchildElement. | 47 Remove grandchildElement. |
42 Script execution paused. | 48 Script execution paused. |
43 Call stack: | 49 Call stack: |
44 0) removeElement (dom-breakpoints.html:44) | 50 0) removeElement (dom-breakpoints.html:44) |
45 1) (:1) | 51 1) (:1) |
| 52 [setTimeout] |
| 53 0) (:1) |
46 Paused on subtree modificationsdiv#rootElementDescendant div#grandchildElement r
emoved | 54 Paused on subtree modificationsdiv#rootElementDescendant div#grandchildElement r
emoved |
47 Script execution resumed. | 55 Script execution resumed. |
48 | 56 |
49 Running: testInnerHTML | 57 Running: testInnerHTML |
50 Test that 'Subtree Modified' breakpoint is hit exactly once when setting innerHT
ML. | 58 Test that 'Subtree Modified' breakpoint is hit exactly once when setting innerHT
ML. |
51 Set childElement.innerHTML. | 59 Set childElement.innerHTML. |
52 Script execution paused. | 60 Script execution paused. |
53 Call stack: | 61 Call stack: |
54 0) setInnerHTML (dom-breakpoints.html:50) | 62 0) setInnerHTML (dom-breakpoints.html:50) |
55 1) (:1) | 63 1) (:1) |
| 64 [setTimeout] |
| 65 0) (:1) |
56 Paused on subtree modificationsdiv#rootElementDescendant div#childElement added | 66 Paused on subtree modificationsdiv#rootElementDescendant div#childElement added |
57 Script execution resumed. | 67 Script execution resumed. |
58 Call breakDebugger, expect it to show up in next stack trace. | 68 Call breakDebugger, expect it to show up in next stack trace. |
59 Script execution paused. | 69 Script execution paused. |
60 Call stack: | 70 Call stack: |
61 0) breakDebugger (dom-breakpoints.html:55) | 71 0) breakDebugger (dom-breakpoints.html:55) |
62 1) (:1) | 72 1) (:1) |
63 Script execution resumed. | 73 Script execution resumed. |
64 | 74 |
65 Running: testModifyAttribute | 75 Running: testModifyAttribute |
66 Test that 'Attribute Modified' breakpoint is hit when modifying attribute. | 76 Test that 'Attribute Modified' breakpoint is hit when modifying attribute. |
67 Set 'Attribute Modified' DOM breakpoint on rootElement. | 77 Set 'Attribute Modified' DOM breakpoint on rootElement. |
68 Modify rootElement data-test attribute. | 78 Modify rootElement data-test attribute. |
69 Script execution paused. | 79 Script execution paused. |
70 Call stack: | 80 Call stack: |
71 0) modifyAttribute (dom-breakpoints.html:18) | 81 0) modifyAttribute (dom-breakpoints.html:18) |
72 1) (:1) | 82 1) (:1) |
| 83 [setTimeout] |
| 84 0) (:1) |
73 Paused on attribute modificationsdiv#rootElement | 85 Paused on attribute modificationsdiv#rootElement |
74 Script execution resumed. | 86 Script execution resumed. |
75 | 87 |
76 Running: testModifyAttrNode | 88 Running: testModifyAttrNode |
77 Test that 'Attribute Modified' breakpoint is hit when modifying Attr node. | 89 Test that 'Attribute Modified' breakpoint is hit when modifying Attr node. |
78 Set 'Attribute Modified' DOM breakpoint on rootElement. | 90 Set 'Attribute Modified' DOM breakpoint on rootElement. |
79 Modify rootElement data-test attribute. | 91 Modify rootElement data-test attribute. |
80 Script execution paused. | 92 Script execution paused. |
81 Call stack: | 93 Call stack: |
82 0) modifyAttrNode (dom-breakpoints.html:24) | 94 0) modifyAttrNode (dom-breakpoints.html:24) |
83 1) (:1) | 95 1) (:1) |
| 96 [setTimeout] |
| 97 0) (:1) |
84 Paused on attribute modificationsdiv#rootElement | 98 Paused on attribute modificationsdiv#rootElement |
85 Script execution resumed. | 99 Script execution resumed. |
86 | 100 |
87 Running: testSetAttrNode | 101 Running: testSetAttrNode |
88 Test that 'Attribute Modified' breakpoint is hit when adding a new Attr node. | 102 Test that 'Attribute Modified' breakpoint is hit when adding a new Attr node. |
89 Set 'Attribute Modified' DOM breakpoint on rootElement. | 103 Set 'Attribute Modified' DOM breakpoint on rootElement. |
90 Modify rootElement data-foo attribute. | 104 Modify rootElement data-foo attribute. |
91 Script execution paused. | 105 Script execution paused. |
92 Call stack: | 106 Call stack: |
93 0) setAttrNode (dom-breakpoints.html:32) | 107 0) setAttrNode (dom-breakpoints.html:32) |
94 1) (:1) | 108 1) (:1) |
| 109 [setTimeout] |
| 110 0) (:1) |
95 Paused on attribute modificationsdiv#rootElement | 111 Paused on attribute modificationsdiv#rootElement |
96 Script execution resumed. | 112 Script execution resumed. |
97 | 113 |
98 Running: testModifyStyleAttribute | 114 Running: testModifyStyleAttribute |
99 Test that 'Attribute Modified' breakpoint is hit when modifying style attribute. | 115 Test that 'Attribute Modified' breakpoint is hit when modifying style attribute. |
100 Set 'Attribute Modified' DOM breakpoint on rootElement. | 116 Set 'Attribute Modified' DOM breakpoint on rootElement. |
101 Modify rootElement style.color attribute. | 117 Modify rootElement style.color attribute. |
102 Script execution paused. | 118 Script execution paused. |
103 Call stack: | 119 Call stack: |
104 0) modifyStyleAttribute (dom-breakpoints.html:38) | 120 0) modifyStyleAttribute (dom-breakpoints.html:38) |
105 1) (:1) | 121 1) (:1) |
| 122 [setTimeout] |
| 123 0) (:1) |
106 Paused on attribute modificationsdiv#rootElement | 124 Paused on attribute modificationsdiv#rootElement |
107 Script execution resumed. | 125 Script execution resumed. |
108 | 126 |
109 Running: testRemoveNode | 127 Running: testRemoveNode |
110 Test that 'Node Removed' breakpoint is hit when removing a node. | 128 Test that 'Node Removed' breakpoint is hit when removing a node. |
111 Set 'Node Removed' DOM breakpoint on elementToRemove. | 129 Set 'Node Removed' DOM breakpoint on elementToRemove. |
112 Remove elementToRemove. | 130 Remove elementToRemove. |
113 Script execution paused. | 131 Script execution paused. |
114 Call stack: | 132 Call stack: |
115 0) removeElement (dom-breakpoints.html:44) | 133 0) removeElement (dom-breakpoints.html:44) |
116 1) (:1) | 134 1) (:1) |
| 135 [setTimeout] |
| 136 0) (:1) |
117 Paused on node removaldiv#elementToRemove | 137 Paused on node removaldiv#elementToRemove |
118 Script execution resumed. | 138 Script execution resumed. |
119 | 139 |
120 Running: testReload | 140 Running: testReload |
121 Test that DOM breakpoints are persisted between page reloads. | 141 Test that DOM breakpoints are persisted between page reloads. |
122 Set 'Subtree Modified' DOM breakpoint on rootElement. | 142 Set 'Subtree Modified' DOM breakpoint on rootElement. |
123 Page reloaded. | 143 Page reloaded. |
124 Append childElement to rootElement. | 144 Append childElement to rootElement. |
125 Script execution paused. | 145 Script execution paused. |
126 Call stack: | 146 Call stack: |
127 0) appendElement (dom-breakpoints.html:12) | 147 0) appendElement (dom-breakpoints.html:12) |
128 1) (:1) | 148 1) (:1) |
| 149 [setTimeout] |
| 150 0) (:1) |
129 Paused on subtree modificationsdiv#rootElementChild div#rootElement added | 151 Paused on subtree modificationsdiv#rootElementChild div#rootElement added |
130 Script execution resumed. | 152 Script execution resumed. |
131 | 153 |
132 Running: testInsertChildIntoAuthorShadowTree | 154 Running: testInsertChildIntoAuthorShadowTree |
133 Test that 'Subtree Modified' breakpoint on author shadow root is hit when append
ing a child. | 155 Test that 'Subtree Modified' breakpoint on author shadow root is hit when append
ing a child. |
134 Set 'Subtree Modified' DOM breakpoint on author shadow root. | 156 Set 'Subtree Modified' DOM breakpoint on author shadow root. |
135 Append childElement to author shadow root. | 157 Append childElement to author shadow root. |
136 Script execution paused. | 158 Script execution paused. |
137 Call stack: | 159 Call stack: |
138 0) appendElementToOpenShadowRoot (dom-breakpoints.html:79) | 160 0) appendElementToOpenShadowRoot (dom-breakpoints.html:79) |
139 1) (:1) | 161 1) (:1) |
| 162 [setTimeout] |
| 163 0) (:1) |
140 Paused on subtree modifications#shadow-root (open)Child #shadow-root (open) adde
d | 164 Paused on subtree modifications#shadow-root (open)Child #shadow-root (open) adde
d |
141 Script execution resumed. | 165 Script execution resumed. |
142 | 166 |
143 Running: testReloadWithShadowElementBreakpoint | 167 Running: testReloadWithShadowElementBreakpoint |
144 Test that shadow DOM breakpoints are persisted between page reloads. | 168 Test that shadow DOM breakpoints are persisted between page reloads. |
145 Set 'Subtree Modified' DOM breakpoint on outerElement. | 169 Set 'Subtree Modified' DOM breakpoint on outerElement. |
146 Page reloaded. | 170 Page reloaded. |
147 Append childElement to outerElement. | 171 Append childElement to outerElement. |
148 Script execution paused. | 172 Script execution paused. |
149 Call stack: | 173 Call stack: |
150 0) appendElementToAuthorShadowTree (dom-breakpoints.html:72) | 174 0) appendElementToAuthorShadowTree (dom-breakpoints.html:72) |
151 1) (:1) | 175 1) (:1) |
| 176 [setTimeout] |
| 177 0) (:1) |
152 Paused on subtree modificationsdiv#outerElementChild div#outerElement added | 178 Paused on subtree modificationsdiv#outerElementChild div#outerElement added |
153 Script execution resumed. | 179 Script execution resumed. |
154 | 180 |
OLD | NEW |