** Description changed:

+ [ Impact ]
+ 
+ * Enabling the web search provider can throw "TypeError: method
+   GLib.Error.matches: At least 2 arguments required, but only 1 passed" at
+   extension enable, so the extension fails to enable and web search is
+   unavailable.
+ 
+ [ Test Plan ]
+ 
+ * On Ubuntu 26.04, enable the web search provider with no default browser
+   set.
+ * Expected: the extension enables and the error is logged, not thrown.
+ * Actual: enable() throws the TypeError above.
+ 
+ [ Where problems could occur ]
+ 
+ * Only the error classification changes (now compares against
+   Gio.IOErrorEnum.CANCELLED), not the provider behaviour.
+ 
+ [ Other Info ]
+ 
+ * Upstream: gnome-shell-web-search-provider 6a9e3d7
+   ("extension: Fix error handling code").
+ 
+ ---
+ 
  The extension may fail to check the error type during enable phase.
  
- Jun 02 12:27:43 ubuntu gnome-shell[3659]: Extension 
[email protected]: TypeError: method GLib.Error.matches: At least 
2 arguments required, but only 1 passed
-                                           
-                                           Stack trace:
-                                             
enable@file:///usr/share/gnome-shell/extensions/[email protected]/extension.js:44:17
-                                             
async*_callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:266:38
-                                             
loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:433:32
-                                             
async*_loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:753:24
-                                             
async*_enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:759:48
-                                             
_sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:794:20
-                                             
async*init@resource:///org/gnome/shell/ui/extensionSystem.js:76:14
-                                             
_initializeUI@resource:///org/gnome/shell/ui/main.js:338:22
-                                             
start@resource:///org/gnome/shell/ui/main.js:197:11
-                                             
@resource:///org/gnome/shell/ui/init.js:12:47
-                                             
@resource:///org/gnome/shell/ui/init.js:20:20
+ Jun 02 12:27:43 ubuntu gnome-shell[3659]: Extension web-search-
+ [email protected]: TypeError: method GLib.Error.matches: At least 2
+ arguments required, but only 1 passed
+ 
+                                           Stack trace:
+                                             
enable@file:///usr/share/gnome-shell/extensions/[email protected]/extension.js:44:17
+                                             
async*_callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:266:38
+                                             
loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:433:32
+                                             
async*_loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:753:24
+                                             
async*_enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:759:48
+                                             
_sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:794:20
+                                             
async*init@resource:///org/gnome/shell/ui/extensionSystem.js:76:14
+                                             
_initializeUI@resource:///org/gnome/shell/ui/main.js:338:22
+                                             
start@resource:///org/gnome/shell/ui/main.js:197:11
+                                             
@resource:///org/gnome/shell/ui/init.js:12:47
+                                             
@resource:///org/gnome/shell/ui/init.js:20:20
  
  ---
  External link: https://warthogs.atlassian.net/browse/UDENG-11107

** Description changed:

  [ Impact ]
  
  * Enabling the web search provider can throw "TypeError: method
-   GLib.Error.matches: At least 2 arguments required, but only 1 passed" at
-   extension enable, so the extension fails to enable and web search is
-   unavailable.
+   GLib.Error.matches: At least 2 arguments required, but only 1 passed" at
+   extension enable, so the extension fails to enable and web search is
+   unavailable.
  
  [ Test Plan ]
  
  * On Ubuntu 26.04, enable the web search provider with no default browser
-   set.
+   set.
  * Expected: the extension enables and the error is logged, not thrown.
- * Actual: enable() throws the TypeError above.
  
  [ Where problems could occur ]
  
  * Only the error classification changes (now compares against
-   Gio.IOErrorEnum.CANCELLED), not the provider behaviour.
+   Gio.IOErrorEnum.CANCELLED), not the provider behaviour.
  
  [ Other Info ]
  
  * Upstream: gnome-shell-web-search-provider 6a9e3d7
-   ("extension: Fix error handling code").
+   ("extension: Fix error handling code").
  
  ---
  
  The extension may fail to check the error type during enable phase.
  
  Jun 02 12:27:43 ubuntu gnome-shell[3659]: Extension web-search-
  [email protected]: TypeError: method GLib.Error.matches: At least 2
  arguments required, but only 1 passed
  
                                            Stack trace:
                                              
enable@file:///usr/share/gnome-shell/extensions/[email protected]/extension.js:44:17
                                              
async*_callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:266:38
                                              
loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:433:32
                                              
async*_loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:753:24
                                              
async*_enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:759:48
                                              
_sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:794:20
                                              
async*init@resource:///org/gnome/shell/ui/extensionSystem.js:76:14
                                              
_initializeUI@resource:///org/gnome/shell/ui/main.js:338:22
                                              
start@resource:///org/gnome/shell/ui/main.js:197:11
                                              
@resource:///org/gnome/shell/ui/init.js:12:47
                                              
@resource:///org/gnome/shell/ui/init.js:20:20
  
  ---
  External link: https://warthogs.atlassian.net/browse/UDENG-11107

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2155930

Title:
  Web search provider fails to report error on init failure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell-ubuntu-extensions/+bug/2155930/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to