[FIX] web: TouchEvent doesn't exist in FireFox and Safari
Since commit odoo/odoo@c96e3b96f307685d03d240fac81fb0e83ca85f1d the TouchEvent constructor was added to the test utils. In FireFox (no touch mode) and Safari (desktop) this constructor doesn't exist and so the test suite won't start anymore. This commit, inserts TouchEvent constructor only when it's supported by the browser. So now we can run the tests in FireFox and Safari again. closes odoo/odoo#66846 X-original-commit: 296fd86ddf90cff8d5b8f095d0c51b1c5a8b59ca Signed-off-by:Géry Debongnie (ged) <ged@openerp.com> Signed-off-by:
rfr-odoo <rfr-odoo@users.noreply.github.com>
Loading
Please register or sign in to comment