<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Document title changed twice when setting document.title"
   href="https://bugs.webkit.org/show_bug.cgi?id=167065">167065</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Document title changed twice when setting document.title
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>WebKit Nightly Build
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>WebCore Misc.
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mcatanzaro&#64;igalia.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Consider the following code:

&lt;script&gt;
    document.title = 'one';
    document.title = 'two';
    document.title = 'three';
&lt;/script&gt;

In trunk, this changes the title six times: first to null, then to 'one', then to null again, then to 'two', then to null yet again. I presume that the changes to null are undesired. See <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - REGRESSION(r203047): [GTK][Stable] &quot;notify::title&quot; signal unreliably triggered multiple times"
   href="show_bug.cgi?id=165073#c15">bug #165073 comment 15</a> for a detailed description of why this happens.</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>