browserAction.setIcon with relative path works not correct

By design Issue #10320372


Sergey S.
Dec 27, 2016
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

Since Insider preview 14981 browserAction.setIcon changed behavior
After call “setIcon” icon in the toolbar disappear (the icon is the default - puzzle)
I find out the reason - setIcon uses a path relative to the current document, and not relative to the root directory of extensions

In the chrome, manifest and previous Edge version (rs1) - icon path relative to the root directory of extensions

Added test extension to reproduce issue


1 attachment

Comments and activity

  • As workaround i use absolute paths from browser.runtime.getUrl

  • Microsoft Edge Team

    Changed Assigned To to “Brad E.”

    Changed Assigned To from “Brad E.” to “Akshay P.”

    Changed Assigned To from “Akshay P.” to “Gowthami C.”

    Changed Status to “Confirmed”

    Changed Status from “Confirmed” to “By design”

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

Sign in