On Fri Nov 29 17:14:34 2024 +0000, Gabriel Ivăncescu wrote:
> This seems to give me test failures about not finding "title" element,
> only on wine. I assume we lack something to automatically put a title if
> missing. What should I do?
Ah, that's one of those parser differences with Gecko. Let's leave it as you did for now then.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6927#note_89251
On Fri Nov 29 17:00:58 2024 +0000, Jacek Caban wrote:
> Let's try to avoid adding more strings here. You could change
> `test_docfrag` to use `set_body_html` and then use the existing `doc_blank`/`doc_blank_ie9`.
This seems to give me test failures about not finding "title" element, only on wine. I assume we lack something to automatically put a title if missing. What should I do?
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6927#note_89250
Jacek Caban (@jacek) commented about dlls/mshtml/tests/dom.c:
> static const char emptydiv_str[] =
> "<html><head><title>emptydiv test</title></head>"
> "<body><div id=\"divid\"></div></body></html>";
> +static const char emptydiv_ie9_str[] =
> + "<html><head><meta http-equiv=\"x-ua-compatible\" content=\"IE=9\"/><title>emptydiv test</title></head>"
> + "<body><div id=\"divid\"></div></body></html>";
Let's try to avoid adding more strings here. You could change `test_docfrag` to use `set_body_html` and then use the existing `doc_blank`/`doc_blank_ie9`.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6927#note_89249
Jacek Caban (@jacek) commented about dlls/mshtml/mshtml_private.h:
>
> /* Used by objects that want to delay their compat mode initialization until actually needed */
> HTMLInnerWindow *(*get_script_global)(DispatchEx*);
> + dispex_static_data_t *(*get_dispex_data)(DispatchEx*);
Could we just extend `get_script_global` instead? Other than document objects, it's used only for windows anyways.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6927#note_89248
--
v3: mshtml: Don't expose some props from document prototype depending on mode.
mshtml: Expose the right props from document fragments.
mshtml: Use DocumentPrototype as the document's prototype for modes prior
mshtml: Move HTMLDocument prototype props to the Document prototype.
https://gitlab.winehq.org/wine/wine/-/merge_requests/6927
--
v2: mshtml: Don't expose some props from document prototype depending on mode.
mshtml: Expose the right props from document fragments.
mshtml: Use DocumentPrototype as the document's prototype for modes prior
mshtml: Move HTMLDocument prototype props to the Document prototype.
https://gitlab.winehq.org/wine/wine/-/merge_requests/6927
--
v3: winevulkan: Use a vulkan_object header for other wrappers.
winevulkan: Introduce a new vulkan_swapchain base structure.
winevulkan: Introduce a new vulkan_surface base structure.
winevulkan: Introduce a new vulkan_queue base structure.
winevulkan: Restore some wine_*_from_handle helpers.
winevulkan: Introduce a new vulkan_device base structure.
winevulkan: Name wine_device parameters and variables more consistently.
https://gitlab.winehq.org/wine/wine/-/merge_requests/6916