Title: [246317] trunk/LayoutTests
Revision
246317
Author
[email protected]
Date
2019-06-11 09:16:09 -0700 (Tue, 11 Jun 2019)

Log 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.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (246316 => 246317)


--- trunk/LayoutTests/ChangeLog	2019-06-11 15:55:17 UTC (rev 246316)
+++ trunk/LayoutTests/ChangeLog	2019-06-11 16:16:09 UTC (rev 246317)
@@ -1,3 +1,11 @@
+2019-06-11  Devin Rousso  <[email protected]>
+
+        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.
+
 2019-06-11  Antti Koivisto  <[email protected]>
 
         REGRESSION (iOS): Can't scroll litter-robot.com checkout form's dropdown menus

Modified: trunk/LayoutTests/inspector/timeline/timeline-recording-expected.txt (246316 => 246317)


--- trunk/LayoutTests/inspector/timeline/timeline-recording-expected.txt	2019-06-11 15:55:17 UTC (rev 246316)
+++ trunk/LayoutTests/inspector/timeline/timeline-recording-expected.txt	2019-06-11 16:16:09 UTC (rev 246317)
@@ -41,13 +41,19 @@
     "timeline-record-type-cpu",
     "timeline-record-type-rendering-frame"
   ],
-  "records": "<filtered>",
+  "records": [
+    "<filtered>"
+  ],
   "markers": [
     "<filtered>"
   ],
   "memoryPressureEvents": [],
-  "sampleStackTraces": [],
-  "sampleDurations": []
+  "sampleStackTraces": [
+    "<filtered>"
+  ],
+  "sampleDurations": [
+    "<filtered>"
+  ]
 }
 
 -- Running test case: TimelineRecording.import

Modified: trunk/LayoutTests/inspector/timeline/timeline-recording.html (246316 => 246317)


--- trunk/LayoutTests/inspector/timeline/timeline-recording.html	2019-06-11 15:55:17 UTC (rev 246316)
+++ trunk/LayoutTests/inspector/timeline/timeline-recording.html	2019-06-11 16:16:09 UTC (rev 246317)
@@ -80,11 +80,12 @@
             InspectorTest.expectThat(exportData.records.length > 10, "TimelineRecording should have at least 10 Timeline Records.");
 
             InspectorTest.log("Export Data:");
-            let filterKeys = new Set(["startTime", "endTime", "time", "records", "displayName"]);
+            let filterValue = new Set(["startTime", "endTime", "time", "displayName"]);
+            let filterArray = new Set(["records", "markers", "sampleStackTraces", "sampleDurations"]);
             InspectorTest.json(exportData, (key, value) => {
-                if (filterKeys.has(key))
+                if (filterValue.has(key))
                     return "<filtered>";
-                if (key === "markers")
+                if (filterArray.has(key))
                     return ["<filtered>"];
                 return value;
             });
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to