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

Unified Diff: LayoutTests/http/tests/security/cross-origin-createImageBitmap-expected.txt

Issue 23548041: Improve createImageBitmap SecurityError exception messages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: test 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/http/tests/security/cross-origin-createImageBitmap-expected.txt
diff --git a/LayoutTests/http/tests/security/cross-origin-createImageBitmap-expected.txt b/LayoutTests/http/tests/security/cross-origin-createImageBitmap-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e09ce0b4bdd77f4781aa2cce9f57af8eacdf811
--- /dev/null
+++ b/LayoutTests/http/tests/security/cross-origin-createImageBitmap-expected.txt
@@ -0,0 +1,11 @@
+The image bitmap factories should throw exceptions on cross-origin access.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS createImageBitmap(img, 0, 0, 10, 10) threw exception SecurityError: Failed to execute 'createImageBitmap' on 'ImageBitmapFactories': cross-origin access to the source image is denied..
+PASS createImageBitmap(vid, 0, 0, 10, 10) threw exception SecurityError: Failed to execute 'createImageBitmap' on 'ImageBitmapFactories': cross-origin access to the source video is denied..
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698