Skip to content

Calling browser.search.search (from webextensions API) opens glance window instead of new tab.Β #10439

@alexey-kudryavtsev

Description

@alexey-kudryavtsev

Preliminary Checks

  • I have read and understood the important section above.
  • I have searched existing issues and avoided creating duplicates.
  • I am not filing an enhancement request.
  • I have checked that this issue cannot be reproduced on Mozilla Firefox.
  • I have checked that this issue can be reproduced once I removed all my Mods and Custom CSS.

What happened?

Some popular extensions (Vimium, Omni) use search.search() API as documented on this MDN page. In Firefox by default (without disposition) it opens new tab. In Zen it instead opens glance popup window, breaking extensions' functionality and usability.

Expected behavior

Calling browser.search.search({query: "..."}) in webextension background script opens new tab with search engine.

Actual behavior

Glance window with search engine page appears.

Steps to reproduce

  • Install any extension using this API, e.g. Omni
  • Bring up extension's popup and enter some text to search
  • Press enter or click "search ..." item in the popup
  • Glance window opens.

Screenshots and videos

No response

Version

1.15.5b (Firefox 142.0.1) (64-bit)

What platform are you seeing the problem on?

Windows - x64

What component is this issue related to?

Glance

Relevant log output if applicable

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions