I was trying to debug and help to find why the plataform isn't working on Opera browser, but I couldn't looks like somewhere when wrapping methods, it pass a undefined value, then it throw exception because there isn't a treatment for undefined value, it try to consider the undefined as an Object, and Opera don't allow to parse it.
The bug begins in ShadowDOM, file wrapper.js in this method:
/**
* Forwards existing methods on the native object to the wrapper methods.
* This does not wrap any of the arguments or the return value since the
* wrapper implementation already takes care of that.
* @param {Array.<Function>} constructors
* @parem {Array.<string>} names
*/
function forwardMethodsToWrapper(constructors, names) {
constructors.forEach(function(constructor) {
names.forEach(function(name) {
constructor.prototype[name] = function() {
var w = wrapIfNeeded(this);
return w[name].apply(w, arguments);
};
});
});
}
I was trying to debug and help to find why the plataform isn't working on Opera browser, but I couldn't looks like somewhere when wrapping methods, it pass a undefined value, then it throw exception because there isn't a treatment for undefined value, it try to consider the undefined as an Object, and Opera don't allow to parse it.
The bug begins in ShadowDOM, file wrapper.js in this method: