|
Lines 1-3
a/Source/WebCore/ChangeLog_sec1
|
|
|
1 |
2018-10-03 Chris Dumez <cdumez@apple.com> |
| 2 |
|
| 3 |
Regression(r236779): Crash when changing the input element type from inside an 'input' event listener |
| 4 |
https://bugs.webkit.org/show_bug.cgi?id=190252 |
| 5 |
|
| 6 |
Reviewed by NOBODY (OOPS!). |
| 7 |
|
| 8 |
Add a null check for element() after firing the 'input' event and before firing the 'change' event |
| 9 |
in case the input event listener changes the input type. |
| 10 |
|
| 11 |
Tests: fast/dom/HTMLInputElement/change-type-in-click-event-listener.html |
| 12 |
fast/dom/HTMLInputElement/change-type-in-input-event-listener.html |
| 13 |
|
| 14 |
* html/BaseCheckableInputType.cpp: |
| 15 |
(WebCore::BaseCheckableInputType::fireInputAndChangeEvents): |
| 16 |
|
| 1 |
2018-10-03 Chris Dumez <cdumez@apple.com> |
17 |
2018-10-03 Chris Dumez <cdumez@apple.com> |
| 2 |
|
18 |
|
| 3 |
input.checked is incorrect while we're parsing its children |
19 |
input.checked is incorrect while we're parsing its children |