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

Unified Diff: chrome/test/data/extensions/platform_apps/web_view/interstitial_teardown/embedder.js

Issue 2797473005: Fix interstitials on OOPIF-based guests. (Closed)
Patch Set: rebase Created 3 years, 8 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
Index: chrome/test/data/extensions/platform_apps/web_view/interstitial_teardown/embedder.js
diff --git a/chrome/test/data/extensions/platform_apps/web_view/interstitial_teardown/embedder.js b/chrome/test/data/extensions/platform_apps/web_view/interstitial_teardown/embedder.js
index 49650303ef61cd6866ef62168c5c349d8b3a8e63..57475d88afbb548546d1909bbab616d386dcac0f 100644
--- a/chrome/test/data/extensions/platform_apps/web_view/interstitial_teardown/embedder.js
+++ b/chrome/test/data/extensions/platform_apps/web_view/interstitial_teardown/embedder.js
@@ -12,6 +12,9 @@ window.loadGuest = function(port) {
'interstitial_teardown/https_page.html';
window.console.log('guestSrcHTTPS: ' + guestSrcHTTPS);
webview.setAttribute('src', guestSrcHTTPS);
+ webview.style.position = 'fixed';
+ webview.style.left = '0px';
+ webview.style.top = '0px';
document.body.appendChild(webview);
chrome.test.sendMessage('GuestAddedToDom');

Powered by Google App Engine
This is Rietveld 408576698