Edge Extension - windows.getAll fails when optional getInfo object is not specified

Confirmed Issue #9004581 • Assigned to Mohit R.

Details

Author
Maxime R.
Created
Sep 21, 2016
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
14.14393
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Microsoft Edge 38.14393.0.0
Microsoft EdgeHTML 14.14393

I get the following error in my background script when I don’t pass the optional getInfo object :

API Call Failed: windows.getAll - Error: Invocation of form windows.getAll(function, undefined) doesn’t match definition windows.getAll(optional object getInfo, function callback).

It looks like parameters are not checked in the right order.

To fix this issue I’m forced to pass getInfo:

chrome.windows.getAll({populate: false}, function(a) {
  ...
});

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Brad E.”

      Changed Assigned To to “Sebastian P.”

      Changed Assigned To from “Sebastian P.” to “Akshay P.”

      Changed Assigned To from “Akshay P.” to “Arif S.”

      Changed Status to “Confirmed”

      Changed Title from “Edge Extension - API Call Failed: windows.getAll” to “Edge Extension - windows.getAll fails when optional getInfo object is not specified”

      Changed Assigned To from “Arif S.” to “Vasanth C.”

      Changed Assigned To from “Vasanth C.” to “Arif S.”

      Changed Assigned To from “Arif S.” to “Mohit R.”

      Changed Status from “Confirmed” to “Not reproducible”

    • Not repro’ing on build 14993.rs_edge_app_lique.161215-2030

    • Microsoft Edge Team

      Changed Assigned To to “Vasanth C.”

      Changed Assigned To from “Vasanth C.” to “Mohit R.”

      Changed Status from “Not reproducible”

      Changed Assigned To from “Mohit R.” to “Akshay P.”

      Changed Assigned To from “Akshay P.” to “Mohit R.”

      Changed Status to “Confirmed”

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

    Sign in