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

Unified Diff: LayoutTests/http/tests/w3c/webperf/approved/UserTiming/test_user_timing_clear_marks-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_clear_marks-expected.txt
diff --git a/LayoutTests/http/tests/w3c/webperf/approved/UserTiming/test_user_timing_clear_marks-expected.txt b/LayoutTests/http/tests/w3c/webperf/approved/UserTiming/test_user_timing_clear_marks-expected.txt
index 2beb16502e7beb33b9397701cde997a55ece5359..5e8b8efe14377211ffefa37127c3085f7e4b14a8 100644
--- a/LayoutTests/http/tests/w3c/webperf/approved/UserTiming/test_user_timing_clear_marks-expected.txt
+++ b/LayoutTests/http/tests/w3c/webperf/approved/UserTiming/test_user_timing_clear_marks-expected.txt
@@ -1,11 +1,5 @@
-Description
-
-This test validates that the performance.clearMarks() method is working properly. This test creates the following marks to test this method:
-
-"mark1"
-"mark2"
After creating each mark, performance.clearMarks() is called three times. First, it is provided with a name of "markUndefined", a non-existent mark, which shouldn't change the state of the Performance Timeline. Next, it is provided with a name of "mark2", after which, this mark should no longer be present in the Performance Timeline. Finally, performance.clearMarks() is called without any name provided. After this call, no marks should be present in the Performance Timeline. The state of the Performance Timeline is tested with the performance.getEntriesByType() and performance.getEntries() methods.
-
+This is a testharness.js-based test.
PASS window.performance is defined
PASS Two marks have been created for this test.
PASS After a call to window.performance.clearMarks("markUndefined"), where "markUndefined" is a non-existent mark, window.performance.getEntriesByName("mark1") returns an object containing the "mark1" mark.
@@ -13,4 +7,5 @@ PASS After a call to window.performance.clearMarks("markUndefined"), where "mark
PASS After a call to window.performance.clearMarks("mark1"), window.performance.getEntriesByName("mark1") returns an empty object.
PASS After a call to window.performance.clearMarks("mark1"), window.performance.getEntriesByName("mark2") returns an object containing the "mark2" mark.
PASS After a call to window.performance.clearMarks(), window.performance.getEntriesByType("mark") returns an empty object.
+Harness: the test ran to completion.

Powered by Google App Engine
This is Rietveld 408576698