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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/misc/resources/run-async-tasks-promise.js

Issue 2045183002: [DO NOT SUBMIT] [OBSOLETE] Add layout tests for ResourceTiming sizes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move PHP files to /misc/resources and factor out and rename runLoop(). Created 4 years, 5 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/http/tests/misc/resources/gzip-content-encoding.php ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Returns a promise while will let queued asynchronous tasks run before
2 // resolving.
3 function runAsyncTasks() {
4 return new Promise((resolve, reject) => {
5 setTimeout(() => resolve(), 0);
6 });
7 }
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/http/tests/misc/resources/gzip-content-encoding.php ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698