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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/performance-timing/longtask/longtask-attributes.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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/performance-timing/longtask/longtask-externalscript.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/performance-timing/longtask/longtask-attributes.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/performance-timing/longtask/longtask-attributes.html b/third_party/WebKit/LayoutTests/http/tests/performance-timing/longtask/longtask-attributes.html
index f2db95a75435cf5bd9c9ba0bfbe31eb5bc902eed..306c4af497d75f53cc802c1f502730eda0b44bbd 100644
--- a/third_party/WebKit/LayoutTests/http/tests/performance-timing/longtask/longtask-attributes.html
+++ b/third_party/WebKit/LayoutTests/http/tests/performance-timing/longtask/longtask-attributes.html
@@ -10,12 +10,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");
@@ -24,7 +21,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);
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/performance-timing/longtask/longtask-externalscript.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698