[js] Remove Firefox extension from selenium-atoms
@@ -177,11 +177,6 @@ core.events.replaceText_ = function(element, value) {
element.innerHTML = actualValue;
}
}
- } else if (goog.userAgent.GECKO && bot.userAgent.FIREFOX_EXTENSION &&
- bot.userAgent.isEngineVersion(8)) {
- // Firefox 8+ fails with a security error if typing into (XPCNativeWrapper)
- // unwrapped objects
- XPCNativeWrapper(element).value = actualValue;
} else {
element.value = actualValue;
}
@@ -189,9 +184,6 @@ core.events.replaceText_ = function(element, value) {
// Is xpcnativewrappers to blame?
try {
var elem = element;
-// if (bot.userAgent.FIREFOX_EXTENSION && Components && Components['classes'] && XPCNativeWrapper) {
-// elem = new XPCNativeWrapper(element);
-// }
bot.events.fire(elem, bot.events.EventType.CHANGE);
} catch (e) {
}
