patrickkettner / cookie-change-events

small extension to document.cookie that allows for event listeners
https://patrickkettner.github.io/cookie-change-events/
Other
22 stars 3 forks source link

update incorrect "required" attrs #31

Closed patrickkettner closed 3 years ago

patrickkettner commented 7 years ago

fixes #28

patrickkettner commented 7 years ago

@arronei this is failing with FATAL ERROR: IDL ERROR LINE: 1 - Dictionary argument "cookie" without required members must be marked optional ... why?

arronei commented 7 years ago

[Constructor(optional CookieInit cookie), Constructor(optional USVString cookie), Exposed=Window]

patrickkettner commented 7 years ago

@arronei that is throwing

FATAL ERROR: Multiple local 'constructor' <dfn>s for 'Cookie' have the same linking text 'Cookie()'.
arronei commented 6 years ago

@patrickkettner its been awhile but try

[Constructor(optional (CookieInit or USVString) cookie), Exposed=Window]