You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It worked before, but now it's no longer calling the lambda function, and the header is not showing up in the Network dev tool. I'm on Canary with the following file versions/timestamps:
It turns out this was triggered by a change on my end. I was trying to use two different callbacks with different URI patterns for different purposes. Registering the second one for a specific URI pattern seems to have overridden the registration for this one.
I think this might still be a bug, since the matching add_WebRequestReceived and remove_WebRequestReceived methods use an EventRegistrationToken for correlation. That implies to me that you can have distinct registrations with different callbacks and all of them which match the URI pattern should be invoked. I haven't tested the other events with matching add_/remove_ methods but I think the same reasoning applies if they behave the same way.
wravery
changed the title
WebResourceRequested event no longer fires
WebResourceRequested event no longer fires if you register a second callback
Aug 17, 2019
Happy to report that we just shipped updates to our WebResourceRequested Event in 0.8.355. Closing the issue for now and feel free to re-open the issue and let us know if you have additional feedback.
I'm adding Accept-Language headers to all outgoing requests, using code that looks like this:
It worked before, but now it's no longer calling the lambda function, and the header is not showing up in the Network dev tool. I'm on Canary with the following file versions/timestamps:
The text was updated successfully, but these errors were encountered: