chrome.windows.getLastFocused fails with parameter windowTypes

Fixed, flighted Issue #9462123

Details

Author
Nicholas S.
Created
Oct 21, 2016
Privacy
This issue is public.
Found in
  • Microsoft Edge
Fixed in build #
15036
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Trying to type in the extension console:

chrome.windows.getLastFocused({ windowTypes: ['normal'] }, o => console.info)

Returns the following:

Error: Invalid value for argument 1. Property 'windowTypes': Unexpected property.

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Ibrahim O.”

    • Thank you for your feedback. Could you please provide us your sample, this will help us investigate the issue.  

      Best regards,
      The MS Edge Team

    • Microsoft Edge Team

      Changed Assigned To from “Ibrahim O.” to “Akshay P.”

      Changed Status to “Confirmed”

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

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

      Changed Status from “Confirmed” to “In code review”

    • I am having the same problem:

      chrome.windows.getLastFocused({
          windowTypes: ['normal']
      }, function (w){
          console.log(w);
      });
    • I forgot to mention that I am running the above code from a popup window, works great on chrome.

    • Microsoft Edge Team

      Changed Status from “In code review” to “Fixed, not yet flighted”

    • Fixed. Will be available in new build.

    • Microsoft Edge Team

      Changed Assigned To to “Arif S.”

      Changed Status from “Fixed, not yet flighted” to “Fixed, flighted”

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

    Sign in