Bug 61066

Summary: Double-click on test queued by RebaselineServer to open test in main UI
Product: WebKit Reporter: Tom Hudson <tomhudson>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED    
Severity: Enhancement CC: abarth, eric, mihaip, ngockhanhlam87, tomhudson
Priority: P4    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch mihaip: review-

Tom Hudson
Reported 2011-05-18 09:13:05 PDT
Double-click on test queued by RebaselineServer to open test in main UI
Attachments
Patch (3.47 KB, patch)
2011-05-18 09:15 PDT, Tom Hudson
mihaip: review-
Tom Hudson
Comment 1 2011-05-18 09:15:29 PDT
Eric Seidel (no email)
Comment 2 2011-07-05 20:40:54 PDT
You should be sure to CC reviewers.
Ojan Vafai
Comment 3 2011-07-06 00:26:58 PDT
Comment on attachment 93925 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=93925&action=review A few nits. Otherwise, code seems fine to me. I'm not familiar enough with the surrounding code code to be confident setSelectedTest is doing the right thing. Mihai, mind taking a look? > Tools/Scripts/webkitpy/tool/commands/data/rebaselineserver/main.js:271 > + var failureType = test.actual + ' (expected ' + test.expected + ')'; Duplicating this code from line 122 seems fragile to me. Could you create a helper function that takes a test and returns it's failureType? > Tools/Scripts/webkitpy/tool/commands/data/rebaselineserver/queue.js:47 > + setSelectedTest( > + this.options[this.selectedIndex].value) Indentation here is off. Also, WebKit has no line-length limit. This would be easier to read as a single line. > Tools/Scripts/webkitpy/tool/commands/data/rebaselineserver/util.js:60 > + Perhaps this should throw an error (or at least log a warning to the console) if you pass it a value that's not in the select element?
Mihai Parparita
Comment 4 2011-07-06 16:20:03 PDT
Comment on attachment 93925 [details] Patch I agree with Ojan's comments. An alternative guessing/duplicating the menu selections when setting the selected test would be to save them when adding the test to the queue so that they can be restored.
Note You need to log in before you can comment on or make changes to this bug.