summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@odoo.com>2018-02-28 11:00:06 +0100
committerChristophe Matthieu <chm@odoo.com>2018-02-28 11:55:20 +0100
commit7922dcbe48e8f370e4d28cf815e3fbaa6cc5fade (patch)
treeee8809aff7b49a2138a3b02a183deb11c68985bd /addons/web/static/src/js/views/basic/basic_controller.js
parentb9a763ba3cf310f394b7c80b5f56c114e9242ebb (diff)
[FIX] web: increase unit test speed
The method removeSrcAttribute is critical, because each changes trigger this one. this method must be optimized to the maximum to be the fastest. Before this fix, removeSrcAttribute method search the image and iframe for all body nodes instead of search only in the inserted nodes, and the method are very slow.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions