[BUGFIX beta] Fix ViewUtils tests on Firefox
Merge pull request #9831 from mmun/fix-view-utils-test

Fix ViewUtils tests on Firefox