[PATCH v3 6/8] jscript: Return the correct string for Object.toString(null) in ES5+ modes.
Gabriel Ivăncescu
gabrielopcode at gmail.com
Sat Dec 11 07:54:25 CST 2021
On 11/12/2021 15:52, Gabriel Ivăncescu wrote:
> Nevermind, it looks like the checks are needed. Builtins can still end
> up with NULL or undefined in ES3, because the check in apply or call
> only converts to object when they are *not* NULL or undefined. So I
> guess it was correct.
Or actually my bad, it needs different logic for ES3 even for builtins
to convert it to the global object in apply/call (which we do not have
currently, because it does it in NativeFunction_call which is wrong).
More information about the wine-devel
mailing list