<?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>61543</bug_id>
          
          <creation_ts>2011-05-26 10:33:27 -0700</creation_ts>
          <short_desc>Inform ChromeClient touch events are not needed by the webpage when navigating away from the page instead of in both Document:detach/CachedFrame</short_desc>
          <delta_ts>2011-06-07 09:20:24 -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>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dinu Jacob">dinu.jacob</reporter>
          <assigned_to name="Dinu Jacob">dinu.jacob</assigned_to>
          <cc>benm</cc>
    
    <cc>dglazkov</cc>
    
    <cc>hausmann</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>410581</commentid>
    <comment_count>0</comment_count>
    <who name="Dinu Jacob">dinu.jacob</who>
    <bug_when>2011-05-26 10:33:27 -0700</bug_when>
    <thetext>Currently, the chrome client is informed that the touch events are not needed in Document::detach / CachedFramed constructor. 

When loading a new page, the old page is added to page cache and the chrome client is informed that touch events are not needed anymore in the CachedFrame constructor. However, if the page cache capacity has been reached, the oldest item is marked to be removed from the cache and a timer is started. The item is removed from cache when the timer expires. When the item is removed, Document:detach is called which informs (incorrectly) chrome client that touch events are not needed. If the current page loaded has touch event listeners, it will not get touch events anymore.

As needTouchEvents method takes only a boolean, there is no indication that the flag was reset for the older document being detached. It might be better to reset the flag at the time we navigate away from the current page.

Patch to follow shortly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>410587</commentid>
    <comment_count>1</comment_count>
      <attachid>95003</attachid>
    <who name="Dinu Jacob">dinu.jacob</who>
    <bug_when>2011-05-26 10:45:23 -0700</bug_when>
    <thetext>Created attachment 95003
First attempt</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>412919</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2011-05-31 15:15:21 -0700</bug_when>
    <thetext>CC&apos;ing Ben and Dimitry, as this code was added in bug #34215</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>413434</commentid>
    <comment_count>3</comment_count>
      <attachid>95003</attachid>
    <who name="Ben Murdoch">benm</who>
    <bug_when>2011-06-01 09:29:39 -0700</bug_when>
    <thetext>Comment on attachment 95003
First attempt

View in context: https://bugs.webkit.org/attachment.cgi?id=95003&amp;action=review

Thanks for spotting this bug! Have a question about the proposed patch.

&gt; Source/WebCore/loader/FrameLoader.cpp:2074
&gt; +    m_frame-&gt;page()-&gt;chrome()-&gt;client()-&gt;needTouchEvents(false);

Will this now trigger clearing the flag on frame navigation? For example, imagine a page with an iframe and we perform a navigation inside the frame. What will happen to touch events in the parent frame? The old code ensured that it was the main frame performing the navigation before clearing the flag.

Is it possible to write a layout test? It would be good to ensure the correct behavior in this scenario.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>413490</commentid>
    <comment_count>4</comment_count>
    <who name="Dinu Jacob">dinu.jacob</who>
    <bug_when>2011-06-01 10:51:13 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; (From update of attachment 95003 [details])
&gt; View in context: https://bugs.webkit.org/attachment.cgi?id=95003&amp;action=review
&gt; 
&gt; Thanks for spotting this bug! Have a question about the proposed patch.
&gt; 
&gt; &gt; Source/WebCore/loader/FrameLoader.cpp:2074
&gt; &gt; +    m_frame-&gt;page()-&gt;chrome()-&gt;client()-&gt;needTouchEvents(false);
&gt; 
&gt; Will this now trigger clearing the flag on frame navigation? For example, imagine a page with an iframe and we perform a navigation inside the frame. What will happen to touch events in the parent frame? The old code ensured that it was the main frame performing the navigation before clearing the flag.
&gt; 
&gt; Is it possible to write a layout test? It would be good to ensure the correct behavior in this scenario.

Thanks for your feedback Ben. Yes, with the current patch it will reset the flag when we are navigating within an iframe. I can reset the flag only for the main frame to avoid resetting the flag for iframes. 

I started writing a layout test but realised that for WebKit2 I can&apos;t yet use the eventSender to send the touch events. Is there any other way I can achieve this for WebKit2?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>414198</commentid>
    <comment_count>5</comment_count>
      <attachid>95770</attachid>
    <who name="Dinu Jacob">dinu.jacob</who>
    <bug_when>2011-06-02 09:41:01 -0700</bug_when>
    <thetext>Created attachment 95770
Patch with fix for iframe navigation</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>416476</commentid>
    <comment_count>6</comment_count>
    <who name="Dinu Jacob">dinu.jacob</who>
    <bug_when>2011-06-07 06:56:18 -0700</bug_when>
    <thetext>Hi Ben/Dimitri,

Can you please provide your input on the latest patch?

Thanks,
Dinu</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>416489</commentid>
    <comment_count>7</comment_count>
      <attachid>95770</attachid>
    <who name="Ben Murdoch">benm</who>
    <bug_when>2011-06-07 07:32:50 -0700</bug_when>
    <thetext>Comment on attachment 95770
Patch with fix for iframe navigation

View in context: https://bugs.webkit.org/attachment.cgi?id=95770&amp;action=review

&gt; Source/WebCore/ChangeLog:5
&gt; +        Inform ChromeClient touch events are not needed by the webpage when navigating away from the page instead of in both Document:detach/CachedFrame

Hi Dinu, I&apos;m a little confused about the ChangeLog message - just want to make sure I have the flow of events right. You&apos;ve added the new code to FrameLoader::transitionToCommitted. Does that not mean when we are &quot;committed&quot; to loading the new page rather than necessarily navigating away from the old one?  So we&apos;re setting the flag to false after committing to loading a new page, but before that new page could have registered any new touch event handlers, right?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>416491</commentid>
    <comment_count>8</comment_count>
    <who name="Dinu Jacob">dinu.jacob</who>
    <bug_when>2011-06-07 07:36:24 -0700</bug_when>
    <thetext>(In reply to comment #7)
&gt; (From update of attachment 95770 [details])
&gt; View in context: https://bugs.webkit.org/attachment.cgi?id=95770&amp;action=review
&gt; 
&gt; &gt; Source/WebCore/ChangeLog:5
&gt; &gt; +        Inform ChromeClient touch events are not needed by the webpage when navigating away from the page instead of in both Document:detach/CachedFrame
&gt; 
&gt; Hi Dinu, I&apos;m a little confused about the ChangeLog message - just want to make sure I have the flow of events right. You&apos;ve added the new code to FrameLoader::transitionToCommitted. Does that not mean when we are &quot;committed&quot; to loading the new page rather than necessarily navigating away from the old one?  So we&apos;re setting the flag to false after committing to loading a new page, but before that new page could have registered any new touch event handlers, right?

Hi Ben,

Yes, that&apos;s exactly what is being done. If the use of &quot;navigating away from the old page&quot; is confusing I can replace it with &quot;committed to loading a new page&quot;.

Dinu</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>416537</commentid>
    <comment_count>9</comment_count>
    <who name="Ben Murdoch">benm</who>
    <bug_when>2011-06-07 08:57:07 -0700</bug_when>
    <thetext>That&apos;s OK - perhaps if you need to rebase the patch for landing then you could update it.

The code LGTM, but it&apos;d be really nice to add a test as this behavior depends on FrameLoader::transitionToCommitted getting called before CachedFrame::restore. Fine at the moment, but should something get refactored in the future it&apos;d be really easy to break this behavior without noticing ... maybe we can have a test on a non-WebKit2 platform? I don&apos;t have powers to r+ so I will defer to someone who does :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>416538</commentid>
    <comment_count>10</comment_count>
      <attachid>95770</attachid>
    <who name="Dimitri Glazkov (Google)">dglazkov</who>
    <bug_when>2011-06-07 08:58:12 -0700</bug_when>
    <thetext>Comment on attachment 95770
Patch with fix for iframe navigation

rs=me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>416540</commentid>
    <comment_count>11</comment_count>
      <attachid>95770</attachid>
    <who name="Dinu Jacob">dinu.jacob</who>
    <bug_when>2011-06-07 09:01:01 -0700</bug_when>
    <thetext>Comment on attachment 95770
Patch with fix for iframe navigation

Forgot to request commit as well. Please commit for me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>416544</commentid>
    <comment_count>12</comment_count>
    <who name="Dinu Jacob">dinu.jacob</who>
    <bug_when>2011-06-07 09:05:56 -0700</bug_when>
    <thetext>(In reply to comment #9)
&gt; That&apos;s OK - perhaps if you need to rebase the patch for landing then you could update it.
&gt; 
&gt; The code LGTM, but it&apos;d be really nice to add a test as this behavior depends on FrameLoader::transitionToCommitted getting called before CachedFrame::restore. Fine at the moment, but should something get refactored in the future it&apos;d be really easy to break this behavior without noticing ... maybe we can have a test on a non-WebKit2 platform? I don&apos;t have powers to r+ so I will defer to someone who does :)

Thanks Ben. I will try to come up with a test that can be tested on a non-WebKit2 platform.

Dinu</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>416549</commentid>
    <comment_count>13</comment_count>
      <attachid>95770</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-06-07 09:20:18 -0700</bug_when>
    <thetext>Comment on attachment 95770
Patch with fix for iframe navigation

Clearing flags on attachment: 95770

Committed r88242: &lt;http://trac.webkit.org/changeset/88242&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>416550</commentid>
    <comment_count>14</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-06-07 09:20:24 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>95003</attachid>
            <date>2011-05-26 10:45:23 -0700</date>
            <delta_ts>2011-06-02 09:41:01 -0700</delta_ts>
            <desc>First attempt</desc>
            <filename>61543.patch</filename>
            <type>text/plain</type>
            <size>3425</size>
            <attacher name="Dinu Jacob">dinu.jacob</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDg3Mzk5KQorKysgU291cmNlL1dlYkNvcmUvQ2hhbmdl
TG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTkgQEAKKzIwMTEtMDUtMjYgIERpbnUgSmFj
b2IgIDxkaW51LmphY29iQG5va2lhLmNvbT4KKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkg
KE9PUFMhKS4KKworICAgICAgICBJbmZvcm0gQ2hyb21lQ2xpZW50IHRvdWNoIGV2ZW50cyBhcmUg
bm90IG5lZWRlZCBieSB0aGUgd2VicGFnZSB3aGVuIG5hdmlnYXRpbmcgYXdheSBmcm9tIHRoZSBw
YWdlIGluc3RlYWQgb2YgaW4gYm90aCBEb2N1bWVudDpkZXRhY2gvQ2FjaGVkRnJhbWUKKyAgICAg
ICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTYxNTQzCisKKyAgICAg
ICAgSW5mb3JtIGNocm9tZSBjbGllbnQgdGhhdCB0b3VjaCBldmVudHMgYXJlIG5vdCBuZWVkZWQg
YnkgdGhlIHdlYnBhZ2Ugd2hlbiBuYXZpZ2F0aW5nIGF3YXkgZnJvbSB0aGUgcGFnZSBvbmx5IG9u
Y2UgdG8gYXZvaWQgdGhlIGZsYWcgYmVpbmcgb3ZlcndyaXR0ZW4gbGF0ZXIgaWYgYSBwYWdlIGlz
IHJlbW92ZWQgZnJvbSB0aGUgcGFnZSBjYWNoZQorCisgICAgICAgICogZG9tL0RvY3VtZ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ogICAgIHNldFN0YXRlKEZyYW1l
U3RhdGVDb21taXR0ZWRQYWdlKTsKIAorI2lmIEVOQUJMRShUT1VDSF9FVkVOVFMpCisgICAgbV9m
cmFtZS0+cGFnZSgpLT5jaHJvbWUoKS0+Y2xpZW50KCktPm5lZWRUb3VjaEV2ZW50cyhmYWxzZSk7
CisjZW5kaWYKKwogICAgIC8vIEhhbmRsZSBhZGRpbmcgdGhlIFVSTCB0byB0aGUgYmFjay9mb3J3
YXJkIGxpc3QuCiAgICAgRG9jdW1lbnRMb2FkZXIqIGRsID0gbV9kb2N1bWVudExvYWRlci5nZXQo
KTsKIAo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>95770</attachid>
            <date>2011-06-02 09:41:01 -0700</date>
            <delta_ts>2011-06-07 09:20:18 -0700</delta_ts>
            <desc>Patch with fix for iframe navigation</desc>
            <filename>61543_1.patch</filename>
            <type>text/plain</type>
            <size>3478</size>
            <attacher name="Dinu Jacob">dinu.jacob</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDg3OTE5KQorKysgU291cmNlL1dlYkNvcmUvQ2hhbmdl
TG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMjEgQEAKKzIwMTEtMDYtMDIgIERpbnUgSmFj
b2IgIDxkaW51LmphY29iQG5va2lhLmNvbT4KKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkg
KE9PUFMhKS4KKworICAgICAgICBJbmZvcm0gQ2hyb21lQ2xpZW50IHRvdWNoIGV2ZW50cyBhcmUg
bm90IG5lZWRlZCBieSB0aGUgd2VicGFnZSB3aGVuIG5hdmlnYXRpbmcgYXd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vcHkpCkBAIC00MSw2ICs0
MSw5IEBACiAjaW5jbHVkZSAiQ2FjaGVkUGFnZS5oIgogI2luY2x1ZGUgIkNhY2hlZFJlc291cmNl
TG9hZGVyLmgiCiAjaW5jbHVkZSAiQ2hyb21lLmgiCisjaWYgRU5BQkxFKFRPVUNIX0VWRU5UUykK
KyNpbmNsdWRlICJDaHJvbWVDbGllbnQuaCIKKyNlbmRpZgogI2luY2x1ZGUgIkNvbnNvbGUuaCIK
ICNpbmNsdWRlICJDb250ZW50U2VjdXJpdHlQb2xpY3kuaCIKICNpbmNsdWRlICJET01JbXBsZW1l
bnRhdGlvbi5oIgpAQCAtMjA2Nyw2ICsyMDcwLDExIEBAIHZvaWQgRnJhbWVMb2FkZXI6OnRyYW5z
aXRpb25Ub0NvbW1pdHRlZCgKICAgICBzZXRQcm92aXNpb25hbERvY3VtZW50TG9hZGVyKDApOwog
ICAgIHNldFN0YXRlKEZyYW1lU3RhdGVDb21taXR0ZWRQYWdlKTsKIAorI2lmIEVOQUJMRShUT1VD
SF9FVkVOVFMpCisgICAgaWYgKGlzTG9hZGluZ01haW5GcmFtZSgpKQorICAgICAgICBtX2ZyYW1l
LT5wYWdlKCktPmNocm9tZSgpLT5jbGllbnQoKS0+bmVlZFRvdWNoRXZlbnRzKGZhbHNlKTsKKyNl
bmRpZgorCiAgICAgLy8gSGFuZGxlIGFkZGluZyB0aGUgVVJMIHRvIHRoZSBiYWNrL2ZvcndhcmQg
bGlzdC4KICAgICBEb2N1bWVudExvYWRlciogZGwgPSBtX2RvY3VtZW50TG9hZGVyLmdldCgpOwog
Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>