Edge 15042 - chrome.runtime not defined in JS code

By design Issue #11187789

Details

Author
P.
Created
Mar 7, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
15.15042
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

I am trying to use our extension in Microsoft Edge browser. This extension use native messaging and works with Chrome, Opera.
I have successfully loaded this extension in Edge. From HTML page, I call from JavaScript chrome.runtime.connect() but in debugger I see that chrome.runtime is undefined.
The same result is when replacing chrome.* to browser.*, browser is also undefined.

Is it not possible to access APIs from page’s JavaScript?

The behavior is same in builds 15002, 15031 and 15042.

Attachments

0 attachments

    Comments and activity

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

    Sign in