[wpt-sync] Sync PR 63114 - [WebMCP] Remove origin-keyed agent cluster requirement
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox159 fixed)
| Tracking | Status | |
|---|---|---|
| firefox159 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 63114 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63114
Details from upstream follow.
François Beaufort <beaufort.francois@gmail.com> wrote:
[WebMCP] Remove origin-keyed agent cluster requirement
Previously, document.modelContext's registerTool(), getTools() and
executeTool() rejected with a SecurityError, and declarative tools were
silently not registered, when the document was not in an origin-keyed
agent cluster (i.e. when document.domain could be used). The spec no
longer has this requirement, so remove the check.This also removes the tests that asserted the old behavior, including
the --disable-web-security exception test, which is now moot.Spec PR: https://github.com/webmachinelearning/webmcp/pull/330
Bug: 489045948
Change-Id: I8ab7fcacd73f879e9bdb73f9eaf3ea9a21cada75
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8479638
Reviewed-by: Dominic Farolino \<dom@chromium.org>
Commit-Queue: Fr \<beaufort.francois@gmail.com>
Cr-Commit-Position: refs/heads/main@{#1708220}
| Assignee | ||
Comment 1•1 month ago
|
||
| Assignee | ||
Comment 2•1 month ago
|
||
The PR was not expected to affect any tests, but the try push wasn't a success. Check the try results for infrastructure issues
| Assignee | ||
Comment 4•1 month ago
|
||
Test result changes from PR not available.
Comment 5•1 month ago
|
||
| bugherder | ||
Description
•