Warning popup of input element with 'required' attribute in new options dialog of extension is not shown
Reported by
klesto...@gmail.com,
Mar 28 2017
|
||
Issue description
UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.110 Safari/537.36
Steps to reproduce the problem:
1. open options.html in Chrome
2. press Enter or click OK
3. popup with message "Please fill out this field" will be shown
4. install extension
5. go to its Options
6. press Enter or click OK
7. no popup will be shown
What is the expected behavior?
popup with message "Please fill out this field" should be shown
What went wrong?
popup is not shown
Did this work before? No
Does this work in other browsers? N/A
Chrome version: 57.0.2987.110 Channel: stable
OS Version: 10.0
Flash Version: Shockwave Flash 25.0 r0
Popup is shown if we add
"options_ui": {
"open_in_tab": true
}
in manifest, or if we use old way to declare options:
"options_page": "options.html"
If nothing is entered in input, :invalid CSS selector is applied(background color is changed) and onsubmit event is not fired when OK is clicked or Enter is pressed. So Chrome takes notice of 'required' attribute, but doesn't show warning popup, when options dialog is displayed using new way.
Bug is not fixed for more then a year:
https://bugs.chromium.org/p/chromium/issues/detail?id=598204
,
Apr 10 2017
|
||
►
Sign in to add a comment |
||
Comment 1 by jmukthavaram@chromium.org
, Apr 3 2017Components: Platform>Extensions
Labels: -Type-Bug -Pri-2 hasbisect M-59 OS-Linux OS-Mac Pri-1 Type-Bug-Regression
Owner: roc...@chromium.org
Status: Assigned (was: Unconfirmed)