browser.webNavigation.getAllFrames returns null on first use

Confirmed Issue #12181334 • Assigned to Steven K.

Details

Author
Vick E.
Created
May 30, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

On startup of my addon I do a:

browser.tabs.query({url:[‘<all_urls>’]}, function(tabs) {
tabs.forEach(function(tab) {
browser.webNavigation.getAllFrames(function(frames) {
console.log('frames:’, frames);
});
})
});

It is giving null. But later (i dont know how much later, it seems after my first loop is over it seems i can do it again succesfully).

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Steven K.”

    • Hi Vick,

      Can you tell me the Windows 10 version you experienced this on?  (Win + S, type 'winver’, enter).

      Have you run this test using any other WebDriver languages?

      Appreciate the help,

      The MS Edge Team

    • Microsoft Edge Team

      Changed Status to “Confirmed”

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

    Sign in