Remove use of nsISAXXMLReader in CalDAV
Categories
(Calendar :: Provider: ICS/WebDAV, task, P2)
Tracking
(thunderbird_esr78 wontfix, thunderbird84 wontfix)
People
(Reporter: hsivonen, Assigned: rnons)
References
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Comment 1•6 years ago
|
||
Reporter | ||
Comment 2•6 years ago
|
||
Reporter | ||
Comment 3•6 years ago
|
||
Reporter | ||
Comment 4•6 years ago
|
||
Comment 5•6 years ago
|
||
Reporter | ||
Comment 6•6 years ago
|
||
Comment 7•6 years ago
|
||
The Sax parser has now been removed as announced for the second week of January. So should we fork it?
https://hg.mozilla.org/mozilla-central/rev/cc4350821ea2
Updated•6 years ago
|
Comment 9•6 years ago
|
||
Forking was done in bug 1518552. Did you ever get a start of this?
Comment 10•5 years ago
|
||
Did you ever get started on this? If so, can you attach the WIP?
Updated•4 years ago
|
Comment 12•4 years ago
|
||
See also bug 1647252.
Updated•4 years ago
|
Assignee | ||
Comment 13•4 years ago
|
||
Add class XMLResponsHandler to imitate some behaviors of nsISAXXMLReader.
Assignee | ||
Updated•4 years ago
|
Comment 14•4 years ago
|
||
I took a quick look at the patch and Geoff's comments seem right to me. I would still prefer that instead of trying to imitate nsISAXXMLReader we instead remove that processing and have simple request/response classes such as in https://searchfox.org/comm-central/source/calendar/providers/caldav/modules/CalDavRequest.jsm
I know that may be a larger undertaking, but it would likely simplify the code quite a bit and remove a bunch of xpcom. If that isn't something being done in this bug please file a follow up.
Thank you for working this out!
Assignee | ||
Comment 15•4 years ago
|
||
(In reply to Philipp Kewisch [:Fallen] [:π][:π§©] from comment #14)
I took a quick look at the patch and Geoff's comments seem right to me. I would still prefer that instead of trying to imitate nsISAXXMLReader we instead remove that processing and have simple request/response classes such as in https://searchfox.org/comm-central/source/calendar/providers/caldav/modules/CalDavRequest.jsm
I know that may be a larger undertaking, but it would likely simplify the code quite a bit and remove a bunch of xpcom. If that isn't something being done in this bug please file a follow up.
Seems it is tracked by bug 1648598.
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Comment 16•4 years ago
|
||
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/d2dcf467b8f9
Replace nsISAXXMLReader with DOMParser in CalDavRequestHandlers. r=mkmelin,darktrojan
Updated•4 years ago
|
Description
•