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

Unified Diff: LayoutTests/fast/canvas/canvas-createImageBitmap-immutable.html

Issue 209853010: [ABANDONED] Enable V8 Promises (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 8 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
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/js/Promise-native-then-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/canvas/canvas-createImageBitmap-immutable.html
diff --git a/LayoutTests/fast/canvas/canvas-createImageBitmap-immutable.html b/LayoutTests/fast/canvas/canvas-createImageBitmap-immutable.html
index 64a709585b0265ff48a728a6393167a7d853b3a3..739cb46d45d774dac1bb8c4f21a4f5ecd0ac7b94 100644
--- a/LayoutTests/fast/canvas/canvas-createImageBitmap-immutable.html
+++ b/LayoutTests/fast/canvas/canvas-createImageBitmap-immutable.html
@@ -74,10 +74,10 @@ function callback(name) {
imageBitmaps.image = imageBitmap;
image.onload = function() {
ctx.drawImage(imageBitmaps.image, 0, 0);
+ createImageBitmap(imageBitmaps.image).then(callback('ImageBitmapImage'));
checkIfDone();
};
image.src = bCanvas.toDataURL();
- createImageBitmap(imageBitmaps.image).then(callback('ImageBitmapImage'));
break;
case 'Data':
imageBitmaps.data = imageBitmap;
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/js/Promise-native-then-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698