From b723f0ca4dfc43015bef42c11d0b06a92df24537 Mon Sep 17 00:00:00 2001 From: gwarser Date: Tue, 1 Dec 2020 22:15:08 +0100 Subject: [PATCH] set-constant: getters and setters should be handled --- Resources-Library.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/Resources-Library.md b/Resources-Library.md index b22c229..8cfbada 100644 --- a/Resources-Library.md +++ b/Resources-Library.md @@ -389,8 +389,6 @@ Scriptlet will succeed only when: - new _property_ written by `set.js` is `undefined` or `null`[1.25.0](https://github.com/gorhill/uBlock/commit/c7dc65fe33ed58ff2bad10ce4a8848b97c8591ce) **OR** - type of original _property_ is equal to type of new _property_ -Additionally, original _property_ (if exist) must not have getter. - Value set by scriptlet can be overwritten by page script when: - current _property_ was not set to `undefined` or `null`[1.25.0](https://github.com/gorhill/uBlock/commit/c7dc65fe33ed58ff2bad10ce4a8848b97c8591ce) **AND** - new _property_ is not `undefined` or `null`[1.25.0](https://github.com/gorhill/uBlock/commit/c7dc65fe33ed58ff2bad10ce4a8848b97c8591ce) **AND**