<?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>26395</bug_id>
          
          <creation_ts>2009-06-14 20:01:41 -0700</creation_ts>
          <short_desc>REGRESSION (r40813-r40884): No caret after going back/forward to page with focused text field</short_desc>
          <delta_ts>2009-06-14 21:38:14 -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>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</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>InRadar, Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>mitz</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>beidson</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>125865</commentid>
    <comment_count>0</comment_count>
    <who name="">mitz</who>
    <bug_when>2009-06-14 20:01:41 -0700</bug_when>
    <thetext>Steps to reproduce:
1) Go to &lt;about:blank&gt;
2) In the same tab, go to &lt;data:text/html,%3Cinput%3E&gt;
3) Click in the text field
4) Choose History &gt; Back
5) Choose History &gt; Forward

Result:
The text field is focused, but there is no caret and typing does not enter text in the field.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125866</commentid>
    <comment_count>1</comment_count>
    <who name="">mitz</who>
    <bug_when>2009-06-14 20:02:13 -0700</bug_when>
    <thetext>&lt;rdar://problem/6971333&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125869</commentid>
    <comment_count>2</comment_count>
    <who name="">mitz</who>
    <bug_when>2009-06-14 20:23:28 -0700</bug_when>
    <thetext>The code that’s supposed to restore the selection is in CachedPage::restore(). However, in TOT, CachedPage::restore() is unreachable (I verified this by removing its definition and building WebCore successfully).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125870</commentid>
    <comment_count>3</comment_count>
    <who name="">mitz</who>
    <bug_when>2009-06-14 20:29:43 -0700</bug_when>
    <thetext>bisect-builds puts the regression between r40813 and r40884. Based on my previous comment, I think it was &lt;http://trac.webkit.org/changeset/40870&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125873</commentid>
    <comment_count>4</comment_count>
      <attachid>31277</attachid>
    <who name="">mitz</who>
    <bug_when>2009-06-14 20:45:57 -0700</bug_when>
    <thetext>Created attachment 31277
Reinstate call to CachedPage::restore()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125876</commentid>
    <comment_count>5</comment_count>
    <who name="">mitz</who>
    <bug_when>2009-06-14 21:38:14 -0700</bug_when>
    <thetext>Fixed in &lt;http://trac.webkit.org/projects/webkit/changeset/44676&gt;.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>31277</attachid>
            <date>2009-06-14 20:45:57 -0700</date>
            <delta_ts>2009-06-14 21:31:25 -0700</delta_ts>
            <desc>Reinstate call to CachedPage::restore()</desc>
            <filename>6971333_r1.diff</filename>
            <type>text/plain</type>
            <size>1183</size>
            <attacher>mitz</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA0NDY3NSkKKysrIFdlYkNvcmUvQ2h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xvYWRlci9G
cmFtZUxvYWRlci5jcHAJKHdvcmtpbmcgY29weSkKQEAgLTMwNTMsNiArMzA1Myw3IEBAIHZvaWQg
RnJhbWVMb2FkZXI6Om9wZW4oQ2FjaGVkUGFnZSYgY2FjaGUKICAgICB9CiAKICAgICBvcGVuKCpj
YWNoZWRQYWdlLmNhY2hlZE1haW5GcmFtZSgpKTsKKyAgICBjYWNoZWRQYWdlLnJlc3RvcmUobV9m
cmFtZS0+cGFnZSgpKTsKIAogICAgIGNoZWNrQ29tcGxldGVkKCk7CiB9Cg==
</data>
<flag name="review"
          id="15972"
          type_id="1"
          status="+"
          setter="darin"
    />
          </attachment>
      

    </bug>

</bugzilla>