liferay/senna.js

TODO: Remove workaround to prevent DOM Exception 18 during unit tests execution on Safari

brunobasto opened this issue · 1 comments

Right now we have a workaround on our unit tests to prevent DOM Exception 18 on Safari. More informations about why they introduced this limitation here. With that workaround, the tests on travis became stable again.

The solution is pretty ugly, as it relies on a synchronous timeout, which requires heavy processing. It's important to notice that it's only for the unit tests we do NOT execute this kind of thing on our released code.

Looks like the workaround is there to stay :D