| 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);
|
|
|
|
|