WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 276573
browser action onClicked works only once per launch of Mobile Safari
https://bugs.webkit.org/show_bug.cgi?id=276573
Summary
browser action onClicked works only once per launch of Mobile Safari
Jeff Johnson
Reported
2024-07-13 12:29:39 PDT
Created
attachment 471880
[details]
Sample Xcode project demonstrating the bug On iOS 17.5.1 and iOS 18 beta 3, the extension API browser action onClicked works only once per launch of Safari. This bug does not occur on macOS. The attached sample Xcode project is a Safari extension that simply opens a new tab with
https://example.org
every time you click the extension toolbar icon. Steps to reproduce: 1) Build and run the OnClickBug extension on iOS 2) Enable the OnClickBug extension 3) Open
https://webkit.org
in Safari 4) Open the Manage Extensions menu in Safari 5) Click OnClickBug 6) Close the new tab 7) Open the Manage Extensions menu again 8) Click OnClickBug again This bug totally breaks my Safari extension Homecoming for Mastodon in the App Store:
https://apps.apple.com/app/homecoming-for-mastodon/id1666139593
The sample project is Manifest V2, while Homecoming is Manifest V3, so they each use the slightly different browser action API, but it makes no difference. The bug affects both MV2 and MV3.
Attachments
Sample Xcode project demonstrating the bug
(331.48 KB, application/zip)
2024-07-13 12:29 PDT
,
Jeff Johnson
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-07-13 12:29:48 PDT
<
rdar://problem/131675329
>
Timothy Hatcher
Comment 2
2024-08-07 10:57:31 PDT
A fix for this was released in iOS 17.6.1.
Timothy Hatcher
Comment 3
2024-10-30 12:30:54 PDT
A follow up is tracked with
bug 282346
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug