Hi Gabriel,
On 5/24/22 20:06, Gabriel Ivăncescu wrote:
I don't know what else "extending much further" in this direction means though—do you have some examples of the more generic version of Gecko event listener you mentioned? Or how would it look like? I honestly don't know how else this could be handled, since I learned the code as I worked on it. :-)
Both event listeners essentially maintain a set of bound events (one uses event_vector for what your patch uses a bitmap) and, when requested, bind it if it didn't before. There is nothing really specific to XHR or nodes other than current implementation details.
Jacek