onchange not fired when clear value of textarea
Categories
(Core :: DOM: Core & HTML, defect, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox123 | + | verified |
| firefox124 | --- | verified |
| firefox125 | --- | verified |
People
(Reporter: jochen.kremer, Assigned: emilio)
References
(Regression)
Details
(Keywords: nightly-community, regression)
Attachments
(1 file)
|
48 bytes,
text/x-phabricator-request
|
diannaS
:
approval-mozilla-beta+
pascalc
:
approval-mozilla-release+
|
Details | Review |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0
Steps to reproduce:
<textarea onchange="alert('change')">12345</textarea>
Select full text and delete id, then leave field.
Actual results:
Nothing happens. Onchange is not fireing,
It´s only fireing when i delete a part of the value and then the rest.
Expected results:
The event should fireing also whe i delete the full value at the first time. We checkt this. In Version 1.2.2 it´s working. In 1.2.3 it´s broken
Comment 1•7 months ago
|
||
[Tracking Requested - why for this release]: Onchange event does not fire
STR:
- Open
data:text/html,<textarea onchange="alert('change')">12345</textarea> - Focus the textarea and select full text
- Delete the selected text (Hit DEL key or Ctrl+X)
- Take the focus away from the textarea (click on page body)
Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=fd640ad054ea9962a833d4d1e406f3bd63577a68&tochange=50e9acd8344672f53caae7463162c31c627b3546
Comment 2•7 months ago
|
||
:emilio, since you are the author of the regressor, bug 1850295, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
Updated•7 months ago
|
Comment 3•7 months ago
|
||
Emilio, could you set the severity for this regression? Thanks
| Assignee | ||
Updated•7 months ago
|
| Assignee | ||
Comment 4•7 months ago
|
||
This deletion was an oversight of the regressing bug. Kind of
embarrassing we didn't have a test for it...
Comment 7•7 months ago
|
||
| bugherder | ||
Comment 9•7 months ago
|
||
The patch landed in nightly and beta is affected.
:emilio, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox124towontfix.
For more information, please visit BugBot documentation.
| Assignee | ||
Comment 11•7 months ago
|
||
Comment on attachment 9382049 [details]
Bug 1881457 - Keep saving mFocusedValue. r=smaug,#dom-core
Beta/Release Uplift Approval Request
- User impact if declined: comment 0
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: comment 0
- List of other uplifts needed: none
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Restores previous behavior, one-liner.
- String changes made/needed: none
- Is Android affected?: Yes
| Assignee | ||
Updated•7 months ago
|
| Assignee | ||
Updated•7 months ago
|
Comment 12•7 months ago
|
||
Comment on attachment 9382049 [details]
Bug 1881457 - Keep saving mFocusedValue. r=smaug,#dom-core
Approved for 124.0b4
Comment 13•7 months ago
|
||
| uplift | ||
Updated•7 months ago
|
Updated•7 months ago
|
Comment 14•7 months ago
|
||
Reproduced the issue on an affected build, on Windows 10.
Verified as fixed on Firefox 124.0b4 (20240226091939) and 125.0a1 (20240226165659) on the following platforms: Win 10, Win 11, Ubuntu 22 and macOS 11.
Comment 15•7 months ago
|
||
Comment on attachment 9382049 [details]
Bug 1881457 - Keep saving mFocusedValue. r=smaug,#dom-core
123 regression, low risk, let's take it in our planned dot release next week, thanks.
Comment 16•7 months ago
|
||
| uplift | ||
Comment 17•7 months ago
|
||
| bugherder uplift | ||
Comment 19•7 months ago
|
||
Verified as fixed on Firefox 123.0.1 (20240304104836) on the following platforms: Windows 10, Windows 11, Ubuntu 22 and macOS 11.
Description
•