[w3c/manifest] What's the default value of the `id` member if no `start_url` is provided? (Issue #1038)

If no `id` or `start_url` member is provided, what is the value of the processed `id`?

As I understand it, `id` is essentially meant to default to `start_url`, but what does `start_url` default to?

The  [`start_url` algorithm](https://w3c.github.io/manifest/#start_url-member) says:
> If json["start_url"] doesn't exist... return"

The [`id` algorithm](https://w3c.github.io/manifest/#id-member) says:
> If the type of json["id"] is not [string](https://infra.spec.whatwg.org/#string), return.

but then what?

I'm probably just not understanding the way the algorithms are written, does return mean something other than "stop executing the algorithm"?

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

Message ID: <w3c/manifest/issues/1038@github.com>

Received on Thursday, 12 May 2022 11:03:40 UTC