| Index: LayoutTests/http/tests/inspector/console-cross-origin-iframe-logging.html
|
| diff --git a/LayoutTests/http/tests/inspector/console-cross-origin-iframe-logging.html b/LayoutTests/http/tests/inspector/console-cross-origin-iframe-logging.html
|
| index 57d21a51ec3260144d4acd6ba038f39fcaa7841c..0fb12cc4dfe2851c0ae83c492838c25820e89cc0 100644
|
| --- a/LayoutTests/http/tests/inspector/console-cross-origin-iframe-logging.html
|
| +++ b/LayoutTests/http/tests/inspector/console-cross-origin-iframe-logging.html
|
| @@ -6,10 +6,14 @@
|
| function accessFrame()
|
| {
|
| // Should fail.
|
| - var host = frames[0].location.host;
|
| + try {
|
| + var host = frames[0].location.host;
|
| + } catch (e) {}
|
|
|
| // Should fail.
|
| - frames[0].location.reload();
|
| + try {
|
| + frames[0].location.reload();
|
| + } catch (e) {}
|
|
|
| // Should fail.
|
| frames[0].postMessage("fail", "http://127.0.0.1:8000");
|
|
|