Re: [w3c/manifest] Use WebIDL to describe the manifest data structure (#611)

Update: You can see what the old (pre-WebIDL) behaviour used to be by checking out e5536520. Looks like all the string properties were defined like this:

> 1. Let value be the result of calling the [[GetOwnProperty]] internal method of manifest with argument "name".
> 2. If Type(value) is not "string":
>   a. If Type(value) is not "undefined", issue a developer warning that the type is not supported.
>   b. Return undefined.
> 3. Otherwise, Trim(value) and return the result.

(I think we deliberately got rid of the Trim behaviour at the same time.) I think that is strict about it being a string.

-- 
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/611#issuecomment-445704321

Received on Monday, 10 December 2018 06:42:30 UTC