[PSA] Enabling AI Origin Trial APIs for Devtools Extension Panels

2 views
Skip to first unread message

Reilly Grant

unread,
1:50 PM (3 hours ago) 1:50 PM
to blink-dev

Hey blink-dev,


In Chrome M146, we plan to Enable AI Origin Trial APIs in DevTools, including for devtools panels added by extensions, regardless of whether the extensions themselves have OT tokens.


Motivation: We want developers to experiment with Built-In AI API usage from devtools panels, as we believe this is the best surface for exploring API usage on the page being inspected. Our team prototyped an extension (initially limited to the Google organization) adding such a panel.


Obstacle: Origin Trial feature support is not available within devtools nor its embedded frames, and the OT team doesn’t believe this is readily addressable.


Solution: After consulting with the OT team, we believe it is reasonable to enable select OT APIs within devtools WebViews, guarded by a base::Feature flag in case any issues arise. The APIs’ permissions-policies are already granted to devtools extension panel iframes.


Please reach out if there’s any concern with this plan, thanks!

Built-In AI Team


Reilly Grant | Software Engineer | rei...@chromium.org | Google Chrome

Mike Taylor

unread,
4:09 PM (1 hour ago) 4:09 PM
to Reilly Grant, blink-dev

Makes sense to me!

--
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/CAEmk%3DMb9Zi3si11GWq6wbHFh%3DUf91o9fyy03cDTYOdMnfcrKGA%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages