Hey blink-dev,

In Chrome M146, we plan to Enable AI Origin Trial APIs in DevTools
<https://chromium-review.googlesource.com/c/chromium/src/+/7238674>,
including for devtools panels added by extensions
<https://developer.chrome.com/docs/extensions/reference/api/devtools/panels>,
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
<https://chromewebstore.google.com/detail/chrome-webai-extension/oikhpnhaggpomechbkgloecpppcdecmk>
(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
<http://cs/h/chrome-internal/codesearch/chrome/src/+/main:third_party/devtools-frontend/src/front_end/panels/common/ExtensionView.ts?l=28>
.

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

Built-In AI Team

Reilly Grant | Software Engineer | [email protected] | Google Chrome
<https://www.google.com/chrome>

-- 
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 [email protected].
To view this discussion visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAEmk%3DMb9Zi3si11GWq6wbHFh%3DUf91o9fyy03cDTYOdMnfcrKGA%40mail.gmail.com.

Reply via email to