<?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>76245</bug_id>
          
          <creation_ts>2012-01-12 21:50:05 -0800</creation_ts>
          <short_desc>[Mac][DRT] should allow query string for the file URL.</short_desc>
          <delta_ts>2012-01-18 18:00:23 -0800</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>Unspecified</rep_platform>
          <op_sys>Unspecified</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>
          
          <blocked>76156</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Hajime Morrita">morrita</reporter>
          <assigned_to name="Hajime Morrita">morrita</assigned_to>
          <cc>aroben</cc>
    
    <cc>rniwa</cc>
    
    <cc>tony</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>535433</commentid>
    <comment_count>0</comment_count>
    <who name="Hajime Morrita">morrita</who>
    <bug_when>2012-01-12 21:50:05 -0800</bug_when>
    <thetext>This is a part of effort to run Dromaeo on DRT.

Dromaeo select the subset of test to run by reading the query string.
But DRT cannot pass it because file urls don&apos;t support query string.
So we need some way to give a context other than query string to run the test.

By injecting some script from outside, we can start the script by emulating user operation.
This kind of automation helper would be helpful to run existing testcases. We can do
- invoking layoutTestController without touching the page source.
- emulating user operation like clicking
- modifying page DOM to format the report.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>535438</commentid>
    <comment_count>1</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2012-01-12 22:04:18 -0800</bug_when>
    <thetext>Can we run the tests inside an iframe?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>535440</commentid>
    <comment_count>2</comment_count>
    <who name="Hajime Morrita">morrita</who>
    <bug_when>2012-01-12 22:05:34 -0800</bug_when>
    <thetext>(In reply to comment #1)
&gt; Can we run the tests inside an iframe?
Ah, that looks better idea actually. I&apos;ll try.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>535758</commentid>
    <comment_count>3</comment_count>
    <who name="Tony Chang">tony</who>
    <bug_when>2012-01-13 10:12:03 -0800</bug_when>
    <thetext>FWIW, I am able to load file:///test.html?test and file:///test.html#test in Safari Mac and Chrome Linux.  window.location seems to have properly parsed the query string and the fragment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>536307</commentid>
    <comment_count>4</comment_count>
    <who name="Hajime Morrita">morrita</who>
    <bug_when>2012-01-15 17:00:50 -0800</bug_when>
    <thetext>(In reply to comment #3)
&gt; FWIW, I am able to load file:///test.html?test and file:///test.html#test in Safari Mac and Chrome Linux.  window.location seems to have properly parsed the query string and the fragment.
Hmm interesting. May be we can fix DRT to handle it.
Its Filename to URl conversion look doubtful.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>536843</commentid>
    <comment_count>5</comment_count>
      <attachid>122702</attachid>
    <who name="Hajime Morrita">morrita</who>
    <bug_when>2012-01-16 18:58:30 -0800</bug_when>
    <thetext>Created attachment 122702
Ultra trivial one-line change</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>537472</commentid>
    <comment_count>6</comment_count>
      <attachid>122702</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-01-17 17:16:44 -0800</bug_when>
    <thetext>Comment on attachment 122702
Ultra trivial one-line change

Clearing flags on attachment: 122702

Committed r105218: &lt;http://trac.webkit.org/changeset/105218&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>537473</commentid>
    <comment_count>7</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-01-17 17:16:49 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>538005</commentid>
    <comment_count>8</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2012-01-18 11:04:02 -0800</bug_when>
    <thetext>Are you planning to add this ability to other ports of DRT, and to WebKitTestRunner?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>538373</commentid>
    <comment_count>9</comment_count>
    <who name="Hajime Morrita">morrita</who>
    <bug_when>2012-01-18 18:00:23 -0800</bug_when>
    <thetext>Hi Adam, thank you for your interest!

(In reply to comment #8)
&gt; Are you planning to add this ability to other ports of DRT, and to WebKitTestRunner?
I don&apos;t have any concrete plan yet. But it should be done when we add perf tests on the waterfall.
I&apos;m currently focusing on ensuring the feasibility of the idea, that is to run third party perf tests on DRT.

So any help would be appreciated ;-)</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>122702</attachid>
            <date>2012-01-16 18:58:30 -0800</date>
            <delta_ts>2012-01-17 17:16:44 -0800</delta_ts>
            <desc>Ultra trivial one-line change</desc>
            <filename>bug-76245-20120117115828.patch</filename>
            <type>text/plain</type>
            <size>1601</size>
            <attacher name="Hajime Morrita">morrita</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTA1MTEyCmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb2cg
Yi9Ub29scy9DaGFuZ2VMb2cKaW5kZXggNjdkNTQ3MGYxNzBmZTcyOWU2MTg0OGY5YjRhN2E4NTM3
NTRlNDk5MS4uYmE0ODU2YmI2OWI3NmVkMDJiNzllNjRkMDgzY2E0ZjZmNDc4N2NkYyAxM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