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

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

Issue 2105713002: Render process changes for ResourceTiming sizes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@resource_timing_sizes_browser_process
Patch Set: Initialise encoded_body_length for sync XHR to data: URLs 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
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

Powered by Google App Engine
This is Rietveld 408576698