10.13 (17A291m) Page title not visible on tab

Number:rdar://33104837 Date Originated:03 Jul 2017
Status:Duplicate/30283085 Resolved:
Product:Safari Product Version:11.0 (13604.
Classification:UI/Usability Reproducible:Always
When a webpage updates its title dynamically, this is not reflected on its Safari tab.

Steps to Reproduce:
1. Create a web page that has no <title> tag and updates its title dynamically using <script>document.title = "Test";</script> or with a dynamic counter, and have the page refresh itself using setTimeout(location.reload, 10000) or so.
2. Save a bookmark to this page and call it "Demo".
3. Open a new tab with this bookmark.

Expected Results:
The tab label should read "Test".

Observed Results:
The tab label reads "Demo".

Safari Version 11.0 (13604.
macOS High Sierra Developer Beta 2 Update 1 (17A291m)

Please take a look at the attachment where the number of items in the list was 7 when the page loaded and is now 4 only. The tab title still says "7 in work" though.



July 13 2017, 1:51 AM New sysdiagnose uploading. Please see the attached photo: In the Windows menu, the tab title shows up correctly, just not in the tab bar. Please note that this tab was opened from a bookmark labelled "XX". Bildschirmfoto 2017-07-13 um 01.48.51.png 273 KB

Apple Developer Relations

July 13 2017, 12:08 AM Engineering has requested the following information regarding your bug report: Please verify this issue with the macOS 10.13 beta and update your bug report at https://bugreport.apple.com/ with your results. macOS 10.13 beta 3 (17A306f) https://developer.apple.com/download/ Posted Date: July 10th, 2017 If the issue persists and it's applicable to your bug report, please attach a new sysdiagnose captured in the latest build and attach it to the bug report.


July 10 2017, 11:03 PM Please find attached a sysdiagnose generated for Safari (uploading soon). The second attachment shows you the source code for a tab that has the title "XX", was called from a bookmark labelled "XX", but the source code JavaScript should cause the document title to change to "0 new, 7 in work - XX", which it did not. This used to work in previous versions of Safari (Sierra).

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!