[FIX/IMP] export browser object, prevent crash in private mode

This commit performs two tasks:

1. it exports the internal browser object (in owl.browser), for ease of
testing
2. it makes sure that Owl does not crash inside iframes in incognito
mode, because window.localStorage raises an exception in that case

closes #791
This commit is contained in:
Géry Debongnie
2020-11-20 10:33:03 +01:00
committed by aab-odoo
parent 142f47ac82
commit 8483cc805e
8 changed files with 50 additions and 17 deletions
+1
View File
@@ -17,6 +17,7 @@ You will find here a complete reference of every feature, class or object
provided by Owl.
- [Animations](reference/animations.md)
- [Browser](reference/browser.md)
- [Component](reference/component.md)
- [Content](reference/content.md)
- [Concurrency Model](reference/concurrency_model.md)