| Index: third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/timeline-script-id.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/timeline-script-id.html b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/timeline-script-id.html
|
| index b0e22aa78d1e2df79f6be0a10b4a8a5a30edb727..a2d24aa469a3ce81f5af02d9b6734328a3e0559e 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/timeline-script-id.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/timeline-script-id.html
|
| @@ -6,11 +6,14 @@
|
|
|
| function test()
|
| {
|
| - function performActions(callback)
|
| + function performActions()
|
| {
|
| + var callback;
|
| + var promise = new Promise((fulfill) => callback = fulfill);
|
| var timerOne = setTimeout("1 + 1", 10);
|
| var timerTwo = setInterval(intervalTimerWork, 20);
|
| var iteration = 0;
|
| + return promise;
|
|
|
| function intervalTimerWork()
|
| {
|
|
|