| 1 | 1 | Tests grouped invalidations on the timeline.
|
|---|
| 2 | 2 |
|
|---|
| 3 | 3 | P
|
|---|
| 4 | 4 | A
|
|---|
| 5 | 5 | S
|
|---|
| 6 | 6 | S
|
|---|
| 7 | 7 | paint invalidations[
|
|---|
| 8 | | {
|
|---|
| 9 | | cause : {reason: Inline CSS style declaration was mutated, stackTrace: .../devtools/tracing/timeline-misc/timeline-grouped-invalidations.html:14}
|
|---|
| 10 | | changedAttribute : undefined
|
|---|
| 11 | | changedClass : undefined
|
|---|
| 12 | | changedId : undefined
|
|---|
| 13 | | changedPseudo : undefined
|
|---|
| 14 | | extraData : ""
|
|---|
| 15 | | nodeName : "DIV class='testElement'"
|
|---|
| 16 | | selectorPart : undefined
|
|---|
| 17 | | type : "StyleRecalcInvalidationTracking"
|
|---|
| 18 | | }
|
|---|
| 19 | | {
|
|---|
| 20 | | cause : {reason: Inline CSS style declaration was mutated, stackTrace: .../devtools/tracing/timeline-misc/timeline-grouped-invalidations.html:15}
|
|---|
| 21 | | changedAttribute : undefined
|
|---|
| 22 | | changedClass : undefined
|
|---|
| 23 | | changedId : undefined
|
|---|
| 24 | | changedPseudo : undefined
|
|---|
| 25 | | extraData : ""
|
|---|
| 26 | | nodeName : "DIV class='testElement'"
|
|---|
| 27 | | selectorPart : undefined
|
|---|
| 28 | | type : "StyleRecalcInvalidationTracking"
|
|---|
| 29 | | }
|
|---|
| 30 | | {
|
|---|
| 31 | | cause : {reason: Inline CSS style declaration was mutated, stackTrace: .../devtools/tracing/timeline-misc/timeline-grouped-invalidations.html:14}
|
|---|
| 32 | | changedAttribute : undefined
|
|---|
| 33 | | changedClass : undefined
|
|---|
| 34 | | changedId : undefined
|
|---|
| 35 | | changedPseudo : undefined
|
|---|
| 36 | | extraData : ""
|
|---|
| 37 | | nodeName : "DIV class='testElement'"
|
|---|
| 38 | | selectorPart : undefined
|
|---|
| 39 | | type : "StyleRecalcInvalidationTracking"
|
|---|
| 40 | | }
|
|---|
| 41 | | {
|
|---|
| 42 | | cause : {reason: Inline CSS style declaration was mutated, stackTrace: .../devtools/tracing/timeline-misc/timeline-grouped-invalidations.html:15}
|
|---|
| 43 | | changedAttribute : undefined
|
|---|
| 44 | | changedClass : undefined
|
|---|
| 45 | | changedId : undefined
|
|---|
| 46 | | changedPseudo : undefined
|
|---|
| 47 | | extraData : ""
|
|---|
| 48 | | nodeName : "DIV class='testElement'"
|
|---|
| 49 | | selectorPart : undefined
|
|---|
| 50 | | type : "StyleRecalcInvalidationTracking"
|
|---|
| 51 | | }
|
|---|
| 52 | | {
|
|---|
| 53 | | cause : {reason: Inline CSS style declaration was mutated, stackTrace: .../devtools/tracing/timeline-misc/timeline-grouped-invalidations.html:14}
|
|---|
| 54 | | changedAttribute : undefined
|
|---|
| 55 | | changedClass : undefined
|
|---|
| 56 | | changedId : undefined
|
|---|
| 57 | | changedPseudo : undefined
|
|---|
| 58 | | extraData : ""
|
|---|
| 59 | | nodeName : "DIV class='testElement'"
|
|---|
| 60 | | selectorPart : undefined
|
|---|
| 61 | | type : "StyleRecalcInvalidationTracking"
|
|---|
| 62 | | }
|
|---|
| 63 | | {
|
|---|
| 64 | | cause : {reason: Inline CSS style declaration was mutated, stackTrace: .../devtools/tracing/timeline-misc/timeline-grouped-invalidations.html:15}
|
|---|
| 65 | | changedAttribute : undefined
|
|---|
| 66 | | changedClass : undefined
|
|---|
| 67 | | changedId : undefined
|
|---|
| 68 | | changedPseudo : undefined
|
|---|
| 69 | | extraData : ""
|
|---|
| 70 | | nodeName : "DIV class='testElement'"
|
|---|
| 71 | | selectorPart : undefined
|
|---|
| 72 | | type : "StyleRecalcInvalidationTracking"
|
|---|
| 73 | | }
|
|---|
| 74 | | {
|
|---|
| 75 | | cause : {reason: Inline CSS style declaration was mutated, stackTrace: .../devtools/tracing/timeline-misc/timeline-grouped-invalidations.html:14}
|
|---|
| 76 | | changedAttribute : undefined
|
|---|
| 77 | | changedClass : undefined
|
|---|
| 78 | | changedId : undefined
|
|---|
| 79 | | changedPseudo : undefined
|
|---|
| 80 | | extraData : ""
|
|---|
| 81 | | nodeName : "DIV class='testElement'"
|
|---|
| 82 | | selectorPart : undefined
|
|---|
| 83 | | type : "StyleRecalcInvalidationTracking"
|
|---|
| 84 | | }
|
|---|
| 85 | | {
|
|---|
| 86 | | cause : {reason: Inline CSS style declaration was mutated, stackTrace: .../devtools/tracing/timeline-misc/timeline-grouped-invalidations.html:15}
|
|---|
| 87 | | changedAttribute : undefined
|
|---|
| 88 | | changedClass : undefined
|
|---|
| 89 | | changedId : undefined
|
|---|
| 90 | | changedPseudo : undefined
|
|---|
| 91 | | extraData : ""
|
|---|
| 92 | | nodeName : "DIV class='testElement'"
|
|---|
| 93 | | selectorPart : undefined
|
|---|
| 94 | | type : "StyleRecalcInvalidationTracking"
|
|---|
| 95 | | }
|
|---|
| 96 | | ]
|
|---|
| 97 | | PASS - record contained Inline CSS style declaration was mutated for [ DIV class='testElement' ], [ DIV class='testElement' ], and 2 others. (anonymous) @ timeline-grouped-invalidations.html:14
|
|---|
| 98 | | PASS - record contained Inline CSS style declaration was mutated for [ DIV class='testElement' ], [ DIV class='testElement' ], and 2 others. (anonymous) @ timeline-grouped-invalidations.html:15
|
|---|
| 8 | Exception while running: function () {
|
|---|
| 9 | var event = PerformanceTestRunner.findTimelineEvent(TimelineModel.TimelineModel.RecordType.Paint);
|
|---|
| 10 | TestRunner.addArray(
|
|---|
| 11 | TimelineModel.InvalidationTracker.invalidationEventsFor(event), PerformanceTestRunner.InvalidationFormatters,
|
|---|
| 12 | '', 'paint invalidations');
|
|---|
| 99 | 13 |
|
|---|
| 14 | var linkifier = new Components.Linkifier();
|
|---|
| 15 | var target = PerformanceTestRunner.timelineModel().targetByEvent(event);
|
|---|
| 16 | var contentHelper = new Timeline.TimelineDetailsContentHelper(target, linkifier, true);
|
|---|
| 17 | Timeline.TimelineUIUtils._generateCauses(event, target, null, contentHelper);
|
|---|
| 18 | var invalidationsTree = contentHelper.element.getElementsByClassName('invalidations-tree')[0];
|
|---|
| 19 | var invalidations = invalidationsTree.shadowRoot.textContent;
|
|---|
| 20 | checkStringContains(
|
|---|
| 21 | invalidations,
|
|---|
| 22 | 'Inline CSS style declaration was mutated for [ DIV class=\'testElement\' ], [ DIV class=\'testElement\' ], and 2 others. (anonymous) @ timeline-grouped-invalidations.html:14');
|
|---|
| 23 | checkStringContains(
|
|---|
| 24 | invalidations,
|
|---|
| 25 | 'Inline CSS style declaration was mutated for [ DIV class=\'testElement\' ], [ DIV class=\'testElement\' ], and 2 others. (anonymous) @ timeline-grouped-invalidations.html:15');
|
|---|
| 26 | TestRunner.completeTest();
|
|---|
| 27 | }
|
|---|
| 28 | TypeError: Cannot read property 'length' of null
|
|---|
| 29 | at Object.TestRunner.addArray (file:///b/c/b/mac_layout/src/out/Release/resources/inspector/integration_test_runner.js:6003:232)
|
|---|
| 30 | at eval (evaluateInWebInspector1.js:65:16)
|
|---|
| 31 | at result (file:///b/c/b/mac_layout/src/out/Release/resources/inspector/integration_test_runner.js:5943:42)
|
|---|
| 32 | at Timeline.TimelinePanel.TestRunner.addSniffer (file:///b/c/b/mac_layout/src/out/Release/resources/inspector/performance_test_runner/performance_test_runner_module.js:5:1190)
|
|---|
| 33 | at Timeline.TimelinePanel.result (file:///b/c/b/mac_layout/src/out/Release/resources/inspector/integration_test_runner.js:5943:42)
|
|---|
| 34 | at Timeline.TimelinePanel.receiver.(anonymous function) (file:///b/c/b/mac_layout/src/out/Release/resources/inspector/integration_test_runner.js:5937:58)
|
|---|
| 35 | at Timeline.TimelineController._finalizeTrace (file:///b/c/b/mac_layout/src/out/Release/resources/inspector/timeline/timeline_module.js:183:99)
|
|---|
| 36 | at setTimeout (file:///b/c/b/mac_layout/src/out/Release/resources/inspector/timeline/timeline_module.js:182:76)
|
|---|
| 37 |
|
|---|