kitesurf · WPT

FAIL
expected FAIL · 1264 ms
▶ run in kitesurf
Test
/selection/idlharness.window.html
Actual
FAIL
Expected
FAIL
Unexpected
no
Duration
1264 ms
Harness
OK
Counts
Reason
Run
https://kitesurf.rendering.cfdata.org/?url=http%3A%2F%2Fwpt.live%2Fselection%2Fidlharness.window.html ↗
Upstream
view on github.com/web-platform-tests/wpt ↗

Subtests

statussubtestmessage
PASSidl_test setup
PASSidl_test validation
PASSPartial interface Document: original interface defined
PASSPartial interface Document: member names are unique
PASSPartial interface Window: original interface defined
PASSPartial interface Window: member names are unique
PASSPartial interface mixin GlobalEventHandlers: original interface mixin defined
PASSPartial interface mixin GlobalEventHandlers: member names are unique
PASSPartial interface Document[2]: member names are unique
PASSPartial interface Element: member names are unique
PASSPartial interface Document[3]: member names are unique
PASSPartial interface Window[2]: member names are unique
PASSDocument includes GlobalEventHandlers: member names are unique
PASSHTMLElement includes GlobalEventHandlers: member names are unique
PASSHTMLElement includes ElementContentEditable: member names are unique
PASSHTMLElement includes HTMLOrSVGElement: member names are unique
PASSWindow includes GlobalEventHandlers: member names are unique
PASSWindow includes WindowEventHandlers: member names are unique
PASSWindow includes WindowOrWorkerGlobalScope: member names are unique
PASSWindow includes AnimationFrameProvider: member names are unique
PASSWindow includes WindowSessionStorage: member names are unique
PASSWindow includes WindowLocalStorage: member names are unique
PASSDocument includes NonElementParentNode: member names are unique
PASSDocument includes DocumentOrShadowRoot: member names are unique
PASSDocument includes ParentNode: member names are unique
PASSElement includes ParentNode: member names are unique
PASSElement includes NonDocumentTypeChildNode: member names are unique
PASSElement includes ChildNode: member names are unique
PASSElement includes Slottable: member names are unique
PASSDocument includes XPathEvaluatorBase: member names are unique
FAILSelection interface: existence and properties of interface objectassert_throws_js: interface object didn't throw TypeError when called as a constructor function "function() { new interface_object(); }" did not throw
PASSSelection interface object length
FAILSelection interface object nameassert_equals: wrong value for Selection.name expected "Selection" but got "SelectionImpl"
PASSSelection interface: existence and properties of interface prototype object
PASSSelection interface: existence and properties of interface prototype object's "constructor" property
PASSSelection interface: existence and properties of interface prototype object's @@unscopables property
FAILSelection interface: attribute anchorNodeassert_throws_js: getting property on prototype object must throw TypeError function "function () { [native code] }" did not throw
FAILSelection interface: attribute anchorOffsetassert_throws_js: getting property on prototype object must throw TypeError function "function () { [native code] }" did not throw
FAILSelection interface: attribute focusNodeassert_throws_js: getting property on prototype object must throw TypeError function "function () { [native code] }" did not throw
FAILSelection interface: attribute focusOffsetassert_throws_js: getting property on prototype object must throw TypeError function "function () { [native code] }" did not throw
FAILSelection interface: attribute isCollapsedassert_throws_js: getting property on prototype object must throw TypeError function "function () { [native code] }" did not throw
FAILSelection interface: attribute rangeCountassert_throws_js: getting property on prototype object must throw TypeError function "function () { [native code] }" did not throw
FAILSelection interface: attribute typeassert_throws_js: getting property on prototype object must throw TypeError function "function () { [native code] }" did not throw
FAILSelection interface: attribute directionassert_true: The prototype object must have a property "direction" expected true got false
FAILSelection interface: operation getRangeAt(unsigned long)assert_true: property should be enumerable expected true got false
FAILSelection interface: operation addRange(Range)assert_true: property should be enumerable expected true got false
FAILSelection interface: operation removeRange(Range)assert_true: property should be enumerable expected true got false
FAILSelection interface: operation removeAllRanges()assert_true: property should be enumerable expected true got false
FAILSelection interface: operation empty()assert_true: property should be enumerable expected true got false
FAILSelection interface: operation getComposedRanges(optional GetComposedRangesOptions)assert_own_property: interface prototype object missing non-static operation expected property "getComposedRanges" missing
FAILSelection interface: operation collapse(Node?, optional unsigned long)assert_true: property should be enumerable expected true got false
FAILSelection interface: operation setPosition(Node?, optional unsigned long)assert_own_property: interface prototype object missing non-static operation expected property "setPosition" missing
FAILSelection interface: operation collapseToStart()assert_true: property should be enumerable expected true got false
FAILSelection interface: operation collapseToEnd()assert_true: property should be enumerable expected true got false
FAILSelection interface: operation extend(Node, optional unsigned long)assert_true: property should be enumerable expected true got false
FAILSelection interface: operation setBaseAndExtent(Node, unsigned long, Node, unsigned long)assert_own_property: interface prototype object missing non-static operation expected property "setBaseAndExtent" missing
FAILSelection interface: operation selectAllChildren(Node)assert_true: property should be enumerable expected true got false
FAILSelection interface: operation modify(optional DOMString, optional DOMString, optional DOMString)assert_own_property: interface prototype object missing non-static operation expected property "modify" missing
FAILSelection interface: operation deleteFromDocument()assert_own_property: interface prototype object missing non-static operation expected property "deleteFromDocument" missing
FAILSelection interface: operation containsNode(Node, optional boolean)assert_own_property: interface prototype object missing non-static operation expected property "containsNode" missing
FAILSelection interface: stringifierassert_true: property should be enumerable expected true got false
PASSSelection must be primary interface of getSelection()
PASSStringification of getSelection()
PASSSelection interface: getSelection() must inherit property "anchorNode" with the proper type
PASSSelection interface: getSelection() must inherit property "anchorOffset" with the proper type
PASSSelection interface: getSelection() must inherit property "focusNode" with the proper type
PASSSelection interface: getSelection() must inherit property "focusOffset" with the proper type
PASSSelection interface: getSelection() must inherit property "isCollapsed" with the proper type
PASSSelection interface: getSelection() must inherit property "rangeCount" with the proper type
PASSSelection interface: getSelection() must inherit property "type" with the proper type
FAILSelection interface: getSelection() must inherit property "direction" with the proper typeassert_inherits: property "direction" not found in prototype chain
PASSSelection interface: getSelection() must inherit property "getRangeAt(unsigned long)" with the proper type
FAILSelection interface: calling getRangeAt(unsigned long) on getSelection() with too few arguments must throw TypeErrorassert_throws_js: Called with 0 arguments function "function() { fn.apply(obj, args); }" threw object "IndexSizeError: Selection.getRangeAt: index out of range" ("IndexSizeError") …
PASSSelection interface: getSelection() must inherit property "addRange(Range)" with the proper type
FAILSelection interface: calling addRange(Range) on getSelection() with too few arguments must throw TypeErrorassert_throws_js: Called with 0 arguments function "function() { fn.apply(obj, args); }" did not throw
PASSSelection interface: getSelection() must inherit property "removeRange(Range)" with the proper type
FAILSelection interface: calling removeRange(Range) on getSelection() with too few arguments must throw TypeErrorassert_throws_js: Called with 0 arguments function "function() { fn.apply(obj, args); }" did not throw
PASSSelection interface: getSelection() must inherit property "removeAllRanges()" with the proper type
PASSSelection interface: getSelection() must inherit property "empty()" with the proper type
FAILSelection interface: getSelection() must inherit property "getComposedRanges(optional GetComposedRangesOptions)" with the proper typeassert_inherits: property "getComposedRanges" not found in prototype chain
FAILSelection interface: calling getComposedRanges(optional GetComposedRangesOptions) on getSelection() with too few arguments must throw TypeErrorassert_inherits: property "getComposedRanges" not found in prototype chain
PASSSelection interface: getSelection() must inherit property "collapse(Node?, optional unsigned long)" with the proper type
FAILSelection interface: calling collapse(Node?, optional unsigned long) on getSelection() with too few arguments must throw TypeErrorassert_throws_js: Called with 0 arguments function "function() { fn.apply(obj, args); }" did not throw
FAILSelection interface: getSelection() must inherit property "setPosition(Node?, optional unsigned long)" with the proper typeassert_inherits: property "setPosition" not found in prototype chain
FAILSelection interface: calling setPosition(Node?, optional unsigned long) on getSelection() with too few arguments must throw TypeErrorassert_inherits: property "setPosition" not found in prototype chain
PASSSelection interface: getSelection() must inherit property "collapseToStart()" with the proper type
PASSSelection interface: getSelection() must inherit property "collapseToEnd()" with the proper type
PASSSelection interface: getSelection() must inherit property "extend(Node, optional unsigned long)" with the proper type
FAILSelection interface: calling extend(Node, optional unsigned long) on getSelection() with too few arguments must throw TypeErrorassert_throws_js: Called with 0 arguments function "function() { fn.apply(obj, args); }" did not throw
FAILSelection interface: getSelection() must inherit property "setBaseAndExtent(Node, unsigned long, Node, unsigned long)" with the proper typeassert_inherits: property "setBaseAndExtent" not found in prototype chain
FAILSelection interface: calling setBaseAndExtent(Node, unsigned long, Node, unsigned long) on getSelection() with too few arguments must throw TypeErrorassert_inherits: property "setBaseAndExtent" not found in prototype chain
PASSSelection interface: getSelection() must inherit property "selectAllChildren(Node)" with the proper type
FAILSelection interface: calling selectAllChildren(Node) on getSelection() with too few arguments must throw TypeErrorassert_throws_js: Called with 0 arguments function "function() { fn.apply(obj, args); }" did not throw
FAILSelection interface: getSelection() must inherit property "modify(optional DOMString, optional DOMString, optional DOMString)" with the proper typeassert_inherits: property "modify" not found in prototype chain
FAILSelection interface: calling modify(optional DOMString, optional DOMString, optional DOMString) on getSelection() with too few arguments must throw TypeErrorassert_inherits: property "modify" not found in prototype chain
FAILSelection interface: getSelection() must inherit property "deleteFromDocument()" with the proper typeassert_inherits: property "deleteFromDocument" not found in prototype chain
FAILSelection interface: getSelection() must inherit property "containsNode(Node, optional boolean)" with the proper typeassert_inherits: property "containsNode" not found in prototype chain
FAILSelection interface: calling containsNode(Node, optional boolean) on getSelection() with too few arguments must throw TypeErrorassert_inherits: property "containsNode" not found in prototype chain
FAILHTMLElement interface: attribute onselectstartassert_true: The prototype object must have a property "onselectstart" expected true got false
FAILHTMLElement interface: attribute onselectionchangeassert_true: The prototype object must have a property "onselectionchange" expected true got false
FAILWindow interface: operation getSelection()assert_equals: property has wrong .name expected "getSelection" but got "bound getSelection"
FAILWindow interface: attribute onselectstartassert_own_property: The global object must have a property "onselectstart" expected property "onselectstart" missing
FAILWindow interface: attribute onselectionchangeassert_own_property: The global object must have a property "onselectionchange" expected property "onselectionchange" missing
PASSWindow interface: window must inherit property "getSelection()" with the proper type
FAILWindow interface: window must inherit property "onselectstart" with the proper typeassert_own_property: expected property "onselectstart" missing
FAILWindow interface: window must inherit property "onselectionchange" with the proper typeassert_own_property: expected property "onselectionchange" missing
FAILDocument interface: operation getSelection()assert_true: property should be enumerable expected true got false
FAILDocument interface: attribute onselectstartassert_true: The prototype object must have a property "onselectstart" expected true got false
FAILDocument interface: attribute onselectionchangeassert_true: The prototype object must have a property "onselectionchange" expected true got false
PASSDocument interface: document must inherit property "getSelection()" with the proper type
FAILDocument interface: document must inherit property "onselectstart" with the proper typeassert_inherits: property "onselectstart" not found in prototype chain
FAILDocument interface: document must inherit property "onselectionchange" with the proper typeassert_inherits: property "onselectionchange" not found in prototype chain

bundle built 2026-07-16T07:16:48.063Z