Skip to content

Commit

Permalink
selenium-atoms: remove test guards for Opera
Browse files Browse the repository at this point in the history
  • Loading branch information
andreastt committed Feb 28, 2015
1 parent 62662b6 commit c049af9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 2 additions & 4 deletions javascript/selenium-atoms/test/event_firing_test.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@
var fired;

// These should work, they just don't.
var CLICKING_WITH_COORDINATES_BROKEN = goog.userAgent.product.SAFARI ||
goog.userAgent.product.ANDROID ||
(goog.userAgent.product.OPERA &&
bot.userAgent.isEngineVersion(12));
var CLICKING_WITH_COORDINATES_BROKEN =
goog.userAgent.product.SAFARI || goog.userAgent.product.ANDROID;

// Some browsers support subpixel element locations but not (yet) subpixel events:
// Chrome: http://crbug.com/396380
Expand Down
3 changes: 1 addition & 2 deletions javascript/selenium-atoms/text.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,7 @@ core.text.getElementText = function(element) {
var isRecentFirefox =
(goog.userAgent.GECKO && goog.userAgent.VERSION >= '1.8');

if (isRecentFirefox ||
goog.userAgent.WEBKIT || goog.userAgent.OPERA || goog.userAgent.IE) {
if (isRecentFirefox || goog.userAgent.WEBKIT || goog.userAgent.IE) {
text = core.text.getTextContent_(element, false);
} else {
if (element.textContent) {
Expand Down

0 comments on commit c049af9

Please sign in to comment.