Commit 17d11642 authored by Chromium WPT Sync's avatar Chromium WPT Sync Committed by Commit Bot

Import wpt@ec2ef027c347d3b2048814f3f8e68f2a34a74963

Using wpt-import in Chromium c53a40f4.
With Chromium commits locally applied on WPT:
d0ad7cf8 "UpgradeInsecureRequest: Add WPTs for static-import in dedicated/shared workers"
29baa8ce "[css-filters] Migrate effect-reference-image-hw.html to WPT"
ca551bc6 "[css-filters] Move multiple-references-id-mutate-crash.html test to WPT"
c53a40f4 "Update size.attributes.parse.trailingjunk"


Note to sheriffs: This CL imports external tests and adds
expectations for those tests; if this CL is large and causes
a few new failures, please fix the failures by adding new
lines to TestExpectations rather than reverting. See:
https://chromium.googlesource.com/chromium/src/+/master/docs/testing/web_platform_tests.md

NOAUTOREVERT=true
TBR=raphael.kubo.da.costa

No-Export: true
Change-Id: Idfadb6d2493bb3d909119755660f57cbbb7b099c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2143939Reviewed-by: default avatarWPT Autoroller <wpt-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: WPT Autoroller <wpt-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/master@{#758035}
parent 3345ea16
// GENERATED CONTENT - DO NOT EDIT // GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into reffy-reports // Content was automatically extracted by Reffy into reffy-reports
// (https://github.com/tidoust/reffy-reports) // (https://github.com/tidoust/reffy-reports)
// Source: HTMLVideoElement.requestAnimationFrame() (https://wicg.github.io/video-raf/) // Source: HTMLVideoElement.requestVideoFrameCallback() (https://wicg.github.io/video-raf/)
dictionary VideoFrameMetadata { dictionary VideoFrameMetadata {
required DOMHighResTimeStamp presentationTime; required DOMHighResTimeStamp presentationTime;
...@@ -22,6 +22,6 @@ dictionary VideoFrameMetadata { ...@@ -22,6 +22,6 @@ dictionary VideoFrameMetadata {
callback VideoFrameRequestCallback = void(DOMHighResTimeStamp now, VideoFrameMetadata metadata); callback VideoFrameRequestCallback = void(DOMHighResTimeStamp now, VideoFrameMetadata metadata);
partial interface HTMLVideoElement { partial interface HTMLVideoElement {
unsigned long requestAnimationFrame(VideoFrameRequestCallback callback); unsigned long requestVideoFrameCallback(VideoFrameRequestCallback callback);
void cancelAnimationFrame(unsigned long handle); void cancelVideoFrameCallback(unsigned long handle);
}; };
This is a testharness.js-based test.
PASS idl_test setup
PASS idl_test validation
PASS Partial interface HTMLVideoElement: original interface defined
PASS Partial interface HTMLVideoElement: member names are unique
PASS HTMLElement includes GlobalEventHandlers: member names are unique
PASS HTMLElement includes DocumentAndElementEventHandlers: member names are unique
PASS HTMLElement includes ElementContentEditable: member names are unique
PASS HTMLElement includes HTMLOrSVGElement: member names are unique
PASS Element includes ParentNode: member names are unique
PASS Element includes NonDocumentTypeChildNode: member names are unique
PASS Element includes ChildNode: member names are unique
PASS Element includes Slotable: member names are unique
FAIL HTMLVideoElement interface: operation requestVideoFrameCallback(VideoFrameRequestCallback) assert_own_property: interface prototype object missing non-static operation expected property "requestVideoFrameCallback" missing
FAIL HTMLVideoElement interface: operation cancelVideoFrameCallback(unsigned long) assert_own_property: interface prototype object missing non-static operation expected property "cancelVideoFrameCallback" missing
FAIL HTMLVideoElement interface: video must inherit property "requestVideoFrameCallback(VideoFrameRequestCallback)" with the proper type assert_inherits: property "requestVideoFrameCallback" not found in prototype chain
FAIL HTMLVideoElement interface: calling requestVideoFrameCallback(VideoFrameRequestCallback) on video with too few arguments must throw TypeError assert_inherits: property "requestVideoFrameCallback" not found in prototype chain
FAIL HTMLVideoElement interface: video must inherit property "cancelVideoFrameCallback(unsigned long)" with the proper type assert_inherits: property "cancelVideoFrameCallback" not found in prototype chain
FAIL HTMLVideoElement interface: calling cancelVideoFrameCallback(unsigned long) on video with too few arguments must throw TypeError assert_inherits: property "cancelVideoFrameCallback" not found in prototype chain
Harness: the test ran to completion.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment