On Thu Nov 24 16:44:04 2022 +0000, Gabriel Ivăncescu wrote:
changed this line in [version 2 of the diff](/wine/wine/-/merge_requests/1526/diffs?diff_id=20861&start_sha=fc100120dee69f35ad7587770040a7c6c1b5d2fa#9d819eff9f6a881e42fda045a8922ae92db95251_62_62)
As far as I can see, the `load_nsuri` from `navigate_uri` (which is the one we need) has NULL bsc, so that can't work, since there's nowhere to set it before we hand it off to Gecko to callback into.
That said I found a way to pass it the correct "reload" load type and retrieve it later so we can use that (note that loadTypeRefresh didn't work, not sure what it does). Not 100% sure if it's correct but… I think it's the cleanest way, so I hope it is.
I also split up the editmode change into separate patch and cleaned up some checks since it's actually treated as a reload anyway.