While Ladybird does an okay job with well-formed web content, I thought it would be useful to throw some security research tools at it and see what kind of issues it might reveal. So today we’ll be using “Domato 🍅”, a DOM fuzzer from Google Project Zero
Couldn't you have created an "empty" window object to represent it's a detached DOM, to avoid the NULL checks? I use empty objects in various projects to keep code simple. I even see this in stuff like .NET, with string.Empty.
Couldn't you have created an "empty" window object to represent it's a detached DOM, to avoid the NULL checks? I use empty objects in various projects to keep code simple. I even see this in stuff like .NET, with string.Empty.