Intent to Ship: Import Text (Text Modules)

156 views
Skip to first unread message

Nikolaos Papaspyrou

unread,
Sep 3, 2026, 11:27:47 AMSep 3
to blink-dev, Olivier Flückiger, Leszek Swirski
Contact emails
ol...@google.com, niko...@chromium.org

Explainer
https://github.com/tc39/proposal-import-text
https://github.com/whatwg/html/pull/11933
https://github.com/w3c/webappsec-csp/pull/794

Specification
https://tc39.es/proposal-import-text

Summary
A TC39 proposal to add module `import … with { type: "text" }` statements to JavaScript. The import attribute loads text data as a string value.

Blink component
Blink>JavaScript>Language

Web Feature ID
text-modules

Motivation
No information provided

Initial public proposal
No information provided

TAG review
No information provided

TAG review status
Not applicable

Goals for experimentation
None

Risks


Interoperability and Compatibility
No information provided

Gecko: Shipped/Shipping (https://bugzilla.mozilla.org/show_bug.cgi?id=2039881)

WebKit: In development (https://bugs.webkit.org/show_bug.cgi?id=310340)

Web developers: No signals

Other signals:

WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?

No information provided


Debuggability
No information provided

Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, ChromeOS, Android, and Android WebView)?
Yes

Is this feature fully tested by web-platform-tests?
Yes
https://wpt.fyi/results/html/semantics/scripting-1/the-script-element/text-module?label=experimental&label=master&aligned

Flag name on about://flags
No information provided

Finch feature name
JavaScriptImportText

Rollout plan
Will ship enabled for all users

Requires code in //chrome?
False

No custom browser logic or UI. Only mechanical updates to existing switch statements in //chrome were needed to handle the new network::mojom::RequestDestination::kText enum value.

Tracking bug
https://issues.chromium.org/issues/494350643

Estimated milestones
Shipping on desktop155
Shipping on Android155
Shipping on WebView155


Anticipated spec changes

Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g., changing to naming or structure of the API in a non-backward-compatible way).

No information provided

Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5191512456560640?gate=6058378127343616

This intent message was generated by Chrome Platform Status.

--
Nikolaos Papaspyrou <niko...@chromium.org>

Daniel Bratell

unread,
Sep 9, 2026, 10:34:32 AMSep 9
to Nikolaos Papaspyrou, blink-dev, Olivier Flückiger, Leszek Swirski

LGTM1

(Stage 3 TC39, shipped in Mozilla)

/Daniel

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAP0kSa3hpKaKH0e4v7NQH%3DJHd%2B-YxpuK2JQ_wpq331WM7paUGw%40mail.gmail.com.

Mike Taylor

unread,
Sep 9, 2026, 10:43:19 AMSep 9
to Daniel Bratell, Nikolaos Papaspyrou, blink-dev, Olivier Flückiger, Leszek Swirski

Vladimir Levin

unread,
Sep 9, 2026, 11:01:57 AMSep 9
to blink-dev, Mike Taylor, Olivier Flückiger, Leszek Swirski, Daniel Bratell, Nikolaos Papaspyrou
LGTM3

On Wednesday, September 9, 2026 at 10:43:19 AM UTC-4 Mike Taylor wrote:

LGTM2

On 9/9/26 10:33 a.m., Daniel Bratell wrote:

LGTM1

(Stage 3 TC39, shipped in Mozilla)

/Daniel

On 2026-09-03 17:27, Nikolaos Papaspyrou wrote:
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
Reply all
Reply to author
Forward
0 new messages