<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:cgarcia&#64;igalia.com" title="Carlos Garcia Campos &lt;cgarcia&#64;igalia.com&gt;"> <span class="fn">Carlos Garcia Campos</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK] Regression: &quot;notify::title&quot; signal unreliably triggered multiple times"
   href="https://bugs.webkit.org/show_bug.cgi?id=165073">bug 165073</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
               &nbsp;
           </td>
           <td>cdumez&#64;apple.com, cgarcia&#64;igalia.com, darin&#64;apple.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK] Regression: &quot;notify::title&quot; signal unreliably triggered multiple times"
   href="https://bugs.webkit.org/show_bug.cgi?id=165073#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK] Regression: &quot;notify::title&quot; signal unreliably triggered multiple times"
   href="https://bugs.webkit.org/show_bug.cgi?id=165073">bug 165073</a>
              from <span class="vcard"><a class="email" href="mailto:cgarcia&#64;igalia.com" title="Carlos Garcia Campos &lt;cgarcia&#64;igalia.com&gt;"> <span class="fn">Carlos Garcia Campos</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=165073#c2">comment #2</a>)
<span class="quote">&gt; Returning null makes sense when the title is changed but remains the same as
&gt; the last one (e.g. &quot;One&quot; → &quot;One&quot;). Currently, an application would still
&gt; receive the signal and take action (in this case, print to the terminal)
&gt; whereas the behaviour in 2.12 did not trigger (a workaround was getting the
&gt; JavaScript to set the title to null after xx milliseconds).
&gt; 
&gt; However, while a null can be ignored, the problem lies that clicking any
&gt; sequential links does this: &quot;One clicked&quot; → null → &quot;One clicked&quot;, causing
&gt; the application to trigger its action twice.
&gt; 
&gt; An ideal solution would be to only notify a title change once, so it's
&gt; compatible with 2.12 behaviour: &quot;One clicked&quot; → null ... &quot;Two clicked&quot; →
&gt; null ... etc</span >

So, if I understand the thing correctly, with your test case in 2.12 you clicked on one clicked and then you got &quot;One clicked&quot; only, then you clicked on two clicked and you got, null and then &quot;Two Clicked&quot;, right? So, the different with 2.14 is the first &quot;Two Clicked&quot; in this case.

If that's the case, I think it has nothing to do with the WebView title property actually, but with the document title handling. My guess is that for whatever reason in 2.12 the title change didn't really happen because of the new load, but in 2.14 the title change is processed before the new load starts. I guess something changed in WebCore regarding the onclick event. Your test cases does:

&lt;a href=&quot;#&quot; onclick=&quot;cmd('One clicked.')&quot;&gt;One&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;#&quot; onclick=&quot;cmd('Two clicked.')&quot;&gt;Two&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;#&quot; onclick=&quot;cmd('Three clicked.')&quot;&gt;Three&lt;/a&gt;

And cmd just changes document.title. So what happens is that onclick events are handled and title changes, from One clicked to Two clicked for example. Then the new load starts and the title is reset on committed, so you get the null. Then the load happens and title is set again. I see your point, though, that if title is going to be the same, we change it for nothing, but on committed the PageLoadObserver doesn't know the title yet. This is not GTK+ specific issue in any case. Maybe Darin or Chris know what changed in WebCore.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>