| Index: chrome/test/data/extensions/api_test/sandboxed_pages/sandboxed.html
|
| diff --git a/chrome/test/data/extensions/api_test/sandboxed_pages/sandboxed.html b/chrome/test/data/extensions/api_test/sandboxed_pages/sandboxed.html
|
| index 78e79c1a121f7cf5714a5b7673f4810ea40eebaa..97a6372b41c4a9a7d698b41412265c32f82ee397 100644
|
| --- a/chrome/test/data/extensions/api_test/sandboxed_pages/sandboxed.html
|
| +++ b/chrome/test/data/extensions/api_test/sandboxed_pages/sandboxed.html
|
| @@ -11,6 +11,10 @@ onload = function() {
|
| }
|
|
|
| var mainWindow = window.opener || window.top;
|
| - mainWindow.postMessage(mainWindow.secret, '*');
|
| + var mainWindowSecret = undefined;
|
| + try {
|
| + mainWindowSecret = mainWindow.secret;
|
| + } catch(e) {}
|
| + mainWindow.postMessage(mainWindowSecret, '*');
|
| };
|
| </script>
|
|
|