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

Unified Diff: chrome/test/data/extensions/platform_apps/iframes/main.js

Issue 2737673002: [WIP] Synthetic repro for bug 693720
Patch Set: Extensions thing. Created 3 years, 9 months 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
« no previous file with comments | « chrome/common/chrome_content_client.cc ('k') | chrome/test/data/extensions/uitest/window_open/newtab.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
+
]);
});
« no previous file with comments | « chrome/common/chrome_content_client.cc ('k') | chrome/test/data/extensions/uitest/window_open/newtab.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698