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

Unified Diff: LayoutTests/fast/canvas/canvas-createImageBitmap-drawImage-video.html

Issue 24641003: Implement Promise.all (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/canvas/canvas-createImageBitmap-drawImage-video.html
diff --git a/LayoutTests/fast/canvas/canvas-createImageBitmap-drawImage-video.html b/LayoutTests/fast/canvas/canvas-createImageBitmap-drawImage-video.html
index 83ca4dc43f2bbc9cd9d5455ab2b17cb827a08501..3ea06a17ba305e4e5ede76dbe3ed7e84d386ea00 100644
--- a/LayoutTests/fast/canvas/canvas-createImageBitmap-drawImage-video.html
+++ b/LayoutTests/fast/canvas/canvas-createImageBitmap-drawImage-video.html
@@ -67,7 +67,7 @@ function videoLoaded() {
var p8 = createImageBitmap(video, -300, -300, 300, 300).then(function (image) { imageBitmaps.empty = image });
var p9 = createImageBitmap(video, 400, 300, 300, 300).then(function (image) { imageBitmaps.emptyTwo = image });
- Promise.every(p1, p2, p3, p4, p5, p6, p7, p8, p9).then(function() {
+ Promise.all([p1, p2, p3, p4, p5, p6, p7, p8, p9]).then(function() {
checkNoCrop(imageBitmaps.noCrop);
checkCrop(imageBitmaps.crop);
checkCrop(imageBitmaps.cropRight);

Powered by Google App Engine
This is Rietveld 408576698