browser.runtime.getBackgroundPage() returns an object with inaccessable (location) or nonexistent (browser) properties

In progress Issue #18485226 • Assigned to Sanchit A.

Details

Author
Cool C.
Created
Aug 1, 2018
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
17.17134
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

I think this behavior is caused by “persistent: false” in manifest.json, but the documentation says: "If the background page is an event page, the system will ensure it is loaded before calling the callback".

Steps to reproduce the issue:

  1. unpack and install the attached extension.
  2. new tab with title “CoolCmd” is shown. copy the URL of this tab.
  3. restart the browser.
  4. “paste and go” the URL from step 2.
  5. two new tabs will open: the one have white background, the other is green.
  6. open DevTools in the white tab. the console contains error: "SCRIPT70: SCRIPT70: Permission denied". win.browser and win.location is inaccessable.

Attachments

1 attachment

Comments and activity

  • Microsoft Edge Team

    Changed Assigned To to “Sanchit A.”

    Changed Status to “Confirmed”

    Changed Status from “Confirmed” to “In progress”

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

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

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

Sign in