New issue
Advanced search Search tips

Issue 793278 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

experimental-extension-apis not honored when evaluating alphaEnabled permission

Reported by d...@studioseptember.nl, Dec 8 2017

Issue description

Chrome Version       : 62.0.3202.94
OS Version: Debian 9.1

What steps will reproduce the problem?
1. launch chrome (stable) with --enable-experimental-extension-apis
2. load extension which uses chrome.app.window.create(... { alphaEnabled: true });
3. launch extension

What is the expected result?
A window with a background with alpha enabled

What happens instead of that?
Window does not get created, instead an error is printed in console:

Unchecked runtime.lastError while running app.window.create: The alphaEnabled option requires dev channel or newer.

UserAgentString: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36

Attached is the chrome app. 

According to https://bugs.chromium.org/p/chromium/issues/detail?id=763960 the --enable-experimental-extension-apis flag should bypass any channel restrictions. The alpha restriction is still enforced, even with this flag enabled.

 
Screenshot from 2017-12-08 13-42-01.png
27.8 KB View Download
Screenshot from 2017-12-08 13-42-15.png
128 KB View Download
transparent-chrome-app.zip
2.1 KB Download
Labels: Needs-Triage-M62
Components: Platform>Extensions>API
Cc: pnangunoori@chromium.org
Labels: Target-67 M-68 Target-66 FoundIn-66 FoundIn-67 FoundIn-68 Target-68
Status: Untriaged (was: Unconfirmed)
Tested on Chrome #60.0.3072.0, Stable #66.0.3359.170, Canary #66.0.3430.0 on Windows 10 and Debian Rodete and able to reproduce the issue. 

This is a non-regression issue and able to reproduce from M-60 #60.0.3072.0. Marking it as untriaged so that issue gets addressed.

Note:
1. Attached the screencast for reference.
2. Issue doesn't seems to reproduce on Mac. 

Thanks!
793278.webm
2.9 MB View Download
Owner: rdevlin....@chromium.org
Status: Assigned (was: Untriaged)
Assigning to Devlin who fixed https://bugs.chromium.org/p/chromium/issues/detail?id=763960.

Sign in to add a comment