Bug 1133617 - Reftest Analyzer: Use process_log() directly instead of log_pasted() for log from url or param. r=dbaron DONTBUILD

--HG--
extra : source : feda36730b72911921c9806ca897c512a4d82e1f
This commit is contained in:
Xidorn Quan 2015-02-17 14:05:23 +13:00
parent 3bd4178434
commit ef1761e1f6

View File

@ -104,14 +104,14 @@ function load() {
build_mag();
gParams = hash_parameters();
if (gParams.log) {
ID("logentry").value = gParams.log;
log_pasted();
show_phase("loading");
process_log(gParams.log);
} else if (gParams.logurl) {
show_phase("loading");
var req = new XMLHttpRequest();
req.onreadystatechange = function() {
if (req.readyState === 4) {
ID("logentry").value = req.responseText;
log_pasted();
process_log(req.responseText);
}
};
req.open('GET', gParams.logurl, true);