Re: [w3c/manifest] Add (optional) "category" member (#569)

>From the spec it's not quite clear whether [`categories`](https://w3c.github.io/manifest/#categories-member) member an array or a string?

The following text confuses me:

```
The algorithm takes a sequence<USVString> categories as an argument. This algorithm returns an Array<USVString>.
```

What is a sequence? :-/

Should I use `"category": "business, navigation"` or `"category": ["business", "navigation"]`?

If `categories` member is the array, it wouldn't be better to change

> The `categories` member describes the expected application categories to which the web application belongs.

to

> The `categories` member is an array of USVStrings, describing the expected application categories to which the web application belongs.

in the spec to avoid confusing?

-- 
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/569#issuecomment-390475490

Received on Sunday, 20 May 2018 11:55:51 UTC