Alexandre Julliard pushed to branch master at wine / wine
Commits: e62265b1 by Gabriel Ivăncescu at 2024-10-14T20:24:35+02:00 mshtml: Make sure disp_invoke is called before locking the document mode.
ieframe's get_doc_ready_state retrieves the document's readystate, but this happens way too early before meta elements are parsed (and thus compat mode is not set yet). Prior to the regression, it was handling DISPID_READYSTATE directly without going through DispatchEx's InvokeEx, which calls ensure_real_info and locks the document mode.
Fixes a regression introduced by 88a06f18b467a31d96ab5b9c816cf3ee3b2bb2f2.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
- - - - -
2 changed files:
- dlls/mshtml/dispex.c - dlls/mshtml/tests/script.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/e62265b1130bc49efb51569528d4382...