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

Issue 536163002: Teach the network simulator to wait for Promises. (Closed)

Created:
6 years, 3 months ago by Jeffrey Yasskin
Modified:
6 years, 3 months ago
Reviewers:
ojan
CC:
ojan, blink-reviews, cbiesinger, dsinclair, jochen (gone - plz use gerrit), leviw_travelin_and_unemployed, michaelpg, szager1, teravest
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Teach the network simulator to wait for Promises. Before, it would continue as soon as the user's function returned, which might not wait adequately for Promises in the user's code. NOTRY=true Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181404

Patch Set 1 #

Total comments: 9
Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -69 lines) Patch
M Tools/GardeningServer/lib/network-simulator.html View 2 chunks +17 lines, -20 lines 8 comments Download
M Tools/GardeningServer/model/test/tree-status-tests.html View 2 chunks +2 lines, -2 lines 0 comments Download
M Tools/GardeningServer/scripts/test/results-tests.html View 1 chunk +51 lines, -47 lines 1 comment Download

Messages

Total messages: 10 (4 generated)
Jeffrey Yasskin
https://codereview.chromium.org/536163002/diff/1/Tools/GardeningServer/lib/network-simulator.html File Tools/GardeningServer/lib/network-simulator.html (left): https://codereview.chromium.org/536163002/diff/1/Tools/GardeningServer/lib/network-simulator.html#oldcode47 Tools/GardeningServer/lib/network-simulator.html:47: return new Promise(function(resolve, reject) { I think it's an ...
6 years, 3 months ago (2014-09-03 22:11:50 UTC) #2
ojan
lgtm https://codereview.chromium.org/536163002/diff/1/Tools/GardeningServer/lib/network-simulator.html File Tools/GardeningServer/lib/network-simulator.html (right): https://codereview.chromium.org/536163002/diff/1/Tools/GardeningServer/lib/network-simulator.html#newcode78 Tools/GardeningServer/lib/network-simulator.html:78: self._assert(false, "Failed to finish test:" + e); On ...
6 years, 3 months ago (2014-09-04 18:26:54 UTC) #3
Jeffrey Yasskin
Thanks! https://codereview.chromium.org/536163002/diff/1/Tools/GardeningServer/lib/network-simulator.html File Tools/GardeningServer/lib/network-simulator.html (right): https://codereview.chromium.org/536163002/diff/1/Tools/GardeningServer/lib/network-simulator.html#newcode78 Tools/GardeningServer/lib/network-simulator.html:78: self._assert(false, "Failed to finish test:" + e); On ...
6 years, 3 months ago (2014-09-04 18:48:11 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jyasskin@chromium.org/536163002/1
6 years, 3 months ago (2014-09-04 18:48:33 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jyasskin@chromium.org/536163002/1
6 years, 3 months ago (2014-09-04 21:59:29 UTC) #9
commit-bot: I haz the power
6 years, 3 months ago (2014-09-04 22:00:28 UTC) #10
Message was sent while issue was closed.
Committed patchset #1 (id:1) as 181404

Powered by Google App Engine
This is Rietveld 408576698