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

Unified Diff: chrome/installer/setup/eula/oem.js

Issue 7309008: Change the system-level EULA dialog to not use GET parameters with res:// urls. Instead use the d... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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 | « no previous file | chrome/installer/setup/setup_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/setup/eula/oem.js
===================================================================
--- chrome/installer/setup/eula/oem.js (revision 91469)
+++ chrome/installer/setup/eula/oem.js (working copy)
@@ -1,8 +1,8 @@
function setInnerFrame() {
- var regex = new RegExp("\\?innerframe=\"?([^&#\"]*)\"?");
- var results = regex.exec(window.location.href);
- if(results && results[1])
- document.getElementById('ifr').src = results[1];
+ var inner_frame = window.dialogArguments;
+ if (inner_frame) {
+ document.getElementById('ifr').src = inner_frame;
+ }
}
function checkAccept(f) {
« no previous file with comments | « no previous file | chrome/installer/setup/setup_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698