Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(230)

Unified Diff: LayoutTests/http/tests/w3c/webperf/approved/UserTiming/test_user_timing_measure-expected.txt

Issue 1151323002: testharnessreport: Hide unnecessary elements for JS tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Sync all of testharnessreport.js, and update test results Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698