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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 Description
2
3 This test validates that the performance.measure() method is working properly. T his test creates the following measures to test this method:
4
5 "measure_no_start_no_end": created using a measure() call without a startMark or endMark provided
6 "measure_start_no_end": created using a measure() call with only the startMark p rovided
7 "measure_start_end": created using a measure() call with both a startMark or end Mark provided
8 "measure_no_start_no_end": duplicate of the first measure, used to confirm names can be re-used
9 After creating each measure, the existence of these measures is validated by cal ling performance.getEntriesByName() (both with and without the entryType paramet er provided), performance.getEntriesByType(), and performance.getEntries() 1 After creating each measure, the existence of these measures is validated by cal ling performance.getEntriesByName() (both with and without the entryType paramet er provided), performance.getEntriesByType(), and performance.getEntries()
10 2 This is a testharness.js-based test.
11 PASS window.performance is defined 3 PASS window.performance is defined
12 PASS window.performance.getEntriesByName("measure_no_start_no_end")[0].name == " measure_no_start_no_end" 4 PASS window.performance.getEntriesByName("measure_no_start_no_end")[0].name == " measure_no_start_no_end"
13 PASS window.performance.getEntriesByName("measure_no_start_no_end")[0].startTime == 5 PASS window.performance.getEntriesByName("measure_no_start_no_end")[0].startTime ==
14 PASS window.performance.getEntriesByName("measure_no_start_no_end")[0].entryType == "measure" 6 PASS window.performance.getEntriesByName("measure_no_start_no_end")[0].entryType == "measure"
15 PASS window.performance.getEntriesByName("measure_no_start_no_end")[0].duration ~== (up to 20ms difference allowed) 7 PASS window.performance.getEntriesByName("measure_no_start_no_end")[0].duration ~== (up to 20ms difference allowed)
16 PASS window.performance.getEntriesByName("measure_start_no_end")[0].name == "mea sure_start_no_end" 8 PASS window.performance.getEntriesByName("measure_start_no_end")[0].name == "mea sure_start_no_end"
17 PASS window.performance.getEntriesByName("measure_start_no_end")[0].startTime == 9 PASS window.performance.getEntriesByName("measure_start_no_end")[0].startTime ==
18 PASS window.performance.getEntriesByName("measure_start_no_end")[0].entryType == "measure" 10 PASS window.performance.getEntriesByName("measure_start_no_end")[0].entryType == "measure"
19 PASS window.performance.getEntriesByName("measure_start_no_end")[0].duration ~== (up to 20ms difference allowed) 11 PASS window.performance.getEntriesByName("measure_start_no_end")[0].duration ~== (up to 20ms difference allowed)
20 PASS window.performance.getEntriesByName("measure_start_end")[0].name == "measur e_start_end" 12 PASS window.performance.getEntriesByName("measure_start_end")[0].name == "measur e_start_end"
(...skipping 11 matching lines...) Expand all
32 PASS window.performance.getEntries() returns an object containing the "measure_n o_start_no_end" measure, and it's value matches the measure returned by window.p erformance.getEntriesByName("measure_no_start_no_end")[0]. 24 PASS window.performance.getEntries() returns an object containing the "measure_n o_start_no_end" measure, and it's value matches the measure returned by window.p erformance.getEntriesByName("measure_no_start_no_end")[0].
33 PASS window.performance.getEntries() returns an object containing the "measure_s tart_no_end" measure, and it's value matches the measure returned by window.perf ormance.getEntriesByName("measure_start_no_end")[0]. 25 PASS window.performance.getEntries() returns an object containing the "measure_s tart_no_end" measure, and it's value matches the measure returned by window.perf ormance.getEntriesByName("measure_start_no_end")[0].
34 PASS window.performance.getEntries() returns an object containing the "measure_s tart_end" measure, and it's value matches the measure returned by window.perform ance.getEntriesByName("measure_start_end")[0]. 26 PASS window.performance.getEntries() returns an object containing the "measure_s tart_end" measure, and it's value matches the measure returned by window.perform ance.getEntriesByName("measure_start_end")[0].
35 PASS window.performance.getEntries() returns an object containing the "measure_n o_start_no_end" measure, and it's value matches the measure returned by window.p erformance.getEntriesByName("measure_no_start_no_end")[1]. 27 PASS window.performance.getEntries() returns an object containing the "measure_n o_start_no_end" measure, and it's value matches the measure returned by window.p erformance.getEntriesByName("measure_no_start_no_end")[1].
36 PASS window.performance.getEntries() returns an object containing all test measu res in order. 28 PASS window.performance.getEntries() returns an object containing all test measu res in order.
37 PASS window.performance.getEntriesByType("measure") returns an object containing the "measure_no_start_no_end" measure, and it's value matches the measure retur ned by window.performance.getEntriesByName("measure_no_start_no_end")[0]. 29 PASS window.performance.getEntriesByType("measure") returns an object containing the "measure_no_start_no_end" measure, and it's value matches the measure retur ned by window.performance.getEntriesByName("measure_no_start_no_end")[0].
38 PASS window.performance.getEntriesByType("measure") returns an object containing the "measure_start_no_end" measure, and it's value matches the measure returned by window.performance.getEntriesByName("measure_start_no_end")[0]. 30 PASS window.performance.getEntriesByType("measure") returns an object containing the "measure_start_no_end" measure, and it's value matches the measure returned by window.performance.getEntriesByName("measure_start_no_end")[0].
39 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]. 31 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].
40 PASS window.performance.getEntriesByType("measure") returns an object containing the "measure_no_start_no_end" measure, and it's value matches the measure retur ned by window.performance.getEntriesByName("measure_no_start_no_end")[1]. 32 PASS window.performance.getEntriesByType("measure") returns an object containing the "measure_no_start_no_end" measure, and it's value matches the measure retur ned by window.performance.getEntriesByName("measure_no_start_no_end")[1].
41 PASS window.performance.getEntriesByType("measure") returns an object containing all test measures in order. 33 PASS window.performance.getEntriesByType("measure") returns an object containing all test measures in order.
34 Harness: the test ran to completion.
42 35
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698