| Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/user-timing/test_user_timing_measure.html
|
| diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/user-timing/test_user_timing_measure.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/user-timing/test_user_timing_measure.html
|
| index 13051f404ce3ffffec248b3e7712cb7ed10fd39c..eaabe41d81628461d6180cc38da8f6f67db1693c 100644
|
| --- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/user-timing/test_user_timing_measure.html
|
| +++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/user-timing/test_user_timing_measure.html
|
| @@ -233,7 +233,7 @@
|
| // test startTime; since for a mark, the startTime is always equal to a mark's value or the value of a
|
| // navigation timing attribute, the actual startTime should match the expected value exactly
|
| test_true(Math.abs(measureEntry.startTime - expectedStartTime) == 0,
|
| - measureEntryCommand + ".startTime == " + expectedStartTime);
|
| + measureEntryCommand + ".startTime is correct");
|
|
|
| // test entryType
|
| test_true(measureEntry.entryType == "measure", measureEntryCommand + ".entryType == \"measure\"");
|
| @@ -241,7 +241,7 @@
|
| // test duration, allow for an acceptable threshold in the difference between the actual duration and the
|
| // expected value for the duration
|
| test_true(Math.abs(measureEntry.duration - expectedDuration) <= testThreshold, measureEntryCommand +
|
| - ".duration ~== " + expectedDuration + " (up to " + testThreshold + "ms difference allowed)");
|
| + ".duration is approximately correct (up to " + testThreshold + "ms difference allowed)");
|
| }
|
|
|
| function test_measure_list(measureEntryList, measureEntryListCommand, measureScenarios)
|
|
|