Closed Bug 2042248 Opened 6 months ago Closed 6 months ago

[wpt-sync] Sync PR 60158 - WebMCP: Expose document.modelContext

Categories

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

task

Tracking

(firefox153 fixed)

RESOLVED FIXED
153 Branch
Tracking Status
firefox153 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 60158 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/60158
Details from upstream follow.

Dominic Farolino <dom@chromium.org> wrote:

WebMCP: Expose document.modelContext

Per https://github.com/webmachinelearning/webmcp/issues/173 and
https://github.com/w3ctag/design-reviews/issues/1231#issuecomment-4502765330,
we're moving modelContext to document from navigator. This CL does
that, but keeps navigator exposure around for a bit and dispatches a
console warning when it is used.

This CL also updates all web platform tests to use
document.modelContext. There might be other lingering tests elsewhere,
but we can update those when we fully remove the API.

R=mfoltz

Bug: 489045948
Change-Id: I2005719574b78367199c0a87f94f3577b8039f15
Reviewed-on: https://chromium-review.googlesource.com/7867800
WPT-Export-Revision: 055bd1543215fdd63b64283c93711a53faf275fc

PR 60158 applied with additional changes from upstream: 2f79718126841d68bf361edc9318123d82013ed7

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 31 tests and 1 subtests

Status Summary

Firefox

OK : 25[GitHub] 26[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 6
FAIL : 38[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 42[GitHub]
TIMEOUT: 6
ERROR : 2
NOTRUN : 1

Chrome

OK : 24
PASS : 7
FAIL : 41
TIMEOUT: 6
ERROR : 3
NOTRUN : 1

Safari

OK : 25
PASS : 6
FAIL : 42
TIMEOUT: 6
ERROR : 2
NOTRUN : 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Tests Disabled in Gecko Infrastructure

  • /webmcp/imperative/exposedTo-cross-origin-child.https.html [wpt.fyi]: SKIP [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt], TIMEOUT [GitHub] (Chrome: TIMEOUT, Safari: TIMEOUT)
  • /webmcp/imperative/exposedTo-multiple-children.https.html [wpt.fyi]: SKIP [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt], TIMEOUT [GitHub] (Chrome: TIMEOUT, Safari: TIMEOUT)
  • /webmcp/imperative/permissions-policy.https.html [wpt.fyi]: SKIP [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt], TIMEOUT [GitHub] (Chrome: TIMEOUT, Safari: TIMEOUT)
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 153 Branch
You need to log in before you can comment on or make changes to this bug.