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

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

Issue 99083002: WIP: Migrate generated bindings to new ExceptionState constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase. Created 7 years 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.html
diff --git a/LayoutTests/http/tests/security/cross-origin-createImageBitmap.html b/LayoutTests/http/tests/security/cross-origin-createImageBitmap.html
index ae217caa39d199a37f071f436fe0aad506b69bbe..e5de679f1d510e5062fca3dd11e7c753b14da9e9 100644
--- a/LayoutTests/http/tests/security/cross-origin-createImageBitmap.html
+++ b/LayoutTests/http/tests/security/cross-origin-createImageBitmap.html
@@ -11,12 +11,12 @@
document.body.appendChild(img);
img.src = 'http://localhost:8080/security/resources/abe.png';
- shouldThrow('createImageBitmap(img, 0, 0, 10, 10)', '"SecurityError: Failed to execute \'createImageBitmap\' on \'ImageBitmapFactories\': cross-origin access to the source image is denied."');
+ shouldThrow('createImageBitmap(img, 0, 0, 10, 10)', '"SecurityError: Failed to execute \'createImageBitmap\' on \'Window\': cross-origin access to the source image is denied."');
var vid = document.createElement('video');
vid.src = 'http://localhost:8080/media/resources/load-video.php?name=test.ogv&type=video/ogv';
vid.addEventListener('playing', function () {
- shouldThrow('createImageBitmap(vid, 0, 0, 10, 10)', '"SecurityError: Failed to execute \'createImageBitmap\' on \'ImageBitmapFactories\': cross-origin access to the source video is denied."');
+ shouldThrow('createImageBitmap(vid, 0, 0, 10, 10)', '"SecurityError: Failed to execute \'createImageBitmap\' on \'Window\': cross-origin access to the source video is denied."');
finishJSTest();
});
document.body.appendChild(vid);

Powered by Google App Engine
This is Rietveld 408576698