From 42939e5a8f0bf3147fee46ef3896137b60e46497 Mon Sep 17 00:00:00 2001 From: D4niloMR <70459964+D4niloMR@users.noreply.github.com> Date: Mon, 23 Sep 2024 00:19:50 -0300 Subject: [PATCH] updated aost https://github.com/gorhill/uBlock/commit/fddca0b7cb14ec75eb1a2f1b2e7381fb189c37a9 --- Resources-Library.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Resources-Library.md b/Resources-Library.md index 3bb5f39..2dd4a3c 100644 --- a/Resources-Library.md +++ b/Resources-Library.md @@ -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 (New in [1.51.1b6](https://github.com/gorhill/uBlock/commit/84cc69aa10bc9c8045ed94b528ddc158c06ae7ab)) + - 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 (New in [1.51.1b6](https://github.com/gorhill/uBlock/commit/84cc69aa10bc9c8045ed94b528ddc158c06ae7ab)) 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.