Leaving slide mode.
MiniApps WG
TPAC 2024
Anaheim CA, USA
hybrid meeting
26 SEPTEMBER 2024
Agenda
- Logistics
- Status of specs
- New proposals
Logistics & Administrivia
Status of the specs
- MiniApp Packaging
- MiniApp Manifest
MiniApp Packaging
Describes the logical and physical structure of a MiniApp
- Pages, components, styles,…
- Packaging format, file-system, directories…
- Digital signatures (for developer, publishers, others…) - Optional
Status: WD
Types of Resources
Pages & Components
- HTML: based on templates
- JS: ECMAScript profile
- CSS: CSS profile
- Resources for i18n
Current proposal: based on Web Components
Packaging: Open Issues
Security and efficiency concerns (TAG's Review):
- Preservation of the origin model
- UA
SHOULD
use SSL/TSL for distribution
- UA
SHOULD
keep track of the origin (save it in manifest?, UA decides?)
- Secure context (integrity of the package)
- Package
SHOULD
be hashed (integrity);
- and
SHOULD
be signed (e.g, developer + distributor)
- Efficiency of ZIP container
Ongoing
discussion.
Status of the specs
- MiniApp Packaging
- MiniApp Manifest
MiniApp Manifest
JSON document to describe a MiniApp
- Based on Web App Manifest (
extends
)
- 15 attributes with information for user agents (super-app, OS) and publishers (icons, descriptions, versions…)
- Runtime configuration (themes, colors, orientation…)
Status: WD
Manifest Next: Internationalization
Localization of manifest members
Currently, MiniApps apply text localization techniques during the compilation stage
We must distribute texts in different languages and localize color schemes, icons, and images (good for
marketplaces).
Next: alignment with Web App Manifest (working
draft)
Manifest Next: Content Security Policy (CSP)
Increase security and integrity of MiniApps
- The system caches the MiniApp, and user agents do not always have access to HTTP headers.
- We need to guarantee security and avoid content and scripts from non-trusted origins.
Proposal: alignment with Isolated Web Apps (e.g.,
`permissions_policy`, `content-security-policy`, `integrity-block`?)
Next steps
- MiniApp Elements & MiniApp API (Proposals)
- MiniApp Performance (Discussion)
MiniApp HTML Elements and MiniApp API Baseline (Proposals)
Objective: define a subset of common HTML elements and subset of common APIs required by
MiniApp user agents (e.g., media, EPUB).
- Baseline for standard HTML elements
- Baseline for Web APIs elements
Incubation in the CG.
Comments?
Next steps
- MiniApp Elements and API (Proposals)
- MiniApp Performance (Discussion)
MiniApp Performance (Discussion)
Some comments, requirements:
- Cross-platform development is a strong demand:
- modifying and optimizing DOM and HTML;
- a new engine and runtime mechanism? prioritizing performance and experience with a dual-engine approach.
- There are many different MiniApp DSLs
Bytedance's Presentation
Comments?
Wrap-up
- List of actions
- Follow-up meeting
- Other comments?
This slides were made for the TPAC 2024, using the official template.
To start the slide show, press ‘A’. Return to the index with ‘A’ or ‘Esc’. On a touch screen, use a 3-finger touch. Double click to open a specific slide. In slide mode, press ‘?’ (question mark) to get a list of available commands.