<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 - WKWebView's title change triggers extra KVO callbacks"
href="https://bugs.webkit.org/show_bug.cgi?id=170079">170079</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>WKWebView's title change triggers extra KVO callbacks
</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>iPhone / iPad
</td>
</tr>
<tr>
<th>OS</th>
<td>iOS 10
</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>WebKit2
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>eugenebut@chromium.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=305328" name="attach_305328" title="Test app">attachment 305328</a> <a href="attachment.cgi?id=305328&action=edit" title="Test app">[details]</a></span>
Test app
WKWebView triggers 3 KVO callbacks when title is changed via JavaScript instead of one
Steps to Reproduce:
1. Build and run attached test app
2. Look into Xcode console
Expected Results:
One KVO callback with "Title2" as a title
Actual Results:
3 KVO callbacks with "Title2", "", "Title2" as a titles
Possibly a dup of: <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Document title changed twice when setting document.title"
href="show_bug.cgi?id=167065">https://bugs.webkit.org/show_bug.cgi?id=167065</a></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>