| Index: chrome/test/data/extensions/platform_apps/iframes/main.js
|
| diff --git a/chrome/test/data/extensions/platform_apps/iframes/main.js b/chrome/test/data/extensions/platform_apps/iframes/main.js
|
| index 4634b7252beb35b8c7c8feb4f85d36c5663848b2..cbd467874928eba029c05620384b39e950180912 100644
|
| --- a/chrome/test/data/extensions/platform_apps/iframes/main.js
|
| +++ b/chrome/test/data/extensions/platform_apps/iframes/main.js
|
| @@ -7,6 +7,7 @@ chrome.test.getConfig(function(config) {
|
| var DATA_URL = 'data:text/plain,This frame should be displayed.';
|
| var REMOTE_URL = 'http://localhost:' + config.testServer.port
|
| '/extensions/platform_apps/iframes/remote-iframe.html';
|
| + var EXTENSION_URL = 'chrome-extension://bflfoohhdbcfojbnfcnjpifhimomlgmp/newtab.html'
|
|
|
| chrome.test.runTests([
|
| function localIframe() {
|
| @@ -77,6 +78,17 @@ chrome.test.getConfig(function(config) {
|
| // Load failure should happen synchronously, but wait a bit before
|
| // declaring success.
|
| setTimeout(chrome.test.succeed, 500);
|
| + },
|
| +
|
| + function extensionIframe() {
|
| + var iframe = document.createElement('iframe');
|
| + iframe.src = EXTENSION_URL;
|
| + document.body.appendChild(iframe);
|
| +
|
| + // Load failure should happen synchronously, but wait a bit before
|
| + // declaring success.
|
| + setTimeout(chrome.test.succeed, 500);
|
| }
|
| +
|
| ]);
|
| });
|
|
|