-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove AppCache #6153
Remove AppCache #6153
Conversation
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.
So exciting!
This can also close #5505.
source
Outdated
@@ -83816,7 +83691,6 @@ interface <dfn>Location</dfn> { // but see also <a href="#the-location-interface | |||
<dt>a <span>JavaScript MIME type</span></dt> | |||
<dt>a <span>JSON MIME type</span> that is not an <span>explicitly supported JSON MIME | |||
type</span></dt> | |||
<dt>"<code>text/cache-manifest</code>"</dt> |
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.
This removal would benefit from some (possibly manual?) tests. Although they might just uncover that this section is wrong and browsers generally treat text/*
the same, in which case a followup bug would suffice.
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.
source
Outdated
@@ -117171,6 +114695,9 @@ if (s = prompt('What is your name?')) { | |||
<dt><dfn element-attr for="head"><code data-x="attr-head-profile">profile</code></dfn> on <code>head</code> elements</dt> | |||
<dd><p>Unnecessary. Omit it altogether.</p></dd> | |||
|
|||
<dt><dfn element-attr for="html"><code data-x="attr-html-manifest">manifest</code></dfn> on <code>html</code> elements</dt> | |||
<dd><p>Use service workers instead. <ref spec=SW></p></dd> |
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.
Optional: you could maybe port some major old IDs here, such as #appcache
, #application-cache
, and #offline
.
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.
After considering this a bit more I decided not to as there are a lot of IDs that end up being removed here and it's unclear which people relied on.
The Chromium removal bug is https://bugs.chromium.org/p/chromium/issues/detail?id=582750 |
We're interested in attempting to remove this feature but we need to understand the Web / app compatibility situation. |
This comment has been minimized.
This comment has been minimized.
80336d0
to
6c9a3ed
Compare
Still LGTM. Excited to get this merged! |
Per whatwg/html#6153 and whatwg/html@e4330d5, the Application Cache feature is no longer part of the HTML standard. So this change marks both the applicationCache member of SharedWorkerGlobalScope and the "manifest" attribute of the <html> element as standard_track:false.
cc @whatwg/documentation I raised mdn/browser-compat-data#7610 and updated the following MDN articles:
If I missed anything, let me know. |
Thanks @sideshowbarker ! On our side, we updated
So the status is clear. Feel free to ping me if you notice any other docs bits that need updating. |
Per whatwg/html#6153 and whatwg/html@e4330d5, the Application Cache feature is no longer part of the HTML standard. So this change marks both the applicationCache member of SharedWorkerGlobalScope and the "manifest" attribute of the <html> element as standard_track:false.
After the removal of AppCache in whatwg#6153, this algorithm is now unused.
After the removal of AppCache in #6153, this algorithm is now unused.
This removes the manifest attribute on the html element, the text/cache-manifest format, the integration of application caches with navigation, the monkey patching of what is now Fetch, and the window.applicationCache API.
Closes #151 and closes #5505.
(See WHATWG Working Mode: Changes for more details.)
/browsing-the-web.html ( diff )
/iana.html ( diff )
/iframe-embed-object.html ( diff )
/index.html ( diff )
/indices.html ( diff )
/obsolete.html ( diff )
/parsing.html ( diff )
/rendering.html ( diff )
/semantics.html ( diff )
/system-state.html ( diff )
/web-messaging.html ( diff )
/webappapis.html ( diff )
/webstorage.html ( diff )
/window-object.html ( diff )
/workers.html ( diff )