Closed Bug 2076896 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63114 - [WebMCP] Remove origin-keyed agent cluster requirement

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox159 fixed)

RESOLVED FIXED
159 Branch
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}

The PR was not expected to affect any tests, but the try push wasn't a success. Check the try results for infrastructure issues

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/3a9cd0329103 https://hg.mozilla.org/integration/autoland/rev/d22ac7f07f01 [wpt PR 63114] - [WebMCP] Remove origin-keyed agent cluster requirement, a=testonly

Test result changes from PR not available.

Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 159 Branch
You need to log in before you can comment on or make changes to this bug.