Re: [w3c/manifest] Don't use enums, because they throw (#633)

> by default require strict WebIDL conversion, so improperly written manifests are indeed invalidated - since improper JSON is rejected, why not simply extend this behavior to improper values in a proper JSON?

The problem is that we already have thousands of manifests in the wild that are depending on the fault-tolerant behavior. 

> that said, via MAY/SHOULD language user-agents should be allowed/encouraged to use their own custom variants of WebIDL conversion, that handle TypeErrors as they see fit - this covers how user-agents currently behave anyway

I'm not sure that is true. In Gecko, we don't do any IDL conversion. Additionally, It's too much work to have a custom IDL implementation for this or other formats. It's just not a viable thing.

> the TypeErrors that are allowed to be handled in a custom fashion can optionally be restricted to the relevant cases mentioned above

This doesn't sounds like it would lead to very interoperable behavior. 

> There is also relevant discussion going in #710 currently, which probably should better be continued here?

Probably :) 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/manifest/issues/633#issuecomment-415316534

Received on Thursday, 23 August 2018 07:17:49 UTC