Page MenuHomePhabricator

Autosuggest does not work with macOS 13.0 Safari 16.0
Closed, ResolvedPublic3 Estimated Story PointsBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:

  • Autosuggest popup does not appear in just Safari 16.0

What should have happened instead?:
Autosuggest popup should appear in Safari 16.0 as seen in the screenshots like the other different browsers below

Other information (browser name/version, screenshots, etc.):

Autosuggest-BrowsermacOS: Ventura 13.0Windows 11
Safari 16: Fail
T308059_Autosuggest_MacVentura_Safari_Fail.png (518×1 px, 214 KB)
K.A.
Chrome 109: Good
T308059_Autosuggest_MacVentura_Chrome.png (838×1 px, 336 KB)
Same as Mac
FireFox 108: GoodSame as Windows
T308059_Autosuggest_Windows_FF.png (868×1 px, 313 KB)
Edge 109: GoodK.A.
T308059_Autosuggest_Windows_Edge.png (940×1 px, 333 KB)

QA Results - Meta-Wiki

Event Timeline

@GMikesell-WMF Any chance we can get you to share the errors (assuming there are some) from the JS console? I don't have a Mac and can't test Safari, but I assume we're just using some JS feature that isn't available on Safari. The console hopefully will tell us what the issue is. Instructions on reporting JS errors can be found at w:WP:JSERROR if that helps.

The dialog showed for me in 16.3 (after making an edit).

fwiw, the error is unhandled promise rejection http

Notes from collab

We could try changing the Promise in init() to a normal $.when( mw.loader.using( [ 'mediawiki.util' ] ), $.ready ).then( function () {

Is this still an issue, after the recent work? (I don't have Safari so can't test.)

Unable to replicate (Version 17.4.1 (19618.1.15.11.14)), however will note that after saving a page the AutoSuggestSitelink modal does not pop up. It works as expected when clicking on the link in the toolbox.

@Samwilson I am not coming across that issue anymore or from any other browsers or skins after the recent work. This will be moved to Done. Thanks for all your work!

Status: ✅PASS
Environment: Meta-Wiki
OS: macOS Sonoma 14.4.1, Ventura
Browser: Safari 16.5.1 & 17.4.1, Chrome 123, Firefox 124
Skins. Vector 2022, Vector 2010, Minerva, Monobook, Timeless
Device: MBA M2
Emulated Device:: BrowserStack for Ventura
Test Links:
https://meta.wikimedia.org/wiki/Bot

✅AC1: https://phabricator.wikimedia.org/T327950

Ventura-Safari 16.5.1Sonoma-Safari 17.4.1
2024-04-17_12-42-15.png (1×2 px, 1 MB)
2024-04-17_12-30-48.png (1×1 px, 516 KB)