mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
81ea40a161
Adds RootedUnion and NullableRootedUnion structs that are used on the stack for union return values when the union needs rooting. It also adds a TraceUnion method on union return values, which is called by (Nullable)RootedUnion or by dictionary tracing. TraceUnion traces typed array and object members of unions (the only things unions can contain so far that might need tracing). Union return values are changed to store raw JSObject* or typed array structs instead of Rooted versions of both; the tracing is now handled via TraceUnion. The wrapping code for dictionary arguments to constructors is fixed to actually work. This required adding GetAs* methods to union return values that return references to the internal data. The SetToObject method is adjusted to actually work for union return value structs and not assume it's being generated for a union-conversion struct, and we now generate SetToObject methods as needed for union return values. |
||
---|---|---|
.. | ||
file_bug707564.html | ||
file_bug775543.html | ||
file_InstanceOf.html | ||
forOf_iframe.html | ||
Makefile.in | ||
moz.build | ||
test_bug560072.html | ||
test_bug707564-chrome.html | ||
test_bug707564.html | ||
test_bug742191.html | ||
test_bug759621.html | ||
test_bug773326.html | ||
test_bug775543.html | ||
test_bug788369.html | ||
test_bug852846.html | ||
test_bug862092.html | ||
test_ByteString.html | ||
test_defineProperty.html | ||
test_enums.html | ||
test_exception_messages.html | ||
test_exceptionThrowing.html | ||
test_forOf.html | ||
test_InstanceOf.html | ||
test_integers.html | ||
test_interfaceToString.html | ||
test_lenientThis.html | ||
test_lookupGetter.html | ||
test_namedNoIndexed.html | ||
test_queryInterface.html | ||
test_sequence_wrapping.html | ||
test_traceProtos.html | ||
TestBindingHeader.h | ||
TestCImplementedInterface.h | ||
TestCodeGen.webidl | ||
TestDictionary.webidl | ||
TestExampleGen.webidl | ||
TestJSImplGen.webidl | ||
TestJSImplInheritanceGen.webidl | ||
TestTypedef.webidl |