Skip to content

Commit c049af9

Browse files
committed
selenium-atoms: remove test guards for Opera
1 parent 62662b6 commit c049af9

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

javascript/selenium-atoms/test/event_firing_test.html

+2-4
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@
1616
var fired;
1717

1818
// These should work, they just don't.
19-
var CLICKING_WITH_COORDINATES_BROKEN = goog.userAgent.product.SAFARI ||
20-
goog.userAgent.product.ANDROID ||
21-
(goog.userAgent.product.OPERA &&
22-
bot.userAgent.isEngineVersion(12));
19+
var CLICKING_WITH_COORDINATES_BROKEN =
20+
goog.userAgent.product.SAFARI || goog.userAgent.product.ANDROID;
2321

2422
// Some browsers support subpixel element locations but not (yet) subpixel events:
2523
// Chrome: http://crbug.com/396380

javascript/selenium-atoms/text.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,7 @@ core.text.getElementText = function(element) {
151151
var isRecentFirefox =
152152
(goog.userAgent.GECKO && goog.userAgent.VERSION >= '1.8');
153153

154-
if (isRecentFirefox ||
155-
goog.userAgent.WEBKIT || goog.userAgent.OPERA || goog.userAgent.IE) {
154+
if (isRecentFirefox || goog.userAgent.WEBKIT || goog.userAgent.IE) {
156155
text = core.text.getTextContent_(element, false);
157156
} else {
158157
if (element.textContent) {

0 commit comments

Comments
 (0)