Bug 59978 - add image toggling behavior from old-run-webkit-tests
Summary: add image toggling behavior from old-run-webkit-tests
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other OS X 10.5
: P2 Normal
Assignee: Ojan Vafai
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-02 16:56 PDT by Ojan Vafai
Modified: 2011-05-03 09:30 PDT (History)
5 users (show)

See Also:


Attachments
Patch (20.02 KB, patch)
2011-05-02 16:59 PDT, Ojan Vafai
tony: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ojan Vafai 2011-05-02 16:56:03 PDT
add image toggling behavior from old-run-webkit-tests
Comment 1 Ojan Vafai 2011-05-02 16:59:55 PDT
Created attachment 92006 [details]
Patch
Comment 2 Tony Chang 2011-05-02 17:32:08 PDT
Comment on attachment 92006 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=92006&action=review

> LayoutTests/fast/harness/resources/results-test.js:114
> +{    

Nit: trailing whitespace

> Tools/Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py:251
> +""" % (self._testname, self.output_filename('-diff.png'), self.output_filename(''))
> +        self._port._filesystem.write_binary_file(diffs_html_filename, html)

Nit: When I have lots of replacement params, I normally switch to the named placeholders.
Comment 3 Ojan Vafai 2011-05-03 09:30:52 PDT
Committed r85610: <http://trac.webkit.org/changeset/85610>