1 Tests DOM breakpoints. Bug 42886
4 Running: testInsertChild
5 Test that 'Subtree Modified' breakpoint is hit when appending a child.
6 Set 'Subtree Modified' DOM breakpoint on rootElement.
7 Append childElement to rootElement.
8 Script execution paused.
10 0) appendElement (dom-breakpoints.html:12)
12 Paused on a "Subtree Modified" breakpoint set on div#rootElement, because a new child was added to that node.
13 Script execution resumed.
15 Running: testInsertGrandchild
16 Test that 'Subtree Modified' breakpoint is hit when appending a grandchild.
17 Append grandchildElement to childElement.
18 Script execution paused.
20 0) appendElement (dom-breakpoints.html:12)
22 Paused on a "Subtree Modified" breakpoint set on div#rootElement, because a new child was added to its descendant div#childElement.
23 Script execution resumed.
25 Running: testRemoveChild
26 Test that 'Subtree Modified' breakpoint is hit when removing a child.
27 Remove grandchildElement.
28 Script execution paused.
30 0) removeElement (dom-breakpoints.html:44)
32 Paused on a "Subtree Modified" breakpoint set on div#rootElement, because its descendant div#grandchildElement was removed.
33 Script execution resumed.
35 Running: testInnerHTML
36 Test that 'Subtree Modified' breakpoint is hit exactly once when setting innerHTML.
37 Set childElement.innerHTML.
38 Script execution paused.
40 0) setInnerHTML (dom-breakpoints.html:50)
42 Paused on a "Subtree Modified" breakpoint set on div#rootElement, because a new child was added to its descendant div#childElement.
43 Script execution resumed.
44 Call breakDebugger, expect it to show up in next stack trace.
45 Script execution paused.
47 0) breakDebugger (dom-breakpoints.html:55)
49 Script execution resumed.
51 Running: testModifyAttribute
52 Test that 'Attribute Modified' breakpoint is hit when modifying attribute.
53 Set 'Attribute Modified' DOM breakpoint on rootElement.
54 Modify rootElement data-test attribute.
55 Script execution paused.
57 0) modifyAttribute (dom-breakpoints.html:18)
59 Paused on a "Attribute Modified" breakpoint set on div#rootElement.
60 Script execution resumed.
62 Running: testModifyAttrNode
63 Test that 'Attribute Modified' breakpoint is hit when modifying Attr node.
64 Set 'Attribute Modified' DOM breakpoint on rootElement.
65 Modify rootElement data-test attribute.
66 Script execution paused.
68 0) modifyAttrNode (dom-breakpoints.html:24)
70 Paused on a "Attribute Modified" breakpoint set on div#rootElement.
71 Script execution resumed.
73 Running: testSetAttrNode
74 Test that 'Attribute Modified' breakpoint is hit when adding a new Attr node.
75 Set 'Attribute Modified' DOM breakpoint on rootElement.
76 Modify rootElement data-foo attribute.
77 Script execution paused.
79 0) setAttrNode (dom-breakpoints.html:32)
81 Paused on a "Attribute Modified" breakpoint set on div#rootElement.
82 Script execution resumed.
84 Running: testModifyStyleAttribute
85 Test that 'Attribute Modified' breakpoint is hit when modifying style attribute.
86 Set 'Attribute Modified' DOM breakpoint on rootElement.
87 Modify rootElement style.color attribute.
88 Script execution paused.
90 0) modifyStyleAttribute (dom-breakpoints.html:38)
92 Paused on a "Attribute Modified" breakpoint set on div#rootElement.
93 Script execution resumed.
95 Running: testRemoveNode
96 Test that 'Node Removed' breakpoint is hit when removing a node.
97 Set 'Node Removed' DOM breakpoint on elementToRemove.
98 Remove elementToRemove.
99 Script execution paused.
101 0) removeElement (dom-breakpoints.html:44)
103 Paused on a "Node Removed" breakpoint set on div#elementToRemove.
104 Script execution resumed.
107 Test that DOM breakpoints are persisted between page reloads.
108 Set 'Subtree Modified' DOM breakpoint on rootElement.
110 Append childElement to rootElement.
111 Script execution paused.
113 0) appendElement (dom-breakpoints.html:12)
115 Paused on a "Subtree Modified" breakpoint set on div#rootElement, because a new child was added to that node.
116 Script execution resumed.
118 Running: testInsertChildIntoAuthorShadowTree
119 Test that 'Subtree Modified' breakpoint on author shadow root is hit when appending a child.
120 Set 'Subtree Modified' DOM breakpoint on author shadow root.
121 Append childElement to author shadow root.
122 Script execution paused.
124 0) appendElementToOpenShadowRoot (dom-breakpoints.html:79)
126 Paused on a "Subtree Modified" breakpoint set on #shadow-root (open), because a new child was added to that node.
127 Script execution resumed.
129 Running: testReloadWithShadowElementBreakpoint
130 Test that shadow DOM breakpoints are persisted between page reloads.
131 Set 'Subtree Modified' DOM breakpoint on outerElement.
133 Append childElement to outerElement.
134 Script execution paused.
136 0) appendElementToAuthorShadowTree (dom-breakpoints.html:72)
138 Paused on a "Subtree Modified" breakpoint set on div#outerElement, because a new child was added to that node.
139 Script execution resumed.