RESOLVED FIXED 138225
bisect-builds should support WebKit clients other than Safari
https://bugs.webkit.org/show_bug.cgi?id=138225
Summary bisect-builds should support WebKit clients other than Safari
Matthew Hanson
Reported 2014-10-30 13:12:48 PDT
Currently bisect-builds only works with Safari. I propose that we add an argument that allows users to specify which application should be run against the nightly WebKit frameworks.
Attachments
Patch (5.99 KB, patch)
2014-10-30 14:07 PDT, Matthew Hanson
ddkilzer: review+
Matthew Hanson
Comment 1 2014-10-30 14:07:22 PDT
Radar WebKit Bug Importer
Comment 2 2014-10-30 14:08:02 PDT
David Kilzer (:ddkilzer)
Comment 3 2014-10-30 16:48:21 PDT
Comment on attachment 240693 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=240693&action=review r=me with comments addressed. > Tools/Scripts/bisect-builds:38 > -# $safariPath = "/path/to/Safari.app"; > +# $applicationPath = "/path/to/Application.app"; This should not change unless we're going to support $Settings::applicationPath and remove $Settings::safariPath. Or keep $safariPath and add $applicationPath here. # $safariPath = "/path/to/Safari.app"; + # $applicationPath = "/path/to/Application.app"; > Tools/Scripts/bisect-builds:73 > my $safariPath = $Settings::safariPath; > +my $applicationPath; I would expect this to be change to the following if we were supported in the ~/.bisect-buildsrc file: my $applicationPath = $Settings:: applicationPath; > Tools/Scripts/bisect-builds:430 > + # Check for both appliactions and application bundles. Typo: appliactions > Tools/Scripts/bisect-builds:436 > + push @args, "--args", "-ApplePersistenceIgnoreState", "YES" if $isBundle; Very nice. Should we only do this if $safariPath is set instead of $isBundle? push @args, "--args", "-ApplePersistenceIgnoreState", "YES" if $safariPath; Or does this work for multiple apps?
Matthew Hanson
Comment 4 2014-10-30 17:19:18 PDT
Comment on attachment 240693 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=240693&action=review Thanks for the review! >> Tools/Scripts/bisect-builds:38 >> +# $applicationPath = "/path/to/Application.app"; > > This should not change unless we're going to support $Settings::applicationPath and remove $Settings::safariPath. Or keep $safariPath and add $applicationPath here. > > # $safariPath = "/path/to/Safari.app"; > + # $applicationPath = "/path/to/Application.app"; I noticed this after sending out this patch. I'll keep it set to $safariPath here. This might be a good thing to change/add in a future patch. >> Tools/Scripts/bisect-builds:73 >> +my $applicationPath; > > I would expect this to be change to the following if we were supported in the ~/.bisect-buildsrc file: > > my $applicationPath = $Settings:: applicationPath; See above. >> Tools/Scripts/bisect-builds:436 >> + push @args, "--args", "-ApplePersistenceIgnoreState", "YES" if $isBundle; > > Very nice. Should we only do this if $safariPath is set instead of $isBundle? > > push @args, "--args", "-ApplePersistenceIgnoreState", "YES" if $safariPath; > > Or does this work for multiple apps? This works with multiple apps. I have tested it with Mail and iTunes so far, but I would expect it to work with others.
Matthew Hanson
Comment 5 2014-10-30 17:26:54 PDT
Matthew Hanson
Comment 6 2014-11-05 10:39:21 PST
*** Bug 137577 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.