Tabs.update append extension path to url as prefix

Fixed Issue #10193919


duong n.
Dec 14, 2016
This issue is public.
Fixed in build #
Reported by 2 people

Sign in to watch or report this issue.

Steps to reproduce

Using the attached extension:

  1. Get an extension web resource, e.g. “some_page.html” by using:
    var url = browser.extension.getURL(“some_page.html”);
    We got url = “ms-browser-extension://MSGextensionName_wvx3sa3v3dj1m/some_page.html

  2. Update a tab to this url by:
    browser.tabs.update(tab_id, {url: url}, call_back_function);

  3. Notice that the tab actually open can not open the web resource since it tried to open with
    url = “ms-browser-extension://MSGextensionName_wvx3sa3v3dj1m/ms-browser-extension://MSGextensionName_wvx3sa3v3dj1m/some_page.html"some_page.html”
    where extension path are appended as prefix.


1 attachment

Comments and activity

  • Microsoft Edge Team

    Changed Assigned To to “Ibrahim O.”

  • Microsoft Edge Team

    Changed Assigned To to “Akshay P.”

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

    Changed Status to “Confirmed”

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

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

  • Fixed.

  • Microsoft Edge Team

    Changed Assigned To to “Arif S.”

  • This is not fixed for create a new tab in build 15025.1000.170127-1750

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

Sign in