WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
196567
[Win] DumpRenderTreeWatchDog.py is not checked into source
https://bugs.webkit.org/show_bug.cgi?id=196567
Summary
[Win] DumpRenderTreeWatchDog.py is not checked into source
Per Arne Vollan
Reported
2019-04-03 15:07:44 PDT
This script should be checked in. Tools/EWSTools is possibly an appropriate location for it.
Attachments
Patch
(3.27 KB, patch)
2019-04-03 15:18 PDT
,
Per Arne Vollan
no flags
Details
Formatted Diff
Diff
Patch
(3.28 KB, patch)
2019-04-03 17:05 PDT
,
Per Arne Vollan
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Per Arne Vollan
Comment 1
2019-04-03 15:08:11 PDT
rdar://problem/49525901
Per Arne Vollan
Comment 2
2019-04-03 15:18:47 PDT
Created
attachment 366654
[details]
Patch
Lucas Forschler
Comment 3
2019-04-03 16:21:37 PDT
Comment on
attachment 366654
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=366654&action=review
> Tools/EWSTools/dumprendertreewatchdog.py:29 > +
these should be alphabetized
> Tools/EWSTools/dumprendertreewatchdog.py:37 > + proc_fetch = subprocess.Popen("ps -e | grep \"DumpRenderTree\" | awk '{print $1}'", shell=True, stdout=subprocess.PIPE,)
I think this will also capture the ps process itself, right? On my machine with no DumpRenderTree processes running, this command will always return one pid, itself.
> Tools/EWSTools/dumprendertreewatchdog.py:47 > + # If the active and current PID are the and an hour has elapsed, kill DumpRenderTree and reset the active PID to 0
I think this comment is missing a word between "the" and "and"
Lucas Forschler
Comment 4
2019-04-03 16:28:57 PDT
Comment on
attachment 366654
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=366654&action=review
>> Tools/EWSTools/dumprendertreewatchdog.py:37 >> + proc_fetch = subprocess.Popen("ps -e | grep \"DumpRenderTree\" | awk '{print $1}'", shell=True, stdout=subprocess.PIPE,) > > I think this will also capture the ps process itself, right? On my machine with no DumpRenderTree processes running, this command will always return one pid, itself.
Also, would this be better named pid_fetch? (I just tested on Windows and it appears the functionality of ps does not output the ps process itself... so maybe this is ok)
Per Arne Vollan
Comment 5
2019-04-03 17:05:06 PDT
Created
attachment 366673
[details]
Patch
Per Arne Vollan
Comment 6
2019-04-03 17:09:55 PDT
(In reply to Lucas Forschler from
comment #4
)
> Comment on
attachment 366654
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=366654&action=review
> > >> Tools/EWSTools/dumprendertreewatchdog.py:37 > >> + proc_fetch = subprocess.Popen("ps -e | grep \"DumpRenderTree\" | awk '{print $1}'", shell=True, stdout=subprocess.PIPE,) > > > > I think this will also capture the ps process itself, right? On my machine with no DumpRenderTree processes running, this command will always return one pid, itself. > > Also, would this be better named pid_fetch? > > (I just tested on Windows and it appears the functionality of ps does not > output the ps process itself... so maybe this is ok)
Thanks for reviewing! I have updated the patch.
WebKit Commit Bot
Comment 7
2019-04-04 10:39:59 PDT
Comment on
attachment 366673
[details]
Patch Clearing flags on attachment: 366673 Committed
r243879
: <
https://trac.webkit.org/changeset/243879
>
WebKit Commit Bot
Comment 8
2019-04-04 10:40:00 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug