tabs.query for active tab after tab.create

Not reproducible Issue #12093789


Igor K.
May 22, 2017
This issue is public.
Found in
  • Microsoft Edge
Found in build #
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

  1. call tabs.create and open a new tab (‘about:blank’)
  2. call tabs.query({active: true}, cb) in callback you receive an empty tabs array. But you expect to see an array with an active tab.
    If you call tabs.query({}, cb) - you will see that newly created tab has status: 'loading', active: false


0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Steven K.”

    • Hi Igor,

      Is this code being used in an extension?

      I wanted to make you aware of the namespace requirement for Edge Extensions supported APIs.  See the “Note” at the top of the following page.

      “For Microsoft Edge, all extension APIs are under the browser namespace, e.g. browser.browserAction.disable().”

      If this was not your main issue, send a repro that we can test.

      Also, the example “QR code” demo extension shows the tabs API with a non-empty tabs array being returned.

      The MS Edge Team

    • Microsoft Edge Team

      Changed Status to “Not reproducible”

    You need to sign in to your Microsoft account to add a comment.

    Sign in