Tab info received by tabs.get with onCommitted event handler is not up to date

Confirmed Issue #12591965 • Assigned to Mahesh J.


Jason B.
Jul 1, 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

With this code in a background page:

chrome.webNavigation.onCommitted.addListener(function (details) {
  console.log("onCommitted - " + details.url);
  chrome.tabs.get(details.tabId, function(d) { console.log("tabs.get - " + details.url) });

If you watch the console while browsing around, you will see the onCommitted message have the correct URL for the new site you are visiting, while the tabs.get line will have the URL of the site you were on previously.

In Chrome 59, the two lines always return the same URL - that of the new page you are visiting.


0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Steven K.”

      Changed Status to “Confirmed”

    • Hi Jason,

      Are you running this extension in the Edge browser?  You will need to convert chrome extensions to Edge extensions before using them in Edge.  Here is a link to details about performing this migration and a tool to help to do the conversion.

      Let me know if I misunderstood this bug report,


    • Microsoft Edge Team

      Changed Status from “Confirmed”

      Changed Status to “Confirmed”

      Changed Assigned To to “Irfan A.”

      Changed Assigned To from “Irfan A.” to “Mahesh J.”

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

    Sign in