mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-07-31 09:46:05 -04:00
Normalize get name so that it matches the normalize stored cookie name. Don't queue cookie change event if there's no listener. This one's a bit tricky since we do this check inside the callback already. But that means a listener added after the event is created (but before it's delivered) gets a change event it should not. So we need to check it both at event-creation time and at delivery time.