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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/user-timing/test_user_timing_measure.html

Issue 1666363003: Import web-platform-tests@27e3d93f88a71a249d1df872a5d613b3243b9588 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missed win failiure in TestExpectations Created 4 years, 10 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: 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)

Powered by Google App Engine
This is Rietveld 408576698