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

Unified Diff: third_party/WebKit/LayoutTests/virtual/threaded/fast/canvas-toBlob/canvas-toBlob-invalid-expected.txt

Issue 1669713002: Reland Simplify CanvasAsyncBlobCreator by removing ContextObserver and tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed leak problem Created 4 years, 11 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: third_party/WebKit/LayoutTests/virtual/threaded/fast/canvas-toBlob/canvas-toBlob-invalid-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/canvas-toBlob-invalid-expected.txt b/third_party/WebKit/LayoutTests/virtual/threaded/fast/canvas-toBlob/canvas-toBlob-invalid-expected.txt
similarity index 77%
rename from third_party/WebKit/LayoutTests/fast/canvas/canvas-toBlob-invalid-expected.txt
rename to third_party/WebKit/LayoutTests/virtual/threaded/fast/canvas-toBlob/canvas-toBlob-invalid-expected.txt
index cbe19275721ffc7196002de5184282c77ae040c2..010997839ce2cb6f8c9f6efee28eb20a47d18afe 100644
--- a/third_party/WebKit/LayoutTests/fast/canvas/canvas-toBlob-invalid-expected.txt
+++ b/third_party/WebKit/LayoutTests/virtual/threaded/fast/canvas-toBlob/canvas-toBlob-invalid-expected.txt
@@ -6,8 +6,8 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
PASS canvas.toBlob(); threw exception TypeError: Failed to execute 'toBlob' on 'HTMLCanvasElement': 1 argument required, but only 0 present..
PASS canvas.toBlob(null); threw exception TypeError: Failed to execute 'toBlob' on 'HTMLCanvasElement': The callback provided as parameter 1 is not a function..
PASS canvas.toBlob(undefined); threw exception TypeError: Failed to execute 'toBlob' on 'HTMLCanvasElement': The callback provided as parameter 1 is not a function..
-PASS canvas.toBlob(function() {}); did not throw exception.
-PASS canvas.toBlob(function(blob) {}, 'image/jpeg', 500) did not throw exception.
+PASS canvas.toBlob(function() { finishOneAsyncCall(); }); did not throw exception.
+PASS canvas.toBlob(function(blob) { finishOneAsyncCall(); }, 'image/jpeg', 500) did not throw exception.
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698