New issue
Advanced search Search tips

Issue 679926 link

Starred by 1 user

Issue metadata

Status: Archived
Owner:
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Invalid value for 'commands[1].default': Ctrl + Right arrow

Reported by pulki...@gmail.com, Jan 11 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36

Steps to reproduce the problem:
1. Create a manifest.json for a chrome extension
2. Add a command shortcut with the following shortcut
"goto-next-page": {
            "suggested_key": {
                "default": "Ctrl + Right arrow"
            },
            "description": "Goto the next page"
3. Browser will not load the extension and throw the following error
Invalid value for 'commands[1].default': Ctrl + Right arrow

What is the expected behavior?
I am not sure how to specify the Right and left arrow keys in the shortcut.

What went wrong?
I am not sure how to specify the Right and left arrow keys in the shortcut.

Did this work before? No 

Does this work in other browsers? N/A

Chrome version: 55.0.2883.87  Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: Shockwave Flash 24.0 r0

I have tried playing around with the case of R, L and A letters it doesn't work!
 

Comment 1 by tkent@chromium.org, Jan 11 2017

Components: -Blink>JavaScript Platform>Extensions
Labels: Needs-Triage-M55
Cc: kkaluri@chromium.org
Labels: Needs-Feedback
pulkitnt@ in order triage this issue could you please help us with the sample extension file, steps to reproduce the issue and actual & expected results, so that we reproduce it on our end.

Thank You...

Comment 4 by pulki...@gmail.com, Jan 17 2017

@kkaluri Attached is the extension zip file
Just try to load it into chrome and you would get the following error

Failed to load extension from: ~\Documents\ChromePlugins\Issue\NextPage
Invalid value for 'commands[1].default': Ctrl + Right arrow.

In the manifest,
I am using the following

    "commands": {
        "goto-next-page": {
            "suggested_key": {
                "default": "Ctrl + Right arrow"
            },
            "description": "Goto the next page"
        },
        "goto-previous-page": {
            "suggested_key": {
                "default": "Ctrl + Left arrow"
            },
            "description": "Goto the previous page"
        }
    },


As yo can see the "Ctrl + Left arrow" and "Ctrl + Right arrow" are not recognized as va.id values here.
NextPage.rar
1.6 KB Download
Project Member

Comment 5 by sheriffbot@chromium.org, Jan 25 2017

Labels: -Needs-Feedback Needs-Review
Owner: kkaluri@chromium.org
Thank you for providing more feedback. Adding requester "kkaluri@chromium.org" for another review and adding "Needs-Review" label for tracking.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 6 by cda...@chromium.org, Mar 13 2017

Cleaning up "Needs-Review" label as we are not using this label for triage. Ref  bug 684919 

Comment 7 by cda...@chromium.org, Mar 13 2017

Labels: -Needs-Review
Project Member

Comment 8 by sheriffbot@chromium.org, Mar 15 2018

Status: Archived (was: Unconfirmed)
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment