Fix whitespace and modelines in reftest-analyzer. No bug.
authorL. David Baron <dbaron@dbaron.org>
Sun, 16 Feb 2014 16:05:09 -0800
changeset 169444 a033d0af07bf1706bc38d09bf208f80b575bc571
parent 169443 89b9078be02af6485b8d035281abe9a8fda69c7b
child 169445 e8c41ecfc04526f50ce7a5453d925d40b50d87c1
push id270
push userpvanderbeken@mozilla.com
push dateThu, 06 Mar 2014 09:24:21 +0000
milestone30.0a1
Fix whitespace and modelines in reftest-analyzer. No bug.
layout/tools/reftest/reftest-analyzer.xhtml
--- a/layout/tools/reftest/reftest-analyzer.xhtml
+++ b/layout/tools/reftest/reftest-analyzer.xhtml
@@ -1,11 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- -*- Mode: HTML; tab-width: 4; indent-tabs-mode: nil; -*- -->
-<!-- vim: set shiftwidth=4 tabstop=4 autoindent noexpandtab: -->
+<!-- -*- Mode: HTML; tab-width: 2; indent-tabs-mode: nil; -*- -->
+<!-- vim: set shiftwidth=2 tabstop=2 autoindent expandtab: -->
 <!-- This Source Code Form is subject to the terms of the Mozilla Public
    - License, v. 2.0. If a copy of the MPL was not distributed with this
    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
 <!--
 
 Features to add:
 * make the left and right parts of the viewer independently scrollable
 * make the test list filterable
@@ -174,17 +174,17 @@ function fileentry_changed() {
     // The parts of the log we care about are ASCII-only.  Since we
     // can ignore lines we don't care about, best to read in as
     // iso-8859-1, which guarantees we don't get decoding errors.
     var fileReader = new FileReader();
     fileReader.onload = function(e) {
       var log = null;
 
       log = e.target.result;
-      
+
       if (log)
         process_log(log);
       else
         show_phase("entry");
     }
     fileReader.readAsText(files[0], "iso-8859-1");
   }
   // So the user can process the same filename again (after
@@ -212,17 +212,17 @@ function process_log(contents) {
     if (!match)
       continue;
     line = match[1];
     match = line.match(/^(TEST-PASS|TEST-UNEXPECTED-PASS|TEST-KNOWN-FAIL|TEST-UNEXPECTED-FAIL|TEST-DEBUG-INFO)(\(EXPECTED RANDOM\)|) \| ([^\|]+) \|(.*)/);
     if (match) {
       var state = match[1];
       var random = match[2];
       var url = match[3];
-                        var extra = match[4];
+      var extra = match[4];
       gTestItems.push(
         {
           pass: !state.match(/DEBUG-INFO$|FAIL$/),
           // only one of the following three should ever be true
           unexpected: !!state.match(/^TEST-UNEXPECTED/),
           random: (random == "(EXPECTED RANDOM)"),
           skip: (extra == " (SKIP)"),
           url: url,