-
Notifications
You must be signed in to change notification settings - Fork 12
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
Allow multiple fallback URLs #5
Labels
fallback semantics
An issue with the proposed model for falling back from a LAPI to a polyfill
Comments
Plus the pipe trick looks really cheap. Why not a srcset attribute ? <script type=module srcset='..., ..., ...'></script> |
That seems like a separate issue; if you'd like to discuss syntax alternatives please open a new one. (Quick answer: that doesn't work in |
domenic
added
the
fallback semantics
An issue with the proposed model for falling back from a LAPI to a polyfill
label
May 7, 2018
domenic
added a commit
that referenced
this issue
Aug 3, 2018
This incorporates some of the ideas touched on in the issue tracker, mostly around using package name maps to provide a better fallback story and web developer control. It touches on the following issues: * Fixes #10, fixes #14, fixes #15, and fixes #24 by moving away from std:x|y and its attendant problems. * Opens the door to solutions for #5 based on the speculative package name map fallback ideas. It also adds a bit more motivation to the intro, and rearranges to emphasize the standards process, before diving into many details on the importing infrastructure. For now we delete the "Trying these ideas out" section, and spec.md, as they are all about the old infrastructure.
domenic
added a commit
that referenced
this issue
Aug 3, 2018
This incorporates some of the ideas touched on in the issue tracker, mostly around using package name maps to provide a better fallback story and web developer control. It touches on the following issues: * Fixes #10, fixes #14, fixes #15, and fixes #24 by moving away from std:x|y and its attendant problems. * Opens the door to solutions for #5 based on the speculative package name map fallback ideas. It also adds a bit more motivation to the intro, and rearranges to emphasize the standards process, before diving into many details on the importing infrastructure. For now we delete the "Trying these ideas out" section, and spec.md, as they are all about the old infrastructure.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
fallback semantics
An issue with the proposed model for falling back from a LAPI to a polyfill
@kmiller68 suggested we should allow multiple fallback URLs, and let the browser pick among them. For example, the browser could pick the one it already has in its cache.
I'm unsure whether the semantic would be picking one among them, and failing if that one doesn't work, or the browser picking an ordering among them, and trying each in turn if the first one fails.
The text was updated successfully, but these errors were encountered: