mirror of https://github.com/gorhill/uBlock.git
parent
2546f39568
commit
5de0ce9757
|
@ -746,6 +746,7 @@
|
|||
const odesc = Object.getOwnPropertyDescriptor(owner, prop);
|
||||
let prevGetter, prevSetter;
|
||||
if ( odesc instanceof Object ) {
|
||||
if ( odesc.configurable === false ) { return; }
|
||||
if ( odesc.get instanceof Function ) {
|
||||
prevGetter = odesc.get;
|
||||
}
|
||||
|
@ -808,7 +809,6 @@
|
|||
return this.v;
|
||||
},
|
||||
setter: function(a) {
|
||||
if ( a === this.v ) { return; }
|
||||
this.v = a;
|
||||
if ( a instanceof Object ) {
|
||||
trapChain(a, chain);
|
||||
|
|
Loading…
Reference in New Issue