Index: LayoutTests/http/tests/w3c/webperf/approved/UserTiming/test_user_timing_measure-expected.txt |
diff --git a/LayoutTests/http/tests/w3c/webperf/approved/UserTiming/test_user_timing_measure-expected.txt b/LayoutTests/http/tests/w3c/webperf/approved/UserTiming/test_user_timing_measure-expected.txt |
index 4562712936224237db6682d9b2f216629d712554..411c284b822bdf4708d4679218b19cd1a52f6756 100644 |
--- a/LayoutTests/http/tests/w3c/webperf/approved/UserTiming/test_user_timing_measure-expected.txt |
+++ b/LayoutTests/http/tests/w3c/webperf/approved/UserTiming/test_user_timing_measure-expected.txt |
@@ -1,13 +1,5 @@ |
-Description |
- |
-This test validates that the performance.measure() method is working properly. This test creates the following measures to test this method: |
- |
-"measure_no_start_no_end": created using a measure() call without a startMark or endMark provided |
-"measure_start_no_end": created using a measure() call with only the startMark provided |
-"measure_start_end": created using a measure() call with both a startMark or endMark provided |
-"measure_no_start_no_end": duplicate of the first measure, used to confirm names can be re-used |
After creating each measure, the existence of these measures is validated by calling performance.getEntriesByName() (both with and without the entryType parameter provided), performance.getEntriesByType(), and performance.getEntries() |
- |
+This is a testharness.js-based test. |
PASS window.performance is defined |
PASS window.performance.getEntriesByName("measure_no_start_no_end")[0].name == "measure_no_start_no_end" |
PASS window.performance.getEntriesByName("measure_no_start_no_end")[0].startTime == |
@@ -39,4 +31,5 @@ PASS window.performance.getEntriesByType("measure") returns an object containing |
PASS window.performance.getEntriesByType("measure") returns an object containing the "measure_start_end" measure, and it's value matches the measure returned by window.performance.getEntriesByName("measure_start_end")[0]. |
PASS window.performance.getEntriesByType("measure") returns an object containing the "measure_no_start_no_end" measure, and it's value matches the measure returned by window.performance.getEntriesByName("measure_no_start_no_end")[1]. |
PASS window.performance.getEntriesByType("measure") returns an object containing all test measures in order. |
+Harness: the test ran to completion. |