On Wed Oct 11 16:31:06 2023 +0000, Gabriel Ivăncescu wrote:
BTW, does it matter that much if Gecko's window is updated properly? Since navigation is disabled after that on the outer window, and Gecko's document is indeed correctly set here (it's created along with our mshtml document node) so all operations on the doc should be "correct" for an about:blank document. Just the Window won't, but I don't think we're using it?
Well, does the patch matter in the first place? I thought that your main motivation was to get references right and it's not achieved if Gecko still holds the document, including all its iframes. Creating a document is far from free, so is it worth it in the current shape?
I'd expect that there is way to do that right in Gecko, but I don't know without deeper look at its sources.