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