⁉️ Premise
We need to talk more
The web is much more than browsers. What works great in browser development is missing in related spaces like embedding.
Can we get together to collectively describe security and compatibility properties of user agents that are not browsers? Can we develop things that don’t fit in browsers collectively with cross review just like it’s happening for every browser facing web feature?
TPAC 2024 Web Standards Beyond The Browser
TPAC 2025 Modular Web Engines Breakout
🖊️ Working Draft
The Web Embedding Group
Brainstorming by Niklas Merz with support from LLMs and real people
Editors: Martin Alvarez-Espinar
Mission. The [Web Embedding] Community Group exists to understand, document, and improve the use of web technologies outside the browser, such as WebViews, hybrid and packaged applications, including MiniApps, and embedded runtimes. Web engines are embedded in vastly more contexts than browsers, yet these are not always considered while developing new standards or improving the current web. These contexts lack shared terminology, functionality, and security baselines, challenging developers’ expectations of platform compatibility. The group works to give the "embedded web" the kind of common foundation the main browser-based web already has, preserving its essential values and universality.
Scope:
Out of scope: re-defining "the web", standardizing proprietary super-app APIs, producing W3C Recommendations (work that matures here transitions to an appropriate WG), browser-internal architecture.
Related Groups / Liaison: WebView CG, MiniApps CG & WG, High-Performance Baseline for Web Apps CG, Web Platform Incubator CG, TAG, WinterTC, WHATWG.
Editor’s note: Is multiple workstreams the way to go? Is this too much & broad?
Description. Web engines are embedded in far more contexts than they are browsed in — WebViews, MiniApps, hybrid and packaged applications, super apps, kiosks and TV runtimes — yet there is no shared vocabulary for these contexts and no common understanding of what they need from the platform. In these heterogeneous contexts, the user agents offer different capabilities—some scenarios extend the standard web features, and others are based on reduced web engines. This track establishes the factual and terminological foundation the other tracks build on: what "embedding the web" means, who does it, why, and where it hurts.
What do we call the two types of user agents we are using here? Embedded Web and Drive-by Web?
Editor’s note: We as WebView CG spent much of our time analysing the status quo. It’s useful to understand what we have today but we shouldn’t get stuck in this field of work forever and try to get into actually working on new solutions as soon as possible.
Possible Deliverables:
Scope: Documenting and classifying what exists today and what is emerging (including AI-generated embedded applications). Out of scope: defining "the web" as such, and advocating for any particular embedding technology over another.
Example activities: Interviewing and surveying embedders (app frameworks, super-app vendors, device manufacturers), cataloging existing embedding technologies and their constraints, analyzing where emerging patterns such as AI-generated apps fit the taxonomy, publishing explainers and blog posts that socialize the terminology.
Description. Embedded contexts inherit the web's content model but not its security model: the embedder can intercept traffic, inject script, suppress UI signals, extend APIs and access to local resources, and bridge into native capabilities, while the user has none of the cues a browser provides. At the same time, regulation such as the EU Cyber Resilience [c]Act is beginning to impose concrete security obligations on products that ship embedded web engines — without any shared baseline for what "secure" means in these contexts. This track documents how the browser security model changes under embedding and develops a common baseline embedders can implement and point to.
Editor's note: W3C has “The threat model for the web” but the embedding cases are likely not mapped yet. Similarly the ETSI standard for browser security and CRA compliance have WebViews and MiniApps out of scope for now.
Possible Deliverables:
Scope: Threat modeling, requirements, and best practices at the level of the embedding interface and runtime. Coordination with the WebView CG, the MiniApps CG, and relevant security groups rather than duplication of it. Out of scope: vulnerability research against specific shipping products, and certification or conformance enforcement.
Example activities: Mapping the JS-bridge attack surface across major WebView implementations, documenting how permission prompts and identity signals behave (or don't) across embedded contexts, tracking CRA implementation guidance and translating it into engineering requirements, workshops with embedders on hardening patterns.
Description: Each WebView, MiniApp platform, and embedded engine supports a different slice of the web platform, and almost none of it is documented where developers look. MDN and browser-compat-data describe the browser web only. This track makes the embedded web measurable and documented, and feeds the results back into those shared resources instead of building a silo.
Possible Deliverables:
Scope. Measuring and documenting platform support across embedded contexts, including the test automation to do it. MiniApp work happens in coordination with the MiniApps CG. This track just supplies data and evidence. Spec work stays with the WG. Out of scope: Recommendations and proprietary embedder APIs.
Example activities. Automated test runs across WebView and MiniApp runtimes; per-context gap reports; contributing embedded support data to BCD and Baseline; developer surveys on which gaps hurt most.
– Brian's notes —
I think there is a lot here that we can talk about in terms of windowing alone - for example, proper window-level things for apps:
* Styleable tooltips
* Custom context menus
* Sticky windows
* Window decorations
And we can look at a ton of already currently open standards positions as potential app/ui fodder too.. Just some examples of things that at least someone is proposing and almost certainly would be valuable at a higher level, but maybe not just for the "drive by web":
💡 Finding The Thing
Success creates success
Let’s find one thing that many need and are interested in working on collectively
Draw out all ideas and find common things
🗣️ Projects, Groups, People
🧾 Incentives
Unsuitable for the drive-by web but important for embedding the web
Some of these capabilities were judged unsuitable for the open web's trust model; others are native to embedding and have simply never had a venue. Both point at the same gap.
Isolated Web Apps are a Chromium-specific packaged-app boundary shipped initially via enterprise policy on managed ChromeOS devices (Mozilla: negative; WebKit: no position). Capabilities gated behind it currently evolve in a single engine, without cross-vendor review:
Some work might eventually happen in WHATWG but examples like this got initially declined by WebKit as fingerprinting vectors:
Mozilla rates the device-access subset as harmful.
Also: File System Access beyond OPFS. All are available today in Electron, Cordova/Capacitor, MiniApp runtimes, and enterprise WebView apps through unstandardized native bridges.
MiniApps — standards without implementations
The inverse of the IWA case: here the specifications exist and the deployments don't.
Web Bundles / Web Packaging — contested substrate
🤯 Reasoning
Capabilities without a venue
Capability tiers. A growing set of capabilities for example raw sockets, device access (USB, HID, Serial, Bluetooth, NFC, MIDI), arbitrary content embedding have been declined by engines for the open web on fingerprinting and security grounds, yet is universally needed and ad-hoc implemented in embedded contexts via proprietary bridges. Some now ship in a single engine restricted to Isolated Web Apps, outside TAG review and standards-position processes. Some of these extended capabilities (e.g., Bluetooth, NFC) are also offered to MiniApps developers within SuperApp contexts. The result is that real platform capabilities evolve with no multi-vendor venue. This group provides that venue: not to relitigate whether these APIs belong on the drive-by web, but to define the trust tiers of embedded contexts — installation, packaging, signing, policy — under which such capabilities can be exposed with a shared, reviewable security model, and to document where each existing capability sits today.
Some work in WHATWG
Internal rationale — not for the public charter
An argument for the group's existence, buried in Chromium's own process docs.
Chromium's internal guidance for launching IWA-specific APIs literally instructs engineers: do not request a TAG design review. The TAG concluded it isn't the right venue for IWA-specific proposals; Mozilla's position on IWA is negative (API design, security, venue); WebKit has taken no position. Chromium's guidance concludes there is little value in requesting standards positions for IWA-specific capabilities. New platform capabilities — Direct Sockets, Controlled Frame, and whatever comes next — are now shipping with no multi-vendor review venue at all.
https://github.com/w3ctag/design-reviews/issues/842
https://github.com/mozilla/standards-positions/issues/799
The capability tier underneath it. This isn't just an IWA quirk. For example WebKit declined to implement 16 APIs including Web Bluetooth, Web MIDI, Web NFC, WebHID, Serial, WebUSB and various sensors, on the grounds that they increase fingerprintability with no safe way to protect the user. Mozilla flagged Bluetooth, MIDI, Serial and USB as harmful, arguing no permission prompt can explain the danger to a non-technical user. Both objections are about the drive-by web's trust model — a stranger's URL getting at your hardware. But every one of those capabilities is common in the embedded world: Electron apps, kiosks, MiniApps with native bridges, enterprise WebView apps all do raw sockets and device access today, each through a proprietary bridge, with zero shared security model. The engines' answer was "not for the open web." Nobody ever answered "then for what, under which rules?"
https://webkit.org/tracking-prevention/
https://mozilla.github.io/standards-positions/
[a]Possible breakage through embedders messing with APIs, for example, to add a silent tracking/debugging secondary call to each `fetch()`. I just had this case and it broke Cloudflare's "are you a real user" thingie.
[b]That's a great example why security baseline documentation & testing for WebViews is necessary. I plan on proposing a "Threat model for WebViews" projects to the WebView CG very soon.
[c]1 total reaction
Martin Alvarez-Espinar reacted with ➕ at 2026-06-12 6:37 AM UTC