happy-dom
happy-dom copied to clipboard
Unexpected errors should be 'ignored' when loading network resources
We often find that there are parts of the web resources that don't load properly in the real world, There may be reasons such as: invalid temporary resource, invalid third-party api, etc.
happy-dom should the same as browsers: ignore invalid requests & script loads.
@Mas0nShi I'm not sure I understand this. Is something getting stuck during the load of resources?
@Mas0nShi I'm not sure I understand this. Is something getting stuck during the load of resources?
I mean we have to think about the real world. For example, some websites reference expired assets. The browser skips it if it has not completed the request(http code 502 etc.). But happy-dom throws an exception and kills the process directly.(maybe? I haven't used it for a long time 🤣 but it's possible when we load a website)
@Mas0nShi I believe that I fixed parts of the problem in the latest release :slightly_smiling_face: