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

Unified Diff: LayoutTests/http/tests/w3c/webperf/approved/UserTiming/test_user_timing_mark-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_mark-expected.txt
diff --git a/LayoutTests/http/tests/w3c/webperf/approved/UserTiming/test_user_timing_mark-expected.txt b/LayoutTests/http/tests/w3c/webperf/approved/UserTiming/test_user_timing_mark-expected.txt
index f2ddef8389dc4b4cf31e14994288ae868c92acec..92037dc67a9b6dcbe6d8286102f9e3029f7e34ba 100644
--- a/LayoutTests/http/tests/w3c/webperf/approved/UserTiming/test_user_timing_mark-expected.txt
+++ b/LayoutTests/http/tests/w3c/webperf/approved/UserTiming/test_user_timing_mark-expected.txt
@@ -1,11 +1,5 @@
-Description
-
-This test validates that the performance.mark() method is working properly. This test creates the following marks to test this method:
-
-"mark1": created using a normal mark() call
-"mark1": duplicate of the first mark, used to confirm names can be re-used
After creating each mark, the existence of these marks 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("mark1")[0].name == "mark1"
PASS window.performance.getEntriesByName("mark1")[0].startTime ~== (up to 20ms difference allowed)
@@ -27,4 +21,5 @@ PASS window.performance.getEntriesByType("mark") returns an object containing th
PASS window.performance.getEntriesByType("mark") returns an object containing the duplicate "mark1" mark in the correct order
PASS The "mark1" mark returned by window.performance.getEntriesByType("mark") matches the the "mark1" mark returned by window.performance.getEntriesByName("mark1")
PASS The "mark1" mark returned by window.performance.getEntriesByType("mark") matches the the duplicate "mark1" mark returned by window.performance.getEntriesByName("mark1")
+Harness: the test ran to completion.

Powered by Google App Engine
This is Rietveld 408576698