Changeset 73320 in webkit
- Timestamp:
- Dec 3, 2010 5:46:22 PM (13 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r73317 r73320 1 2010-12-03 Mihai Parparita <mihaip@chromium.org> 2 3 Reviewed by Tony Chang. 4 5 Rebaseline server: use pretty text diff output 6 https://bugs.webkit.org/show_bug.cgi?id=50484 7 8 Serve *-pretty-diff.html for text diff output. 9 10 * Scripts/webkitpy/tool/commands/data/rebaselineserver/index.html: 11 * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.css: 12 * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.js: 13 * Scripts/webkitpy/tool/commands/rebaselineserver.py: 14 1 15 2010-12-03 Sheriff Bot <webkit.review.bot@gmail.com> 2 16 -
trunk/WebKitTools/Scripts/webkitpy/tool/commands/data/rebaselineserver/index.html
r72640 r73320 113 113 </tr> 114 114 <tr> 115 <td><pre id="expected-text" ></pre></td>116 <td><pre id="actual-text" ></pre></td>117 <td>< pre id="diff-text"><pre></td>115 <td><pre id="expected-text" class="text-output"></pre></td> 116 <td><pre id="actual-text" class="text-output"></pre></td> 117 <td><div id="diff-text-pretty" class="text-output"></div></td> 118 118 </tr> 119 119 </tbody> -
trunk/WebKitTools/Scripts/webkitpy/tool/commands/data/rebaselineserver/main.css
r72939 r73320 181 181 } 182 182 183 #text-outputs pre{183 #text-outputs .text-output { 184 184 height: 600px; 185 185 width: 800px; -
trunk/WebKitTools/Scripts/webkitpy/tool/commands/data/rebaselineserver/main.js
r73298 r73320 487 487 } 488 488 489 function loadTextResult(testName, mode )489 function loadTextResult(testName, mode, responseIsHtml) 490 490 { 491 491 loadText(getTestResultUrl(testName, mode), function(text) { 492 $(mode).textContent = text; 492 if (responseIsHtml) { 493 $(mode).innerHTML = text; 494 } else { 495 $(mode).textContent = text; 496 } 493 497 }); 494 498 } … … 498 502 loadTextResult(testName, 'expected-text'); 499 503 loadTextResult(testName, 'actual-text'); 500 loadTextResult(testName, 'diff-text ');504 loadTextResult(testName, 'diff-text-pretty', true); 501 505 } 502 506 -
trunk/WebKitTools/Scripts/webkitpy/tool/commands/rebaselineserver.py
r73298 r73320 174 174 elif mode == 'diff-text': 175 175 file_name = test_name + '-diff.txt' 176 elif mode == 'diff-text-pretty': 177 file_name = test_name + '-pretty-diff.html' 176 178 177 179 file_path = os.path.join(self.server.test_config.results_directory, file_name)
Note: See TracChangeset
for help on using the changeset viewer.