Bug 1133617 - Reftest Analyzer: Use process_log() directly instead of log_pasted() for log from url or param. r=dbaron DONTBUILD
authorXidorn Quan <quanxunzhen@gmail.com>
Tue, 17 Feb 2015 14:05:23 +1300
changeset 256525 77accbb4e3f956db2e2ea32f9ac6e49778309e38
parent 256524 991c40f008981e12a3ef6d56fc2e4e3a27aa0775
child 256526 2ad44003f7be5f8f8e8b0e0ac9d527b3444d8c1c
push id4610
push userjlund@mozilla.com
push dateMon, 30 Mar 2015 18:32:55 +0000
treeherdermozilla-beta@4df54044d9ef [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdbaron
bugs1133617
milestone38.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1133617 - Reftest Analyzer: Use process_log() directly instead of log_pasted() for log from url or param. r=dbaron DONTBUILD
layout/tools/reftest/reftest-analyzer.xhtml
--- a/layout/tools/reftest/reftest-analyzer.xhtml
+++ b/layout/tools/reftest/reftest-analyzer.xhtml
@@ -99,24 +99,24 @@ function hash_parameters() {
   return result;
 }
 
 function load() {
   gPhases = [ ID("entry"), ID("loading"), ID("viewer") ];
   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);
     req.send();
   }
   window.addEventListener('keypress', maybe_load_image, false);
   ID("image1").addEventListener('error', image_load_error, false);
   ID("image2").addEventListener('error', image_load_error, false);