Comments (3)
I think the question is for "navigate-to-bundle" case. Although a web bundle format itself supports "a relative URL", I don't think that works for "navigate-to-bundle" case, where an absolute URL is required to make the navigation work.
@irori Do you have any insights? I think the answer would be "Unfortunately, a dummy absolute URL is required"...
from webpackage.
Thanks for your reply! Yes, this is in reference to the "navigate-to-bundle" case. If a special value/protocol/tld is unlikely to be created, then perhaps best practice could be to use .example
as the TLD? It is apparently reserved:
By publication of RFC 2606 in 1999, the Internet Engineering Task Force reserved the DNS labels example, invalid, localhost, and test so that they may not be installed into the root zone of the Domain Name System.
The reason for reservation of these top-level domain names is to reduce the likelihood of conflict and confusion.[1] This allows the use of these names for either documentation purposes or in local testing scenarios.
https://en.wikipedia.org/wiki/.example
Although on second thought .example
might be a bit confusing because it implies that it should be replaced with a "real" value. Something like http://webbundle/foo.html
(similar to localhost
usage) might be ideal? Not sure if that's a valid URL though.
from webpackage.
[Issue Triage]
It seems we can close this issue, in favor of #763.
from webpackage.
Related Issues (20)
- Path prefix? HOT 1
- Registered protocol handlers HOT 4
- Update <top_dir>/README.md to mention "Subresource Loading with WebBundles" spec HOT 1
- Subverting path-based CSP HOT 2
- Improve relative URLs support in Go/JavaScript bundle tools HOT 1
- Clarify how `<script type=webbundle>` affects speculative HTML parsing. HOT 1
- Chromium error when loading minimal wbn: Cannot parse the size of section-lengths HOT 6
- [subresource-loading] Update the spec to reflect the upstream changes of HTML.
- Is primaryURL still required on b2? HOT 10
- Secure Context in bundles that don't have an origin? HOT 6
- webpackage maybe solve this WIGC problem: Integrating websites with the browser
- Alternate SignedExchange prefetch and CORS
- Improving instructions for generating bundle from local directory HOT 1
- Distributing service worker script via SXG
- Function signature change: reading all bytes from a stream
- Convert from zip to web pack / bundle format online
- go/bundle explain how to use gzip with this HOT 1
- go/bundle includes hidden .git files by default HOT 2
- issue HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webpackage.