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