New issue
Advanced search Search tips

Issue 679167 link

Starred by 3 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Jan 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Method chrome.runtime.openOptionsPage doesn't work in a DevTools custom extension

Reported by d3l...@gmail.com, Jan 7 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36

Steps to reproduce the problem:
1. Install any extension, that extends DevTools with new panel
2. Go to google.com and open DevTools
3. Undock DevTools into separate window
4. Open an extension's custom panel
5. Open devtools for this panel and go to console
6. Try to execute "chrome.runtime.openOptionsPage()"

What is the expected behavior?
Options page for this extension will be opened

What went wrong?
> "Uncaught TypeError: chrome.runtime.openOptionsPage is not a function"

Did this work before? Yes 

Does this work in other browsers? N/A

Chrome version: 55.0.2883.95  Channel: stable
OS Version: OS X 10.12.2
Flash Version: Shockwave Flash 24.0 r0

I am working on some chrome devtools extension, and noticed that method "openOptionsPage" is not defined anymore. 
I don't know exactly which update affected it, but it worked few days ago. 

It also reproduces on Windows 10 @ Chrome 55.0.2883.87
 
Cc: kkaluri@chromium.org
Labels: Needs-Feedback
d3liaz@ in order to triage this issue could you please help with sample extension or url so that reproduce the scenario on our end.

Thank You...

Comment 2 by shrike@chromium.org, Jan 13 2017

Components: Platform>DevTools

Comment 3 by caseq@chromium.org, Jan 17 2017

Status: WontFix (was: Unconfirmed)
We do not currently expose general chrome.* extension bindings into the extension code running within the DevTools. Please use background page to access chrome API.

Sign in to add a comment