| 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);
|
|
|