-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Editorial: Add installable web application definition #1163
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2411,17 +2411,22 @@ <h2> | |
Installable web applications | ||
</h2> | ||
<p> | ||
A common use case of a manifest is for a user agent to | ||
<dfn data-local-lt="installing|installation" data-lt= | ||
"installed">install</dfn> a web application; whereby the user agent | ||
provides the end-user with a means of instantiating a new <a>top-level | ||
browsing context</a> that has the manifest's members <a>applied</a> to | ||
it. A web application that is installed is known as a <dfn data-export= | ||
"">installed web application</dfn>. That is, the manifest's members, or | ||
their defaults, are in effect on the <a>top-level browsing context</a>. | ||
This distinguishes an installed web application from a traditional | ||
bookmark, as opening a web page from a traditional bookmark will not | ||
have the manifest's properties <a>applied</a> to it. | ||
Any website is an <strong>installable web application</strong>. | ||
<p> | ||
marcoscaceres marked this conversation as resolved.
Show resolved
Hide resolved
|
||
</p> | ||
<p> | ||
A user agent can provide a way for the end-user to <dfn data-local-lt="installing|installation" data-lt= | ||
"installed">install</dfn> a web application on the end-user's device, allowing the | ||
user to instantiate a new [=top-level browsing context=] with the | ||
manifest's members [=applied=]. | ||
</p> | ||
<p>Once a web application is [=installed=] it is known as a | ||
<dfn class="export">installed web application</dfn>: | ||
That is, the manifest's members, or their defaults, | ||
are [=applied=] to the <a>top-level browsing context</a> of the web application. This | ||
distinguishes an installed web application from a traditional bookmark, | ||
as opening a web page from a traditional bookmark will not have the | ||
manifest's properties <a>applied</a> to it. | ||
Comment on lines
+2423
to
+2429
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
This could be refined to say that when the app is launched the manifest's members will be applied to the top level browsing context. Currently it reads to me like an installed web application is one whose manifest has been applied to a top-level browsing context. But actually installing a web app and launching a web app may be two separate steps as described in the following note. A web application which has been added to an app launcher but not yet launched may still be considered "installed". (My implementation of Web App Manifest actually installs a web app and applies the manifest in one step, but AFAIK that's not the case for most implementations.) |
||
</p> | ||
<p class="note"> | ||
For example, on user agents that support installation, a web | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If an "installed web application" is defined as a web application whose manifest members have been (or can be) applied to a top level browsing context, then how can a website with no manifest be an "installable web application"?
Surely a web application must at least have a web app manifest in order to be considered installable?
Also, is it the view of the Web Applications Working Group that all websites are web applications?
See also: #1097