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

Unified Diff: chrome_frame/test/data/chrome_frame_tester_helpers.js

Issue 345032: Updates CFInstall.js to:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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_frame/test/data/CFInstall_place.html ('k') | chrome_frame/test/http_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/test/data/chrome_frame_tester_helpers.js
===================================================================
--- chrome_frame/test/data/chrome_frame_tester_helpers.js (revision 31504)
+++ chrome_frame/test/data/chrome_frame_tester_helpers.js (working copy)
@@ -9,6 +9,10 @@
onFinished(name, id, status);
}
+function byId(id) {
+ return document.getElementById(id);
+}
+
function getXHRObject(){
var XMLHTTP_PROGIDS = ['Msxml2.XMLHTTP', 'Microsoft.XMLHTTP',
'Msxml2.XMLHTTP.4.0'];
@@ -91,7 +95,7 @@
}
function appendStatus(message) {
- var statusPanel = document.getElementById("statusPanel");
+ var statusPanel = byId("statusPanel");
if (statusPanel) {
statusPanel.innerHTML += '<BR>' + message;
}
« no previous file with comments | « chrome_frame/test/data/CFInstall_place.html ('k') | chrome_frame/test/http_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698