commit 15a69ebc62ce7ff6345711e2eba96265cdbae700 parent f7175e3f7e36da4e130351bf57b4c278b1bc2d3d Author: moz-wptsync-bot <wptsync@mozilla.com> Date: Fri, 31 Oct 2025 03:00:15 +0000 Bug 1997482 [wpt PR 55781] - Update wpt metadata, a=testonly wpt-pr: 55781 wpt-type: metadata Diffstat:
22 files changed, 268 insertions(+), 0 deletions(-)
diff --git a/testing/web-platform/meta/ai/language-model/language-model-abort.tentative.https.window.js.ini b/testing/web-platform/meta/ai/language-model/language-model-abort.tentative.https.window.js.ini @@ -0,0 +1,12 @@ +[language-model-abort.tentative.https.window.html] + [Aborting LanguageModel.create().] + expected: FAIL + + [Aborting LanguageModel.clone().] + expected: FAIL + + [Aborting LanguageModel.prompt().] + expected: FAIL + + [Aborting LanguageModel.promptStreaming().] + expected: FAIL diff --git a/testing/web-platform/meta/ai/language-model/language-model-availability-available-multimodal.tentative.https.window.js.ini b/testing/web-platform/meta/ai/language-model/language-model-availability-available-multimodal.tentative.https.window.js.ini @@ -0,0 +1,12 @@ +[language-model-availability-available-multimodal.tentative.https.window.html] + [LanguageModel.availability() is available with multimodal audio option] + expected: FAIL + + [LanguageModel.availability() is available with multimodal image option] + expected: FAIL + + [LanguageModel.availability() returns available with supported multimodal options] + expected: FAIL + + [LanguageModel.availability() returns unavailable with unsupported multimodal options] + expected: FAIL diff --git a/testing/web-platform/meta/ai/language-model/language-model-availability-available.tentative.https.window.js.ini b/testing/web-platform/meta/ai/language-model/language-model-availability-available.tentative.https.window.js.ini @@ -0,0 +1,12 @@ +[language-model-availability-available.tentative.https.window.html] + [LanguageModel.availability() is available with no options] + expected: FAIL + + [LanguageModel.availability() returns available with supported options] + expected: FAIL + + [LanguageModel.availability() returns unavailable with unsupported options] + expected: FAIL + + [LanguageModel.availability() rejects with invalid options] + expected: FAIL diff --git a/testing/web-platform/meta/ai/language-model/language-model-availability.tentative.https.window.js.ini b/testing/web-platform/meta/ai/language-model/language-model-availability.tentative.https.window.js.ini @@ -0,0 +1,12 @@ +[language-model-availability.tentative.https.window.html] + [LanguageModel.availability() is defined] + expected: FAIL + + [LanguageModel.availability() returns a valid value with no options] + expected: FAIL + + [LanguageModel.availability() rejects when given invalid language tags] + expected: FAIL + + [LanguageModel.availability() returns a valid value with plausible options] + expected: FAIL diff --git a/testing/web-platform/meta/ai/language-model/language-model-clone.tentative.https.window.js.ini b/testing/web-platform/meta/ai/language-model/language-model-clone.tentative.https.window.js.ini @@ -0,0 +1,3 @@ +[language-model-clone.tentative.https.window.html] + [Language Model Clone] + expected: FAIL diff --git a/testing/web-platform/meta/ai/language-model/language-model-create-multimodal.tentative.https.window.js.ini b/testing/web-platform/meta/ai/language-model/language-model-create-multimodal.tentative.https.window.js.ini @@ -0,0 +1,9 @@ +[language-model-create-multimodal.tentative.https.window.html] + [LanguageModel.create() succeeds with supported multimodal type and language options] + expected: FAIL + + [LanguageModel.create() succeeds with supported multimodal initialPrompts] + expected: FAIL + + [LanguageModel.create() fails with unsupported multimodal initialPrompts] + expected: FAIL diff --git a/testing/web-platform/meta/ai/language-model/language-model-create-user-activation.tentative.https.window.js.ini b/testing/web-platform/meta/ai/language-model/language-model-create-user-activation.tentative.https.window.js.ini @@ -0,0 +1,3 @@ +[language-model-create-user-activation.tentative.https.window.html] + [Create requires user activation when availability is "downloadable"] + expected: FAIL diff --git a/testing/web-platform/meta/ai/language-model/language-model-create.tentative.https.window.js.ini b/testing/web-platform/meta/ai/language-model/language-model-create.tentative.https.window.js.ini @@ -0,0 +1,55 @@ +[language-model-create.tentative.https.window.html] + expected: ERROR + [Ensure sessions can be created] + expected: FAIL + + [LanguageModel.create() returns a valid object with default options] + expected: FAIL + + [LanguageModel.create() notifies its monitor on downloadprogress] + expected: FAIL + + [Progress events are not emitted after aborted.] + expected: TIMEOUT + + [Create with topK and temperature] + expected: NOTRUN + + [Create with only topK should fail] + expected: NOTRUN + + [Create with only temperature should fail] + expected: NOTRUN + + [Create with negative temperature should fail] + expected: NOTRUN + + [Create with zero topK should fail] + expected: NOTRUN + + [Create with negative topK should fail] + expected: NOTRUN + + [Create with fractional topK should be rounded down] + expected: NOTRUN + + [Create with initialPrompts] + expected: NOTRUN + + [Create with empty initialPrompts] + expected: NOTRUN + + [Create with initialPrompts without system role] + expected: NOTRUN + + [Create with system role not ordered first should fail] + expected: NOTRUN + + [Create multiple system role entries should fail] + expected: NOTRUN + + [LanguageModel.create() rejects when given invalid language tags] + expected: NOTRUN + + [LanguageModel.create() canonicalizes language tags] + expected: NOTRUN diff --git a/testing/web-platform/meta/ai/language-model/language-model-destroy.tentative.https.window.js.ini b/testing/web-platform/meta/ai/language-model/language-model-destroy.tentative.https.window.js.ini @@ -0,0 +1,3 @@ +[language-model-destroy.tentative.https.window.html] + [Language Model Destroy] + expected: FAIL diff --git a/testing/web-platform/meta/ai/language-model/language-model-from-detached-iframe.tentative.https.window.js.ini b/testing/web-platform/meta/ai/language-model/language-model-from-detached-iframe.tentative.https.window.js.ini @@ -0,0 +1,3 @@ +[language-model-from-detached-iframe.tentative.https.window.html] + [Language Model From Detached Iframe] + expected: FAIL diff --git a/testing/web-platform/meta/ai/language-model/language-model-iframe.tentative.https.html.ini b/testing/web-platform/meta/ai/language-model/language-model-iframe.tentative.https.html.ini @@ -0,0 +1,18 @@ +[language-model-iframe.tentative.https.html] + [Throw a 'NotAllowedError' when creating LanguageModel within cross-origin iframe] + expected: FAIL + + [LanguageModel can be created within cross-origin iframe with permission policy] + expected: FAIL + + [LanguageModel can be used within same-origin iframe] + expected: FAIL + + [LanguageModel is unavailable within cross-origin iframe] + expected: FAIL + + [LanguageModel is available within cross-origin iframe with permission policy] + expected: FAIL + + [LanguageModel is available within same-origin iframe] + expected: FAIL diff --git a/testing/web-platform/meta/ai/language-model/language-model-measure-input-usage.tentative.https.window.js.ini b/testing/web-platform/meta/ai/language-model/language-model-measure-input-usage.tentative.https.window.js.ini @@ -0,0 +1,3 @@ +[language-model-measure-input-usage.tentative.https.window.html] + [Language Model Measure Input Usage] + expected: FAIL diff --git a/testing/web-platform/meta/ai/language-model/language-model-params.tentative.https.window.js.ini b/testing/web-platform/meta/ai/language-model/language-model-params.tentative.https.window.js.ini @@ -0,0 +1,3 @@ +[language-model-params.tentative.https.window.html] + [Language Model Params] + expected: FAIL diff --git a/testing/web-platform/meta/ai/language-model/language-model-prompt-context-destroyed.tentative.https.window.js.ini b/testing/web-platform/meta/ai/language-model/language-model-prompt-context-destroyed.tentative.https.window.js.ini @@ -0,0 +1,3 @@ +[language-model-prompt-context-destroyed.tentative.https.window.html] + [Detaching iframe while running prompt() should not cause memory leak] + expected: FAIL diff --git a/testing/web-platform/meta/ai/language-model/language-model-prompt-gc.tentative.https.window.js.ini b/testing/web-platform/meta/ai/language-model/language-model-prompt-gc.tentative.https.window.js.ini @@ -0,0 +1,3 @@ +[language-model-prompt-gc.tentative.https.window.html] + [Prompt API must continue even after GC has been performed.] + expected: FAIL diff --git a/testing/web-platform/meta/ai/language-model/language-model-prompt-monitor-callback-exception.tentative.https.window.js.ini b/testing/web-platform/meta/ai/language-model/language-model-prompt-monitor-callback-exception.tentative.https.window.js.ini @@ -0,0 +1,3 @@ +[language-model-prompt-monitor-callback-exception.tentative.https.window.html] + [Language Model Prompt Monitor Callback Exception] + expected: FAIL diff --git a/testing/web-platform/meta/ai/language-model/language-model-prompt-multimodal.tentative.https.window.js.ini b/testing/web-platform/meta/ai/language-model/language-model-prompt-multimodal.tentative.https.window.js.ini @@ -0,0 +1,69 @@ +[language-model-prompt-multimodal.tentative.https.window.html] + [Prompt with type:"text" and image content should reject] + expected: FAIL + + [Prompt with assistant role should reject with multimodal input] + expected: FAIL + + [Prompt image without `image` expectedInput] + expected: FAIL + + [Test Image initialPrompt] + expected: FAIL + + [Prompt with Blob image content] + expected: FAIL + + [Prompt with ImageBitmap image content] + expected: FAIL + + [Prompt with VideoFrame image content] + expected: FAIL + + [Prompt with OffscreenCanvas image content] + expected: FAIL + + [Prompt with ImageData image content] + expected: FAIL + + [Prompt with HTMLImageElement image content] + expected: FAIL + + [Prompt with HTMLCanvasElement image content] + expected: FAIL + + [Prompt with ArrayBuffer image content] + expected: FAIL + + [Prompt with ArrayBufferView image content] + expected: FAIL + + [Prompt with ArrayBufferView image content with an offset.] + expected: FAIL + + [Prompt with HTMLImageElement image content (with SVG)] + expected: FAIL + + [Prompt with SVGImageElement image content] + expected: FAIL + + [Prompt with HTMLVideoElement image content] + expected: FAIL + + [Prompt audio without `audio` expectedInput] + expected: FAIL + + [Test Audio initialPrompt] + expected: FAIL + + [Prompt with Blob audio content] + expected: FAIL + + [Prompt audio with blob containing invalid audio data.] + expected: FAIL + + [Prompt with AudioBuffer] + expected: FAIL + + [Prompt with BufferSource - ArrayBuffer] + expected: FAIL diff --git a/testing/web-platform/meta/ai/language-model/language-model-prompt-streaming-gc.tentative.https.window.js.ini b/testing/web-platform/meta/ai/language-model/language-model-prompt-streaming-gc.tentative.https.window.js.ini @@ -0,0 +1,3 @@ +[language-model-prompt-streaming-gc.tentative.https.window.html] + [Prompt Streaming API must continue even after GC has been performed.] + expected: FAIL diff --git a/testing/web-platform/meta/ai/language-model/language-model-prompt-streaming.tentative.https.window.js.ini b/testing/web-platform/meta/ai/language-model/language-model-prompt-streaming.tentative.https.window.js.ini @@ -0,0 +1,3 @@ +[language-model-prompt-streaming.tentative.https.window.html] + [Language Model Prompt Streaming] + expected: FAIL diff --git a/testing/web-platform/meta/ai/language-model/language-model-prompt.tentative.https.window.js.ini b/testing/web-platform/meta/ai/language-model/language-model-prompt.tentative.https.window.js.ini @@ -0,0 +1,18 @@ +[language-model-prompt.tentative.https.window.html] + [Simple LanguageModel.prompt() call] + expected: FAIL + + [Check empty input] + expected: FAIL + + [Check Shorthand] + expected: FAIL + + [Test that initialPrompt counts towards session inputUsage] + expected: FAIL + + [The `quotaoverflow` event is fired when overall usage exceeds the quota] + expected: FAIL + + [Test that prompt input exeeding the total quota rejects] + expected: FAIL diff --git a/testing/web-platform/meta/ai/language-model/language-model-quota-exceeded.tentative.https.window.js.ini b/testing/web-platform/meta/ai/language-model/language-model-quota-exceeded.tentative.https.window.js.ini @@ -0,0 +1,3 @@ +[language-model-quota-exceeded.tentative.https.window.html] + [QuotaExceededError is thrown when initial prompts are too large.] + expected: FAIL diff --git a/testing/web-platform/meta/ai/language-model/language-model-response-json-schema.tentative.https.window.js.ini b/testing/web-platform/meta/ai/language-model/language-model-response-json-schema.tentative.https.window.js.ini @@ -0,0 +1,15 @@ +[language-model-response-json-schema.tentative.https.window.html] + [Prompt API should fail if an invalid response json schema is provided] + expected: FAIL + + [Prompt API should work when a valid response json schema is provided.] + expected: FAIL + + [Prompt API should work when a valid response json schema and model prefix is provided.] + expected: FAIL + + [Prompt API should omit response schema from input.] + expected: FAIL + + [Prompt API should work when a valid regex constraint is provided.] + expected: FAIL