WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
87372
A DOMCharacterDataModified event is dispatched in loading HTML.
https://bugs.webkit.org/show_bug.cgi?id=87372
Summary
A DOMCharacterDataModified event is dispatched in loading HTML.
Hayato Ito
Reported
2012-05-24 04:46:37 PDT
The attached html file fires a DOMCharacterDataModified event. That should not be dispatched since we just load the HTML file. Note that the HTML does not contain new-line at the end of file. If we add a new-line at the end of file, event won't be dispatched.
Attachments
DOMCharacterDataModified event is wrongly dispatched.
(131 bytes, text/html)
2012-05-24 04:47 PDT
,
Hayato Ito
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Hayato Ito
Comment 1
2012-05-24 04:47:27 PDT
Created
attachment 143787
[details]
DOMCharacterDataModified event is wrongly dispatched.
Hayato Ito
Comment 2
2012-05-24 06:10:21 PDT
The related bug is here:
https://bugs.webkit.org/show_bug.cgi?id=86953
(This might not be viewable due to the security-restriction).
Adam Barth
Comment 3
2012-05-24 13:33:27 PDT
We probably just need to change the parser to use an API that doesn't trigger this mutation event, like we do with parserAddChild.
Jae Hyun Park
Comment 4
2012-08-12 23:56:32 PDT
This bug has been fixed in
r125162
.
Adam Barth
Comment 5
2012-08-13 10:25:08 PDT
Marking as fixed per
Comment #4
.
Lucas Forschler
Comment 6
2019-02-06 09:18:33 PST
Mass move bugs into the DOM component.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug