Alexandre Julliard pushed to branch master at wine / wine
Commits: f46152dd by Gabriel Ivăncescu at 2024-11-20T21:43:24+01:00 mshtml: Enumerate all own builtin props from host object's NextProperty.
Since it's used when filling the props and by getOwnPropertyNames which includes non-enumerable props. Enumeration on jscript side should still filter the props correctly, if needed.
Note that we have to only enumerate those that are found on the actual object, not its prototypes.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
- - - - - 5c544393 by Gabriel Ivăncescu at 2024-11-20T21:43:24+01:00 mshtml/tests: Add initial tests for prototype chain props.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
- - - - - ca495770 by Gabriel Ivăncescu at 2024-11-20T21:43:24+01:00 mshtml: Expose ownerDocument from NodePrototype.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
- - - - - 49b5d2cc by Gabriel Ivăncescu at 2024-11-20T21:43:24+01:00 mshtml: Don't expose removeNode from NodePrototype.
For some reason it's exposed higher up the chain in various other prototypes, but not the doctype.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
- - - - - 285174bb by Gabriel Ivăncescu at 2024-11-20T21:43:24+01:00 mshtml: Don't expose replaceNode from NodePrototype.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
- - - - - f350a878 by Gabriel Ivăncescu at 2024-11-20T21:43:24+01:00 mshtml: Don't expose swapNode from NodePrototype.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
- - - - -
6 changed files:
- dlls/mshtml/dispex.c - dlls/mshtml/htmldoc.c - dlls/mshtml/htmlelem.c - dlls/mshtml/htmlnode.c - dlls/mshtml/mshtml_private.h - dlls/mshtml/tests/documentmode.js
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/de40607c0c30da1bbce154b364e52c...