Avoid QI from `nsINode*` to `nsCOMPtr<nsIFormControl>`
Categories
(Core :: DOM: Core & HTML, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox130 | --- | fixed |
People
(Reporter: masayuki, Assigned: masayuki)
Details
Attachments
(2 files)
While I'm investigating another bug, I found a lot of QI from nsINode* to nsCOMPtr<nsIFormControl>. I think we can get rid of them.
| Assignee | ||
Comment 1•1 year ago
|
||
Although the following patch do not use the dom::EventTarget* versions,
they should be available for consistency with the other FromNode related
utility methods.
| Assignee | ||
Comment 2•1 year ago
|
||
Unfortunately, the following QIs are still required.
https://searchfox.org/mozilla-central/rev/cbdfa503a87597b20719aae5f6a1efccd6cb3b7b/dom/html/nsIConstraintValidation.cpp#101,121
Depends on D215576
| Assignee | ||
Comment 3•1 year ago
|
||
farre: could you review attachment 9410936 [details]? It's a simple refactoring entire the nsIFormControl interface users.
Comment 4•1 year ago
|
||
Isn't that already reviewed (by me :) ) ?
| Assignee | ||
Comment 5•1 year ago
|
||
(In reply to Olli Pettay [:smaug][bugs@pettay.fi](vacation until July 14) from comment #4)
Isn't that already reviewed (by me :) ) ?
Err, it's about attachment 9410937 [details] which requires a review of #sessionstore-reviewers.
Well, farre is now in a long PTO, so, redirecting the ni? to Sarah Clements.
Hello, Sarah, could you review the patch as a member of #sessionstore-reviewers? It's a simple refactoring patch without any logical changes.
Comment 6•1 year ago
|
||
Hi :masayuki, I did r+ that but in the future it'd be helpful to explain the session restore changes more clearly (the current session restore owners are frontend-end based in our knowledge of session restore, so its out of my wheelhouse).
| Assignee | ||
Comment 7•1 year ago
|
||
Thank you!
Comment 9•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/4621950d1f80
https://hg.mozilla.org/mozilla-central/rev/897825504e5d
Description
•