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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/performance-timing/longtask/longtask-raf.html

Issue 2636503003: minor name updates based on spec update at: https://wicg.github.io/longtasks (Closed)
Patch Set: update global-interface layout test expectation Created 3 years, 11 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/http/tests/performance-timing/longtask/longtask-raf.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/performance-timing/longtask/longtask-raf.html b/third_party/WebKit/LayoutTests/http/tests/performance-timing/longtask/longtask-raf.html
index 7edb8451a36916da06eeac60b504af2f06e47774..2c5492861e49281bc722148bbc730b8443ff0e5f 100644
--- a/third_party/WebKit/LayoutTests/http/tests/performance-timing/longtask/longtask-raf.html
+++ b/third_party/WebKit/LayoutTests/http/tests/performance-timing/longtask/longtask-raf.html
@@ -11,12 +11,9 @@ async_test(function (t) {
assert_equals(entries.length, 1,
"Exactly one entry is expected.");
var longtask = entries[0];
- assert_equals(longtask.entryType, "longtask",
- "entryType expected to be: longtask");
- assert_equals(longtask.name, "same-origin-self",
- "name expected to be: same-origin-self");
- assert_greater_than(longtask.duration, 50,
- "duration expected to be greater than 50ms threshold");
+ assert_equals(longtask.entryType, "longtask");
+ assert_equals(longtask.name, "self");
+ assert_greater_than(longtask.duration, 50);
assert_equals(longtask.startTime, Math.floor(longtask.startTime),
"startTime expected to have 1 miillisecond granularity");
@@ -25,7 +22,7 @@ async_test(function (t) {
"Exactly one attribution entry is expected");
var attribution = longtask.attribution[0];
assert_equals(attribution.entryType, "taskattribution");
- assert_equals(attribution.name, "frame");
+ assert_equals(attribution.name, "script");
assert_equals(attribution.duration, 0);
assert_equals(attribution.startTime, 0);

Powered by Google App Engine
This is Rietveld 408576698