26 Nov
2025
26 Nov
'25
11:39 a.m.
On Wed Nov 26 11:10:14 2025 +0000, Nikolay Sivov wrote:
Do we have an example of how this works? Not not exactly like that, but we do have various implementations of separate bits. domdoc already supports `IObjectSafety`, so it could simply propagate those flags to the script engine during initialization. For the script site, it would need to implement `IServiceProvider` and likely just forward queries to the site set via `IObjectWithSite`.
Since script engines are pluggable, it should be possible to write a test using a custom script engine to see how MSXML interacts with it. We have some tests like that, but I'm not sure how practical that is here. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9600#note_123816