Update 1 and 4 example from /docs/Mozilla/Add-ons/WebExtensions/API/w…
…ebRequest/StreamFilter/ondata
Description
Motivation
In the first example the "*" is not needed. In the 4 example just store the string directly instead of creating an array and storing the string there.
Additional details
Related issues and pull requests
Preview URLs
(comment last updated: 2025-06-09 19:23:37)
In the first example the "*" is not needed. In the 4 example just store the string directly instead of creating an array and storing the string there.
That doesn't look particularly meaningful, or am I missing something?
@willdurand Can you look at the patch again? Is this change worth?
Thanks all, I agree that the changes are correct, but so is the original, so it's not worth the churn. Going to close for now. If you think I've made a mistake, feel free to let me know and we can take a look again. Thanks!