Changeset 246317 in webkit


Ignore:
Timestamp:
Jun 11, 2019, 9:16:09 AM (6 years ago)
Author:
Devin Rousso
Message:

Unreviewed, fix test failures after r246292.

  • inspector/timeline/timeline-recording.html:
  • inspector/timeline/timeline-recording-expected.txt:

Filter the contents of sampleStackTraces and sampleDurations when exporting.

Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r246316 r246317  
     12019-06-11  Devin Rousso  <drousso@apple.com>
     2
     3        Unreviewed, fix test failures after r246292.
     4
     5        * inspector/timeline/timeline-recording.html:
     6        * inspector/timeline/timeline-recording-expected.txt:
     7        Filter the contents of `sampleStackTraces` and `sampleDurations` when exporting.
     8
    192019-06-11  Antti Koivisto  <antti@apple.com>
    210
  • trunk/LayoutTests/inspector/timeline/timeline-recording-expected.txt

    r243084 r246317  
    4242    "timeline-record-type-rendering-frame"
    4343  ],
    44   "records": "<filtered>",
     44  "records": [
     45    "<filtered>"
     46  ],
    4547  "markers": [
    4648    "<filtered>"
    4749  ],
    4850  "memoryPressureEvents": [],
    49   "sampleStackTraces": [],
    50   "sampleDurations": []
     51  "sampleStackTraces": [
     52    "<filtered>"
     53  ],
     54  "sampleDurations": [
     55    "<filtered>"
     56  ]
    5157}
    5258
  • trunk/LayoutTests/inspector/timeline/timeline-recording.html

    r244195 r246317  
    8181
    8282            InspectorTest.log("Export Data:");
    83             let filterKeys = new Set(["startTime", "endTime", "time", "records", "displayName"]);
     83            let filterValue = new Set(["startTime", "endTime", "time", "displayName"]);
     84            let filterArray = new Set(["records", "markers", "sampleStackTraces", "sampleDurations"]);
    8485            InspectorTest.json(exportData, (key, value) => {
    85                 if (filterKeys.has(key))
     86                if (filterValue.has(key))
    8687                    return "<filtered>";
    87                 if (key === "markers")
     88                if (filterArray.has(key))
    8889                    return ["<filtered>"];
    8990                return value;
Note: See TracChangeset for help on using the changeset viewer.