updated aost fddca0b7cb

D4niloMR 2024-09-23 00:19:50 -03:00
parent 20ca81b44b
commit 42939e5a8f

@ -228,14 +228,14 @@ Aborts execution of script (_throws_ `ReferenceError`) when attempts to access s
Parameters:
- required, _property_ (chain of properties joined by `.`) to trap in order to launch the stack trace matching code, ex. `Math.random`
- optional, string/_regular expression_, the needle to match against the stack trace. If the empty string, always match. Prepend pattern with `!` to test for unmatched patterns in stack trace <sup>(New in [1.51.1b6](https://github.com/gorhill/uBlock/commit/84cc69aa10bc9c8045ed94b528ddc158c06ae7ab))</sup>
- optional, string/_regular expression_, the needle to match against the stack trace. If the empty string, only log. Prepend pattern with `!` to test for unmatched patterns in stack trace <sup>(New in [1.51.1b6](https://github.com/gorhill/uBlock/commit/84cc69aa10bc9c8045ed94b528ddc158c06ae7ab))</sup>
Tokens:
- "log":
- `1`: log stack trace for all access to trapped property
- `2`: log stack trace for defused access to trapped property
- `3`: log stack trace for non-defused access to trapped property
- `all`: log stack trace for all access to trapped property
- `match`: log stack trace for defused access to trapped property
- `nomatch`: log stack trace for non-defused access to trapped property
Stack trace is normalized, but there still can be differences (Chromium vs Firefox) because of different format of stack trace.