Skip to content

Add id member to manifest - #988

Merged
marcoscaceres merged 42 commits into
w3c:gh-pagesfrom
philloooo:manifest-id
Oct 5, 2021
Merged

marcoscaceres merged 42 commits into
w3c:gh-pagesfrom
philloooo:manifest-id

Conversation

@philloooo

@philloooo philloooo commented Jul 15, 2021 •

Copy link
Copy Markdown
Collaborator

Closes #586

Explainer https://github.com/philloooo/pwa-unique-id/blob/main/explainer.md

This change:

  • Adds new normative recommendations or optional items

Implementation commitment (delete if not making normative changes):

If change is normative, and it adds or changes a member:

Commit message:

Explicitly defines what uniquely identifies a web application and allow developers to specify the identifier in the manifest.


💥 Error: connect ETIMEDOUT 128.30.52.89:443 💥

PR Preview failed to build. (Last tried on Oct 5, 2021, 11:30 PM UTC).

More

PR Preview relies on a number of web services to run. There seems to be an issue with the following one:

🚨 Spec Generator - Spec Generator is the web service used to build specs that rely on ReSpec.

🔗 Related URL

If you don't have enough information above to solve the error by yourself (or to understand to which web service the error is related to, if any), please file an issue.

@dmurph

dmurph commented Jul 15, 2021

Copy link
Copy Markdown
Collaborator

Nice - I can also see this fleshing out the section "Updating the manifest" as well with the algorithm

@philloooo

Copy link
Copy Markdown
Collaborator Author

Nice - I can also see this fleshing out the section "Updating the manifest" as well with the algorithm

Will do, thanks for reminding!

Comment thread index.html Outdated
@philloooo

Copy link
Copy Markdown
Collaborator Author

@mgiuca can you take a look at this?

@mgiuca mgiuca left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very good, overall. Everything's in the right place and largely conveys the meaning I think you intended. So don't be alarmed by the high volume of comments. These are details :)

Now I've made a lot of specific phrasing suggestions. Feel free to reword them. They are by no means perfect or canonical, just the way that I would personally phrase things. Ask if you have questions.

Thanks, it's exciting to see this finally coming together!

Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html Outdated

@marcoscaceres marcoscaceres left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking really good @philloooo! Excited to implement this in Gecko. I'll make a start once you make the next round of updates.

@aarongustafson aarongustafson left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some minor suggestions.

Comment thread index.html Outdated
Comment thread index.html Outdated
@philloooo

Copy link
Copy Markdown
Collaborator Author

thanks for the review! @aarongustafson @marcoscaceres @mgiuca

blueboxd pushed a commit to blueboxd/chromium-legacy that referenced this pull request Jul 22, 2021
Use ParseURL for manifest id parsing logic. This allows id to be both
specified as a full url or a string as path to app's origin. This allows
a more consistent spec processing definition, see in spec pull request
w3c/manifest#988 (comment). The
processed manifest id is still passed as a  normalized relative url path
to WebAppProvider system to keep the manifest_id saved in sync system
the same and backward-compatible since changing the manifest_id format
in sync system will make new apps not syncable to previous versions of
Chromium.

Bug: 1182363
Change-Id: I65a7ca615bae3ee504b605abba954f60dc5d2c31
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3042714
Commit-Queue: Phillis Tang <phillis@chromium.org>
Reviewed-by: Daniel Murphy <dmurph@chromium.org>
Cr-Commit-Position: refs/heads/master@{#904128}
@mgiuca

mgiuca commented Jul 23, 2021

Copy link
Copy Markdown
Collaborator

Apologies, I haven't got around to re-reviewing this. Looks like Aaron and Marcos are happy.

I'd like to take another look at it, but if I don't get to it by ~Monday, then you can probably go ahead and merge it.

Comment thread index.html Outdated
Comment thread index.html Outdated
@marcoscaceres

Copy link
Copy Markdown
Member

@philloooo, I hope to implement this next week. I may have more feedback then! Thanks again for the great work.

@marcoscaceres marcoscaceres left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Started to implement but hit some issues.

@philloooo, made some suggested changes to the algorithm.

I didn't get a chance to feed the table values into it, but they could serve as unit tests for it.

Comment thread index.html
Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html
Comment thread index.html Outdated
Comment thread index.html

@marcoscaceres marcoscaceres left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@philloooo I was writing some additional tests for Gecko and realized we didn't deal with URL fragments. I think we should probably remove them? Wdyt?

Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html
Comment thread index.html Outdated
Comment thread index.html Outdated

@marcoscaceres marcoscaceres left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Request to send update as a different PR.

@philloooo

Copy link
Copy Markdown
Collaborator Author

Request to send update as a different PR.

Moved to #1011

Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html Outdated
@marcoscaceres

Copy link
Copy Markdown
Member

Some of the w3c systems are currently down, which is causing the CI errors.

@marcoscaceres
marcoscaceres merged commit 8102fc5 into w3c:gh-pages Oct 5, 2021
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Oct 14, 2021
jamienicol pushed a commit to jamienicol/gecko that referenced this pull request Oct 14, 2021
jwidar pushed a commit to jwidar/LatencyZeroGithub that referenced this pull request Sep 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a unique identifier for a PWA

10 participants