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