From 75bf30b1e89272cac0d864df928ca5589c64210d Mon Sep 17 00:00:00 2001 From: Hayato Ito Date: Wed, 9 Feb 2022 14:26:07 +0900 Subject: [PATCH] Add a boilerplate for subresource-loading spec #708 This is just a starting boilerplate of subresource-loading spec, tracked in #708. Also updates GitHub workflow to know whether we can generate *.html from *.bs correctly or not. --- .github/workflows/spec-prod.yml | 8 ++++++- .gitignore | 1 + subresource-loading.bs | 37 +++++++++++++++++++++++++++++++++ 3 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 subresource-loading.bs diff --git a/.github/workflows/spec-prod.yml b/.github/workflows/spec-prod.yml index eae96b67..d7e48856 100644 --- a/.github/workflows/spec-prod.yml +++ b/.github/workflows/spec-prod.yml @@ -7,11 +7,17 @@ jobs: main: name: Build, Validate and Deploy runs-on: ubuntu-latest + strategy: + max-parallel: 1 + matrix: + include: + - source: loading.bs + - source: subresource-loading.bs steps: - uses: actions/checkout@v2 - uses: w3c/spec-prod@v2 with: GH_PAGES_BRANCH: gh-pages TOOLCHAIN: bikeshed - SOURCE: loading.bs + SOURCE: ${{ matrix.source }} BUILD_FAIL_ON: warning diff --git a/.gitignore b/.gitignore index 07c7009e..e43230ed 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ pulls.json draft-yasskin-dispatch-web-packaging.xml /lib loading.html +subresource-loading.html diff --git a/subresource-loading.bs b/subresource-loading.bs new file mode 100644 index 00000000..eb9fbfb4 --- /dev/null +++ b/subresource-loading.bs @@ -0,0 +1,37 @@ +
+Title: Subresource Loading with WebBundles
+Shortname: web-package-subresource-loading
+Level: none
+Status: CG-DRAFT
+Group: WICG
+Repository: WICG/webpackage
+URL: https://wicg.github.io/webpackage/subresource-loading.html
+Editor: Hayato Ito, Google Inc. https://google.com/, hayato@google.com
+Abstract: How UAs load subresources from Web Bundles.
+
+Complain About: accidental-2119 yes, missing-example-ids yes
+Markup Shorthands: markdown yes, css no
+Assume Explicit For: yes
+
+ + +
+ +# Introduction # {#intro} + +This section is non-normative. + +The Subresource Loading with Web Bundles specification describes a way to load a +large number of resources efficiently using a format that allows a format that +allows multiple resources to be bundled, +[Web Bundles](https://web.dev/web-bundles/). This specification describes how +web browsers load those resources. It is expressed as several monkeypatches to +the [[HTML]] and [[FETCH]] specification which call algorithms defined here. + +

+ This specification is under construct. See + #708. +