[Desktop-packages] [Bug 2051188] Re: Firefox 122 update breaks webextensions permission
Hi Paul, I don't think so? Yesterday I tested on Firefox 123 an extension that requires natives messaging to work, and it seemed to work just fine. Could you please double-check that the issue is happening with Firefox 123, and if so, please provide more details including some logs, screenshots, and steps to reproduce the issue. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to firefox in Ubuntu. https://bugs.launchpad.net/bugs/2051188 Title: Firefox 122 update breaks webextensions permission Status in Mozilla Firefox: Fix Released Status in firefox package in Ubuntu: Fix Released Bug description: We build webextensions for Firefox. Since the latest update to Firefox 122, the native webextension bridge stopped working. ``` $ flatpak permission-show snap.firefox Table ObjectApp Permissions Data desktop-used-apps application/vnd.debian.binary-package snap.firefox gnome-software-local-file,1,3 0x00 webextensions net.downloadhelper.coapp snap.firefox yes 0x00 ``` This used to work and be enough, but not anymore. In the logs I see: ``` Jan 25 12:47:56 ubuntu-linux-22-04-02-desktop firefox[154219]: OnGetManifestDone error: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such method “GetManifest” Jan 25 12:47:57 ubuntu-linux-22-04-02-desktop firefox_firefox.desktop[154219]: [Parent 154219, Main Thread] WARNING: OnGetManifestDone error: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such method “GetManifest”: 'glib warning', file /build/firefox/parts/firefox/build/toolkit/xre/nsSigHandlers.cpp:187 ``` To manage notifications about this bug go to: https://bugs.launchpad.net/firefox/+bug/2051188/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 2051188] Re: Firefox 122 update breaks webextensions permission
@bandali - is it possible the update 123 re-introduced this issue? We're getting reports with the same error. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to firefox in Ubuntu. https://bugs.launchpad.net/bugs/2051188 Title: Firefox 122 update breaks webextensions permission Status in Mozilla Firefox: Fix Released Status in firefox package in Ubuntu: Fix Released Bug description: We build webextensions for Firefox. Since the latest update to Firefox 122, the native webextension bridge stopped working. ``` $ flatpak permission-show snap.firefox Table ObjectApp Permissions Data desktop-used-apps application/vnd.debian.binary-package snap.firefox gnome-software-local-file,1,3 0x00 webextensions net.downloadhelper.coapp snap.firefox yes 0x00 ``` This used to work and be enough, but not anymore. In the logs I see: ``` Jan 25 12:47:56 ubuntu-linux-22-04-02-desktop firefox[154219]: OnGetManifestDone error: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such method “GetManifest” Jan 25 12:47:57 ubuntu-linux-22-04-02-desktop firefox_firefox.desktop[154219]: [Parent 154219, Main Thread] WARNING: OnGetManifestDone error: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such method “GetManifest”: 'glib warning', file /build/firefox/parts/firefox/build/toolkit/xre/nsSigHandlers.cpp:187 ``` To manage notifications about this bug go to: https://bugs.launchpad.net/firefox/+bug/2051188/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 2051188] Re: Firefox 122 update breaks webextensions permission
** Changed in: firefox Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to firefox in Ubuntu. https://bugs.launchpad.net/bugs/2051188 Title: Firefox 122 update breaks webextensions permission Status in Mozilla Firefox: Fix Released Status in firefox package in Ubuntu: Fix Released Bug description: We build webextensions for Firefox. Since the latest update to Firefox 122, the native webextension bridge stopped working. ``` $ flatpak permission-show snap.firefox Table ObjectApp Permissions Data desktop-used-apps application/vnd.debian.binary-package snap.firefox gnome-software-local-file,1,3 0x00 webextensions net.downloadhelper.coapp snap.firefox yes 0x00 ``` This used to work and be enough, but not anymore. In the logs I see: ``` Jan 25 12:47:56 ubuntu-linux-22-04-02-desktop firefox[154219]: OnGetManifestDone error: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such method “GetManifest” Jan 25 12:47:57 ubuntu-linux-22-04-02-desktop firefox_firefox.desktop[154219]: [Parent 154219, Main Thread] WARNING: OnGetManifestDone error: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such method “GetManifest”: 'glib warning', file /build/firefox/parts/firefox/build/toolkit/xre/nsSigHandlers.cpp:187 ``` To manage notifications about this bug go to: https://bugs.launchpad.net/firefox/+bug/2051188/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 2051188] Re: Firefox 122 update breaks webextensions permission
Thanks for the quick fix! It's all working now. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to firefox in Ubuntu. https://bugs.launchpad.net/bugs/2051188 Title: Firefox 122 update breaks webextensions permission Status in Mozilla Firefox: Confirmed Status in firefox package in Ubuntu: Fix Released Bug description: We build webextensions for Firefox. Since the latest update to Firefox 122, the native webextension bridge stopped working. ``` $ flatpak permission-show snap.firefox Table ObjectApp Permissions Data desktop-used-apps application/vnd.debian.binary-package snap.firefox gnome-software-local-file,1,3 0x00 webextensions net.downloadhelper.coapp snap.firefox yes 0x00 ``` This used to work and be enough, but not anymore. In the logs I see: ``` Jan 25 12:47:56 ubuntu-linux-22-04-02-desktop firefox[154219]: OnGetManifestDone error: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such method “GetManifest” Jan 25 12:47:57 ubuntu-linux-22-04-02-desktop firefox_firefox.desktop[154219]: [Parent 154219, Main Thread] WARNING: OnGetManifestDone error: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such method “GetManifest”: 'glib warning', file /build/firefox/parts/firefox/build/toolkit/xre/nsSigHandlers.cpp:187 ``` To manage notifications about this bug go to: https://bugs.launchpad.net/firefox/+bug/2051188/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 2051188] Re: Firefox 122 update breaks webextensions permission
Hi again Paul, (all,) A new build of Firefox snap with version string "122.0-2.1" is now available on the 'stable' channel which includes fixed support for native messaging for Ubuntu 22.04 users. My apologies for any inconvenience this issue may have caused. I've posted a quick post-mortem write up on the Ubuntu Discourse for folks who may be interested in reading what exactly happened: https://discourse.ubuntu.com/t/firefox-122-snap-temporary-native- messaging-breakage-for-ubuntu-22-04-users-fixed-since/41940 ** Changed in: firefox (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to firefox in Ubuntu. https://bugs.launchpad.net/bugs/2051188 Title: Firefox 122 update breaks webextensions permission Status in Mozilla Firefox: Confirmed Status in firefox package in Ubuntu: Fix Released Bug description: We build webextensions for Firefox. Since the latest update to Firefox 122, the native webextension bridge stopped working. ``` $ flatpak permission-show snap.firefox Table ObjectApp Permissions Data desktop-used-apps application/vnd.debian.binary-package snap.firefox gnome-software-local-file,1,3 0x00 webextensions net.downloadhelper.coapp snap.firefox yes 0x00 ``` This used to work and be enough, but not anymore. In the logs I see: ``` Jan 25 12:47:56 ubuntu-linux-22-04-02-desktop firefox[154219]: OnGetManifestDone error: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such method “GetManifest” Jan 25 12:47:57 ubuntu-linux-22-04-02-desktop firefox_firefox.desktop[154219]: [Parent 154219, Main Thread] WARNING: OnGetManifestDone error: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such method “GetManifest”: 'glib warning', file /build/firefox/parts/firefox/build/toolkit/xre/nsSigHandlers.cpp:187 ``` To manage notifications about this bug go to: https://bugs.launchpad.net/firefox/+bug/2051188/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 2051188] Re: Firefox 122 update breaks webextensions permission
Launchpad has imported 13 comments from the remote bug at https://bugzilla.mozilla.org/show_bug.cgi?id=1876447. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2024-01-25T05:06:07+00:00 Me+bz wrote: Steps to reproduce: - Update to Firefox 122 on Ubuntu - Install Video DownloadHelper and its Companion App. - In the settings of the addon, see that the Companion App is not recognized The command: ``` $ flatpak permission-show snap.firefox `` Shows that Firefox is allowed to read the manifest. But it doesn't. The logs say: ``` Jan 25 12:47:56 ubuntu-linux-22-04-02-desktop firefox[154219]: OnGetManifestDone error: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such method “GetManifest” Jan 25 12:47:57 ubuntu-linux-22-04-02-desktop firefox_firefox.desktop[154219]: [Parent 154219, Main Thread] WARNING: OnGetManifestDone error: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such method “GetManifest”: 'glib warning', file /build/firefox/parts/firefox/build/toolkit/xre/nsSigHandlers.cpp:187 ``` Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2051188/comments/1 On 2024-01-25T05:07:58+00:00 Me+bz wrote: launchpad bug: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release- upgrader/+bug/2051188 @Sylvestre Can you see if you find anyone who could assist? Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2051188/comments/2 On 2024-01-25T05:15:14+00:00 Me+bz wrote: I'm working on the Video DownloadHelper extension (100_000+ Linux users, mostly Ubuntu), and the Snap sandbox has always been a problem, but that specific update made it worse. We're getting those bug reports since the yesterday. Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2051188/comments/3 On 2024-01-25T05:41:16+00:00 Release-mgmt-account-bot wrote: :me+bz, if you think that's a regression, could you try to find a regression range using for example [mozregression](https://wiki.mozilla.org/Auto- tools/Projects/Mozregression)? Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2051188/comments/4 On 2024-01-25T05:41:56+00:00 Release-mgmt-account-bot wrote: The [Bugbug](https://github.com/mozilla/bugbug/) bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong. Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2051188/comments/5 On 2024-01-25T05:44:28+00:00 Me+bz wrote: (In reply to BugBot [:suhaib / :marco/ :calixte] from comment #3) > :me+bz, if you think that's a regression, could you try to find a regression > range using for example > [mozregression](https://wiki.mozilla.org/Auto-tools/Projects/Mozregression)? That's a little tricky because it's a snap-sandbox specific issue, and mozregression doesn't work with Snap: https://bugzilla.mozilla.org/show_bug.cgi?id=1763188 Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2051188/comments/6 On 2024-01-25T06:00:02+00:00 Me+bz wrote: Created attachment 9376384 Screenshot 1 of the exception Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2051188/comments/8 On 2024-01-25T06:00:56+00:00 Me+bz wrote: I've attached the exception from the js console. Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2051188/comments/9 On 2024-01-25T06:10:18+00:00 Me+bz wrote: More investigation: the code that's throwing comes from a patch by Canonical: https://github.com/canonical/firefox- snap/blob/stable/patches/native-messaging-portal.patch Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2051188/comments/11 On 2024-01-25T06:19:58+00:00 Me+bz wrote: This is the code that's breaking the extension: https://github.com/canonical/firefox- snap/blob/7f87c2af624891313906abe7fdccfda1ad76a0f7/patches/native- messaging-portal.patch#L748 Commit: https://github.com/canonical/firefox- snap/commit/f1bf0d6dd649e13a1a9a159de63ae74068966c0c If you guys have a quick access to Canonical, help would be appreciated. Reply at:
[Desktop-packages] [Bug 2051188] Re: Firefox 122 update breaks webextensions permission
Thank you for confirming, Paul. This happened because after the recent refresh of the native messaging patch shipped with the Firefox snap, it started using a newer 'GetManifest' DBus method from xdg-desktop-portal that hasn't yet been backported to the version of the portal available in Ubuntu 22.04. I sadly didn't catch this earlier because I did the development and testing work for this on Ubuntu 23.10 (which has an up-to-date portal package that does include the GetManifest method), and forgot to test it on Ubuntu 22.04. I'm working to fix this ASAP by removing the use of GetManifest in the patch for the time being, until we get a newer version of xdg-desktop- portal backported to Ubuntu 22.04. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to firefox in Ubuntu. https://bugs.launchpad.net/bugs/2051188 Title: Firefox 122 update breaks webextensions permission Status in Mozilla Firefox: Unknown Status in firefox package in Ubuntu: Confirmed Bug description: We build webextensions for Firefox. Since the latest update to Firefox 122, the native webextension bridge stopped working. ``` $ flatpak permission-show snap.firefox Table ObjectApp Permissions Data desktop-used-apps application/vnd.debian.binary-package snap.firefox gnome-software-local-file,1,3 0x00 webextensions net.downloadhelper.coapp snap.firefox yes 0x00 ``` This used to work and be enough, but not anymore. In the logs I see: ``` Jan 25 12:47:56 ubuntu-linux-22-04-02-desktop firefox[154219]: OnGetManifestDone error: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such method “GetManifest” Jan 25 12:47:57 ubuntu-linux-22-04-02-desktop firefox_firefox.desktop[154219]: [Parent 154219, Main Thread] WARNING: OnGetManifestDone error: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such method “GetManifest”: 'glib warning', file /build/firefox/parts/firefox/build/toolkit/xre/nsSigHandlers.cpp:187 ``` To manage notifications about this bug go to: https://bugs.launchpad.net/firefox/+bug/2051188/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 2051188] Re: Firefox 122 update breaks webextensions permission
I meant 22.04. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to firefox in Ubuntu. https://bugs.launchpad.net/bugs/2051188 Title: Firefox 122 update breaks webextensions permission Status in Mozilla Firefox: Unknown Status in firefox package in Ubuntu: Confirmed Bug description: We build webextensions for Firefox. Since the latest update to Firefox 122, the native webextension bridge stopped working. ``` $ flatpak permission-show snap.firefox Table ObjectApp Permissions Data desktop-used-apps application/vnd.debian.binary-package snap.firefox gnome-software-local-file,1,3 0x00 webextensions net.downloadhelper.coapp snap.firefox yes 0x00 ``` This used to work and be enough, but not anymore. In the logs I see: ``` Jan 25 12:47:56 ubuntu-linux-22-04-02-desktop firefox[154219]: OnGetManifestDone error: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such method “GetManifest” Jan 25 12:47:57 ubuntu-linux-22-04-02-desktop firefox_firefox.desktop[154219]: [Parent 154219, Main Thread] WARNING: OnGetManifestDone error: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such method “GetManifest”: 'glib warning', file /build/firefox/parts/firefox/build/toolkit/xre/nsSigHandlers.cpp:187 ``` To manage notifications about this bug go to: https://bugs.launchpad.net/firefox/+bug/2051188/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 2051188] Re: Firefox 122 update breaks webextensions permission
Amin, it's 22.05. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to firefox in Ubuntu. https://bugs.launchpad.net/bugs/2051188 Title: Firefox 122 update breaks webextensions permission Status in Mozilla Firefox: Unknown Status in firefox package in Ubuntu: Confirmed Bug description: We build webextensions for Firefox. Since the latest update to Firefox 122, the native webextension bridge stopped working. ``` $ flatpak permission-show snap.firefox Table ObjectApp Permissions Data desktop-used-apps application/vnd.debian.binary-package snap.firefox gnome-software-local-file,1,3 0x00 webextensions net.downloadhelper.coapp snap.firefox yes 0x00 ``` This used to work and be enough, but not anymore. In the logs I see: ``` Jan 25 12:47:56 ubuntu-linux-22-04-02-desktop firefox[154219]: OnGetManifestDone error: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such method “GetManifest” Jan 25 12:47:57 ubuntu-linux-22-04-02-desktop firefox_firefox.desktop[154219]: [Parent 154219, Main Thread] WARNING: OnGetManifestDone error: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such method “GetManifest”: 'glib warning', file /build/firefox/parts/firefox/build/toolkit/xre/nsSigHandlers.cpp:187 ``` To manage notifications about this bug go to: https://bugs.launchpad.net/firefox/+bug/2051188/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 2051188] Re: Firefox 122 update breaks webextensions permission
** Package changed: ubuntu-release-upgrader (Ubuntu) => firefox (Ubuntu) ** Changed in: firefox (Ubuntu) Importance: Undecided => High ** Changed in: firefox (Ubuntu) Assignee: (unassigned) => Amin Bandali (bandali) ** Also affects: firefox via https://bugzilla.mozilla.org/show_bug.cgi?id=1876447 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to firefox in Ubuntu. https://bugs.launchpad.net/bugs/2051188 Title: Firefox 122 update breaks webextensions permission Status in Mozilla Firefox: Unknown Status in firefox package in Ubuntu: Confirmed Bug description: We build webextensions for Firefox. Since the latest update to Firefox 122, the native webextension bridge stopped working. ``` $ flatpak permission-show snap.firefox Table ObjectApp Permissions Data desktop-used-apps application/vnd.debian.binary-package snap.firefox gnome-software-local-file,1,3 0x00 webextensions net.downloadhelper.coapp snap.firefox yes 0x00 ``` This used to work and be enough, but not anymore. In the logs I see: ``` Jan 25 12:47:56 ubuntu-linux-22-04-02-desktop firefox[154219]: OnGetManifestDone error: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such method “GetManifest” Jan 25 12:47:57 ubuntu-linux-22-04-02-desktop firefox_firefox.desktop[154219]: [Parent 154219, Main Thread] WARNING: OnGetManifestDone error: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such method “GetManifest”: 'glib warning', file /build/firefox/parts/firefox/build/toolkit/xre/nsSigHandlers.cpp:187 ``` To manage notifications about this bug go to: https://bugs.launchpad.net/firefox/+bug/2051188/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp