<script src="x|y"> fallback syntax
- Category
- Layered APIs
- Type
- New or changed feature
- Status
- No longer pursuing (Chrome No longer pursuing)
- Intent stage
- None
Summary
Layered APIs (LAPIs) are a new standards effort for shipping high-level features, exposed to the web as JavaScript modules. Their specifications are required to be layered on top of existing lower-level platform features, and never use any "magic" that is inaccessible to JS developers. This feature covers the infrastructure for importing LAPIs, via std:x|y module specifiers in <script type=module> and JS import statements.
Standards & signals
- Specification: https://github.com/drufball/layered-apis/blob/master/spec.md
- Firefox: No signal
- Safari: No signal
- Web developers: No signals
- Tracking bug: https://bugs.chromium.org/p/chromium/issues/detail?id=829084
Ecosystem
- Web Platform Tests: https://wpt.fyi/results/?q=script-src-x-y-fallback-syntax
- Chrome Platform Showcase: https://chrome-platform-showcase.paulkinlan-ea.deno.net/features
- GenDN reference: https://gendn.paulkinlan-ea.deno.net/features
- chrome.dev demos search: https://www.google.com/search?q=site%3Achrome.dev+%3Cscript%20src%3D%22x%7Cy%22%3E%20fallback%20syntax
- MDN Web Docs: https://developer.mozilla.org/en-US/search?q=%3Cscript%20src%3D%22x%7Cy%22%3E%20fallback%20syntax
- Baseline status: https://webstatus.dev/?q=%3Cscript%20src%3D%22x%7Cy%22%3E%20fallback%20syntax
Docs: https://github.com/drufball/layered-apis/blob/master/README.md