There was an error while loading. Please reload this page.
1 parent 1d989dc commit 50f808aCopy full SHA for 50f808a
javascript/selenium-atoms/test/event_firing_test.html
@@ -31,15 +31,6 @@
31
!goog.userAgent.product.CHROME && !goog.userAgent.product.FIREFOX;
32
33
function expectedEventCoordinate(elementTopLeftCorner, offset) {
34
- // TODO: Delete next 'if' statement when Selenium stops supporting Firefox 24 ESR.
35
- if (goog.userAgent.product.FIREFOX &&
36
- bot.userAgent.isProductVersion(24) &&
37
- !bot.userAgent.isProductVersion(25)) {
38
- // Firefox 24 ESR events have coordinates of the offset
39
- // (relative to top-left corner of the element; not of the viewport).
40
- return offset;
41
- }
42
-
43
if (SUBPIXEL_PRECISION_SUPPORTED) {
44
return elementTopLeftCorner + offset;
45
} else {
0 commit comments