Skip to content
Snippets Groups Projects
Commit 2cf7c7f3 authored by Romeo Fragomeli's avatar Romeo Fragomeli
Browse files

[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: default avatarGéry Debongnie (ged) <ged@openerp.com>
Signed-off-by: default avatarrfr-odoo <rfr-odoo@users.noreply.github.com>
parent 28560f2c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment