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

Unified Diff: chrome/renderer/resources/neterror.html

Issue 22001002: Use the connectivity diagnostics launcher so that it can open as an App (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix line length Created 7 years, 5 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/extensions/extension_constants.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/resources/neterror.html
diff --git a/chrome/renderer/resources/neterror.html b/chrome/renderer/resources/neterror.html
index 3a9edafeecf8170ac5b13d1b90c222336cb56007..e29dd39a30006363b99c0d90fd032f53677e5423 100644
--- a/chrome/renderer/resources/neterror.html
+++ b/chrome/renderer/resources/neterror.html
@@ -311,7 +311,12 @@ function toggleHelpBox() {
}
function diagnoseErrors() {
- location = "chrome-extension://kodldpbjkkmmnilagfdheibampofhaom/index.html";
+ var extension_id = "idddmepepmjcgiedknnmlbadcokidhoa";
+ var diagnose_frame = document.getElementById('diagnose-frame');
+ diagnose_frame.innerHTML =
+ '<iframe src="+chrome-extension://' + extension_id +
+ '/index.html"></iframe>';
+
}
// Subframes use a different layout but the same html file. This is to make it
@@ -364,6 +369,7 @@ document.addEventListener("DOMContentLoaded", swapButtonOrder);
</div>
<button id="diagnose-button" onclick="diagnoseErrors()"
jscontent="diagnose" jsdisplay="diagnose"></button>
+ <div id="diagnose-frame" class="hidden"></div>
<div class="error-code" jscontent="errorCode"></div>
</div>
</div>
« no previous file with comments | « chrome/common/extensions/extension_constants.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698