Bug 59031

Summary: initial set of tests for new results.html file
Product: WebKit Reporter: Ojan Vafai <ojan>
Component: New BugsAssignee: Ojan Vafai <ojan>
Status: RESOLVED FIXED    
Severity: Normal CC: dpranke, eric, tony
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: OS X 10.5   
Attachments:
Description Flags
Patch
none
Patch tony: review+

Ojan Vafai
Reported 2011-04-20 16:10:16 PDT
initial set of tests for new results.html file
Attachments
Patch (5.57 KB, patch)
2011-04-20 16:11 PDT, Ojan Vafai
no flags
Patch (5.71 KB, patch)
2011-04-20 16:29 PDT, Ojan Vafai
tony: review+
Ojan Vafai
Comment 1 2011-04-20 16:11:24 PDT
Eric Seidel (no email)
Comment 2 2011-04-20 16:18:07 PDT
Comment on attachment 90433 [details] Patch How does one run the tests?
Ojan Vafai
Comment 3 2011-04-20 16:29:03 PDT
Ojan Vafai
Comment 4 2011-04-20 16:29:32 PDT
You load json_results.html in a browser. Added comments to the top of json_results_test.js explaining this.
Eric Seidel (no email)
Comment 5 2011-04-20 16:34:14 PDT
Comment on attachment 90439 [details] Patch I see, so json_results.html is the template off of which results.html is based? I'm confused.
Ojan Vafai
Comment 6 2011-04-20 16:36:02 PDT
(In reply to comment #5) > (From update of attachment 90439 [details]) > I see, so json_results.html is the template off of which results.html is based? I'm confused. It just gets renamed in the copy. Eventually, I'll rename it to results.html and rename this js file to results_test.html.
Tony Chang
Comment 7 2011-04-21 09:57:48 PDT
Comment on attachment 90439 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=90439&action=review Ojan and I discussed moving this into LayoutTests/fast/harness so it'll be run automatically (in a follow up patch). > Tools/Scripts/webkitpy/layout_tests/layout_package/json_results.html:589 > +<script src="json_results_test.js"></script> Nit: Please add a comment explaining why this doesn't run when the user is viewing results.html.
Ojan Vafai
Comment 8 2011-04-21 10:16:42 PDT
Note You need to log in before you can comment on or make changes to this bug.