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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/user-timing/test_user_timing_measure_navigation_timing.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
« no previous file with comments | « third_party/WebKit/LayoutTests/imported/web-platform-tests/user-timing/test_user_timing_measure.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/user-timing/test_user_timing_measure_navigation_timing.html
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/user-timing/test_user_timing_measure_navigation_timing.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/user-timing/test_user_timing_measure_navigation_timing.html
index 5c3a6d067b4c9cbb6a33b0544789bc5c79cc2e4d..2b2b7f747769783807832f013220349e7621e071 100644
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/user-timing/test_user_timing_measure_navigation_timing.html
+++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/user-timing/test_user_timing_measure_navigation_timing.html
@@ -198,7 +198,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\"");
@@ -206,7 +206,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 aproximately correct (up to " + testThreshold + "ms difference allowed)");
}
</script>
</head>
« no previous file with comments | « third_party/WebKit/LayoutTests/imported/web-platform-tests/user-timing/test_user_timing_measure.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698