| OLD | NEW |
| (Empty) |
| 1 Tests DOM breakpoints. Bug 42886 | |
| 2 | |
| 3 | |
| 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. | |
| 9 Call stack: | |
| 10 0) appendElement (dom-breakpoints.html:12) | |
| 11 1) (:1) | |
| 12 Paused on a "Subtree Modified" breakpoint set on div#rootElement, because a new
child was added to that node. | |
| 13 Script execution resumed. | |
| 14 | |
| 15 Running: testInsertGrandchild | |
| 16 Test that 'Subtree Modified' breakpoint is hit when appending a grandchild. | |
| 17 Append grandchildElement to childElement. | |
| 18 Script execution paused. | |
| 19 Call stack: | |
| 20 0) appendElement (dom-breakpoints.html:12) | |
| 21 1) (:1) | |
| 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. | |
| 24 | |
| 25 Running: testRemoveChild | |
| 26 Test that 'Subtree Modified' breakpoint is hit when removing a child. | |
| 27 Remove grandchildElement. | |
| 28 Script execution paused. | |
| 29 Call stack: | |
| 30 0) removeElement (dom-breakpoints.html:44) | |
| 31 1) (:1) | |
| 32 Paused on a "Subtree Modified" breakpoint set on div#rootElement, because its de
scendant div#grandchildElement was removed. | |
| 33 Script execution resumed. | |
| 34 | |
| 35 Running: testInnerHTML | |
| 36 Test that 'Subtree Modified' breakpoint is hit exactly once when setting innerHT
ML. | |
| 37 Set childElement.innerHTML. | |
| 38 Script execution paused. | |
| 39 Call stack: | |
| 40 0) setInnerHTML (dom-breakpoints.html:50) | |
| 41 1) (:1) | |
| 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. | |
| 46 Call stack: | |
| 47 0) breakDebugger (dom-breakpoints.html:55) | |
| 48 1) (:1) | |
| 49 Script execution resumed. | |
| 50 | |
| 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. | |
| 56 Call stack: | |
| 57 0) modifyAttribute (dom-breakpoints.html:18) | |
| 58 1) (:1) | |
| 59 Paused on a "Attribute Modified" breakpoint set on div#rootElement. | |
| 60 Script execution resumed. | |
| 61 | |
| 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. | |
| 67 Call stack: | |
| 68 0) modifyAttrNode (dom-breakpoints.html:24) | |
| 69 1) (:1) | |
| 70 Paused on a "Attribute Modified" breakpoint set on div#rootElement. | |
| 71 Script execution resumed. | |
| 72 | |
| 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. | |
| 78 Call stack: | |
| 79 0) setAttrNode (dom-breakpoints.html:32) | |
| 80 1) (:1) | |
| 81 Paused on a "Attribute Modified" breakpoint set on div#rootElement. | |
| 82 Script execution resumed. | |
| 83 | |
| 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. | |
| 89 Call stack: | |
| 90 0) modifyStyleAttribute (dom-breakpoints.html:38) | |
| 91 1) (:1) | |
| 92 Paused on a "Attribute Modified" breakpoint set on div#rootElement. | |
| 93 Script execution resumed. | |
| 94 | |
| 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. | |
| 100 Call stack: | |
| 101 0) removeElement (dom-breakpoints.html:44) | |
| 102 1) (:1) | |
| 103 Paused on a "Node Removed" breakpoint set on div#elementToRemove. | |
| 104 Script execution resumed. | |
| 105 | |
| 106 Running: testReload | |
| 107 Test that DOM breakpoints are persisted between page reloads. | |
| 108 Set 'Subtree Modified' DOM breakpoint on rootElement. | |
| 109 Page reloaded. | |
| 110 Append childElement to rootElement. | |
| 111 Script execution paused. | |
| 112 Call stack: | |
| 113 0) appendElement (dom-breakpoints.html:12) | |
| 114 1) (:1) | |
| 115 Paused on a "Subtree Modified" breakpoint set on div#rootElement, because a new
child was added to that node. | |
| 116 Script execution resumed. | |
| 117 | |
| 118 Running: testInsertChildIntoAuthorShadowTree | |
| 119 Test that 'Subtree Modified' breakpoint on author shadow root is hit when append
ing a child. | |
| 120 Set 'Subtree Modified' DOM breakpoint on author shadow root. | |
| 121 Append childElement to author shadow root. | |
| 122 Script execution paused. | |
| 123 Call stack: | |
| 124 0) appendElementToOpenShadowRoot (dom-breakpoints.html:79) | |
| 125 1) (:1) | |
| 126 Paused on a "Subtree Modified" breakpoint set on #shadow-root, because a new chi
ld was added to that node. | |
| 127 Script execution resumed. | |
| 128 | |
| 129 Running: testReloadWithShadowElementBreakpoint | |
| 130 Test that shadow DOM breakpoints are persisted between page reloads. | |
| 131 Set 'Subtree Modified' DOM breakpoint on outerElement. | |
| 132 Page reloaded. | |
| 133 Append childElement to outerElement. | |
| 134 Script execution paused. | |
| 135 Call stack: | |
| 136 0) appendElementToAuthorShadowTree (dom-breakpoints.html:72) | |
| 137 1) (:1) | |
| 138 Paused on a "Subtree Modified" breakpoint set on div#outerElement, because a new
child was added to that node. | |
| 139 Script execution resumed. | |
| 140 | |
| OLD | NEW |