<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>37793</bug_id>
          
          <creation_ts>2010-04-19 01:23:37 -0700</creation_ts>
          <short_desc>[Chromium] new-run-webkit-tests should use WebKitDriver for --use-drt</short_desc>
          <delta_ts>2010-04-19 12:14:10 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>37645</dependson>
          <blocked>35902</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Kent Tamura">tkent</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>dpranke</cc>
    
    <cc>eric</cc>
    
    <cc>tony</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>213947</commentid>
    <comment_count>0</comment_count>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2010-04-19 01:23:37 -0700</bug_when>
    <thetext>[Chromium] new-run-webkit-tests should use WebKitDriver for --use-drt</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>213948</commentid>
    <comment_count>1</comment_count>
      <attachid>53659</attachid>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2010-04-19 01:26:39 -0700</bug_when>
    <thetext>Created attachment 53659
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>213949</commentid>
    <comment_count>2</comment_count>
      <attachid>53659</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-04-19 01:29:16 -0700</bug_when>
    <thetext>Comment on attachment 53659
Patch

User.open_url is probably better than calling webbrowser directly:
http://trac.webkit.org/browser/trunk/WebKitTools/Scripts/webkitpy/common/system/user.py#L81
it allows us to more easily mock out this code for testing.

This is a rather strange class inversion.  I guess eventually Chromium will be a subclass of WebKitPort.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>213950</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-04-19 01:29:44 -0700</bug_when>
    <thetext>Seems maybe we should have called them TestShellDriver and DumpRenderTreeDriver.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>213951</commentid>
    <comment_count>4</comment_count>
      <attachid>53659</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-04-19 01:31:02 -0700</bug_when>
    <thetext>Comment on attachment 53659
Patch

I guess ChromiumPort may not have access to a tool object, which would expose the User() object, so this is probably the best we have for now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>213956</commentid>
    <comment_count>5</comment_count>
      <attachid>53659</attachid>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2010-04-19 01:41:03 -0700</bug_when>
    <thetext>Comment on attachment 53659
Patch

Clearing flags on attachment: 53659

Committed r57806: &lt;http://trac.webkit.org/changeset/57806&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>213957</commentid>
    <comment_count>6</comment_count>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2010-04-19 01:41:13 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>214093</commentid>
    <comment_count>7</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2010-04-19 10:36:40 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; (From update of attachment 53659 [details])
&gt; User.open_url is probably better than calling webbrowser directly:
&gt; http://trac.webkit.org/browser/trunk/WebKitTools/Scripts/webkitpy/common/system/user.py#L81
&gt; it allows us to more easily mock out this code for testing.
&gt; 
&gt; This is a rather strange class inversion.  I guess eventually Chromium will be
&gt; a subclass of WebKitPort.

If this were to become the case, then WebKitPort should probably be merged into port/base.py. It is useful to think of base.py as declaring an interface, but it really is a base class. The only other implementations that wouldn&apos;t inherit from WebKitPort would be the testing/mock classes, and they can override whatever they need do.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>214156</commentid>
    <comment_count>8</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-04-19 12:14:10 -0700</bug_when>
    <thetext>I agree that I think eventually we&apos;ll push more code down into base instead of WebKitPort or ChromiumPort.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>53659</attachid>
            <date>2010-04-19 01:26:39 -0700</date>
            <delta_ts>2010-04-19 01:41:03 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-37793-20100419172637.patch</filename>
            <type>text/plain</type>
            <size>2072</size>
            <attacher name="Kent Tamura">tkent</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYktpdFRvb2xzL0NoYW5nZUxvZyBiL1dlYktpdFRvb2xzL0NoYW5nZUxv
ZwppbmRleCA0MWJhZTgzLi42Y2Y3NjkwIDEwMDY0NAotLS0gYS9XZWJLaXRUb29scy9DaGFuZ2VM
b2cKKysrIGIvV2ViS2l0VG9vbHMvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTcgQEAKKzIwMTAtMDQt
MTkgIEtlbnQgVGFtdXJhICA8dGtlbnRAY2hyb21pdW0ub3JnPgorCisgICAgICAgIFJldmlld2Vk
IGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIFtDaHJvbWl1bV0gbmV3LXJ1bi13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yAgICAgICAgaWYgc2VsZi5fb3B0aW9ucy51c2VfZHJ0OgorICAgICAgICAgICAgcmV0dXJuIHdl
YmtpdC5XZWJLaXREcml2ZXIoc2VsZiwgaW1hZ2VfcGF0aCwgb3B0aW9ucykKICAgICAgICAgcmV0
dXJuIENocm9taXVtRHJpdmVyKHNlbGYsIGltYWdlX3BhdGgsIG9wdGlvbnMpCiAKICAgICBkZWYg
c3RhcnRfaGVscGVyKHNlbGYpOgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>