/selection/idlharness.window.html| status | subtest | message |
|---|---|---|
| PASS | idl_test setup | |
| PASS | idl_test validation | |
| PASS | Partial interface Document: original interface defined | |
| PASS | Partial interface Document: member names are unique | |
| PASS | Partial interface Window: original interface defined | |
| PASS | Partial interface Window: member names are unique | |
| PASS | Partial interface mixin GlobalEventHandlers: original interface mixin defined | |
| PASS | Partial interface mixin GlobalEventHandlers: member names are unique | |
| PASS | Partial interface Document[2]: member names are unique | |
| PASS | Partial interface Element: member names are unique | |
| PASS | Partial interface Document[3]: member names are unique | |
| PASS | Partial interface Window[2]: member names are unique | |
| PASS | Document includes GlobalEventHandlers: member names are unique | |
| PASS | HTMLElement includes GlobalEventHandlers: member names are unique | |
| PASS | HTMLElement includes ElementContentEditable: member names are unique | |
| PASS | HTMLElement includes HTMLOrSVGElement: member names are unique | |
| PASS | Window includes GlobalEventHandlers: member names are unique | |
| PASS | Window includes WindowEventHandlers: member names are unique | |
| PASS | Window includes WindowOrWorkerGlobalScope: member names are unique | |
| PASS | Window includes AnimationFrameProvider: member names are unique | |
| PASS | Window includes WindowSessionStorage: member names are unique | |
| PASS | Window includes WindowLocalStorage: member names are unique | |
| PASS | Document includes NonElementParentNode: member names are unique | |
| PASS | Document includes DocumentOrShadowRoot: member names are unique | |
| PASS | Document includes ParentNode: 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 Slottable: member names are unique | |
| PASS | Document includes XPathEvaluatorBase: member names are unique | |
| FAIL | Selection interface: existence and properties of interface object | assert_throws_js: interface object didn't throw TypeError when called as a constructor function "function() { new interface_object(); }" did not throw |
| PASS | Selection interface object length | |
| FAIL | Selection interface object name | assert_equals: wrong value for Selection.name expected "Selection" but got "SelectionImpl" |
| PASS | Selection interface: existence and properties of interface prototype object | |
| PASS | Selection interface: existence and properties of interface prototype object's "constructor" property | |
| PASS | Selection interface: existence and properties of interface prototype object's @@unscopables property | |
| FAIL | Selection interface: attribute anchorNode | assert_throws_js: getting property on prototype object must throw TypeError function "function () { [native code] }" did not throw |
| FAIL | Selection interface: attribute anchorOffset | assert_throws_js: getting property on prototype object must throw TypeError function "function () { [native code] }" did not throw |
| FAIL | Selection interface: attribute focusNode | assert_throws_js: getting property on prototype object must throw TypeError function "function () { [native code] }" did not throw |
| FAIL | Selection interface: attribute focusOffset | assert_throws_js: getting property on prototype object must throw TypeError function "function () { [native code] }" did not throw |
| FAIL | Selection interface: attribute isCollapsed | assert_throws_js: getting property on prototype object must throw TypeError function "function () { [native code] }" did not throw |
| FAIL | Selection interface: attribute rangeCount | assert_throws_js: getting property on prototype object must throw TypeError function "function () { [native code] }" did not throw |
| FAIL | Selection interface: attribute type | assert_throws_js: getting property on prototype object must throw TypeError function "function () { [native code] }" did not throw |
| FAIL | Selection interface: attribute direction | assert_true: The prototype object must have a property "direction" expected true got false |
| FAIL | Selection interface: operation getRangeAt(unsigned long) | assert_true: property should be enumerable expected true got false |
| FAIL | Selection interface: operation addRange(Range) | assert_true: property should be enumerable expected true got false |
| FAIL | Selection interface: operation removeRange(Range) | assert_true: property should be enumerable expected true got false |
| FAIL | Selection interface: operation removeAllRanges() | assert_true: property should be enumerable expected true got false |
| FAIL | Selection interface: operation empty() | assert_true: property should be enumerable expected true got false |
| FAIL | Selection interface: operation getComposedRanges(optional GetComposedRangesOptions) | assert_own_property: interface prototype object missing non-static operation expected property "getComposedRanges" missing |
| FAIL | Selection interface: operation collapse(Node?, optional unsigned long) | assert_true: property should be enumerable expected true got false |
| FAIL | Selection interface: operation setPosition(Node?, optional unsigned long) | assert_own_property: interface prototype object missing non-static operation expected property "setPosition" missing |
| FAIL | Selection interface: operation collapseToStart() | assert_true: property should be enumerable expected true got false |
| FAIL | Selection interface: operation collapseToEnd() | assert_true: property should be enumerable expected true got false |
| FAIL | Selection interface: operation extend(Node, optional unsigned long) | assert_true: property should be enumerable expected true got false |
| FAIL | Selection interface: operation setBaseAndExtent(Node, unsigned long, Node, unsigned long) | assert_own_property: interface prototype object missing non-static operation expected property "setBaseAndExtent" missing |
| FAIL | Selection interface: operation selectAllChildren(Node) | assert_true: property should be enumerable expected true got false |
| FAIL | Selection interface: operation modify(optional DOMString, optional DOMString, optional DOMString) | assert_own_property: interface prototype object missing non-static operation expected property "modify" missing |
| FAIL | Selection interface: operation deleteFromDocument() | assert_own_property: interface prototype object missing non-static operation expected property "deleteFromDocument" missing |
| FAIL | Selection interface: operation containsNode(Node, optional boolean) | assert_own_property: interface prototype object missing non-static operation expected property "containsNode" missing |
| FAIL | Selection interface: stringifier | assert_true: property should be enumerable expected true got false |
| PASS | Selection must be primary interface of getSelection() | |
| PASS | Stringification of getSelection() | |
| PASS | Selection interface: getSelection() must inherit property "anchorNode" with the proper type | |
| PASS | Selection interface: getSelection() must inherit property "anchorOffset" with the proper type | |
| PASS | Selection interface: getSelection() must inherit property "focusNode" with the proper type | |
| PASS | Selection interface: getSelection() must inherit property "focusOffset" with the proper type | |
| PASS | Selection interface: getSelection() must inherit property "isCollapsed" with the proper type | |
| PASS | Selection interface: getSelection() must inherit property "rangeCount" with the proper type | |
| PASS | Selection interface: getSelection() must inherit property "type" with the proper type | |
| FAIL | Selection interface: getSelection() must inherit property "direction" with the proper type | assert_inherits: property "direction" not found in prototype chain |
| PASS | Selection interface: getSelection() must inherit property "getRangeAt(unsigned long)" with the proper type | |
| FAIL | Selection interface: calling getRangeAt(unsigned long) on getSelection() with too few arguments must throw TypeError | assert_throws_js: Called with 0 arguments function "function() { fn.apply(obj, args); }" threw object "IndexSizeError: Selection.getRangeAt: index out of range" ("IndexSizeError") … |
| PASS | Selection interface: getSelection() must inherit property "addRange(Range)" with the proper type | |
| FAIL | Selection interface: calling addRange(Range) on getSelection() with too few arguments must throw TypeError | assert_throws_js: Called with 0 arguments function "function() { fn.apply(obj, args); }" did not throw |
| PASS | Selection interface: getSelection() must inherit property "removeRange(Range)" with the proper type | |
| FAIL | Selection interface: calling removeRange(Range) on getSelection() with too few arguments must throw TypeError | assert_throws_js: Called with 0 arguments function "function() { fn.apply(obj, args); }" did not throw |
| PASS | Selection interface: getSelection() must inherit property "removeAllRanges()" with the proper type | |
| PASS | Selection interface: getSelection() must inherit property "empty()" with the proper type | |
| FAIL | Selection interface: getSelection() must inherit property "getComposedRanges(optional GetComposedRangesOptions)" with the proper type | assert_inherits: property "getComposedRanges" not found in prototype chain |
| FAIL | Selection interface: calling getComposedRanges(optional GetComposedRangesOptions) on getSelection() with too few arguments must throw TypeError | assert_inherits: property "getComposedRanges" not found in prototype chain |
| PASS | Selection interface: getSelection() must inherit property "collapse(Node?, optional unsigned long)" with the proper type | |
| FAIL | Selection interface: calling collapse(Node?, optional unsigned long) on getSelection() with too few arguments must throw TypeError | assert_throws_js: Called with 0 arguments function "function() { fn.apply(obj, args); }" did not throw |
| FAIL | Selection interface: getSelection() must inherit property "setPosition(Node?, optional unsigned long)" with the proper type | assert_inherits: property "setPosition" not found in prototype chain |
| FAIL | Selection interface: calling setPosition(Node?, optional unsigned long) on getSelection() with too few arguments must throw TypeError | assert_inherits: property "setPosition" not found in prototype chain |
| PASS | Selection interface: getSelection() must inherit property "collapseToStart()" with the proper type | |
| PASS | Selection interface: getSelection() must inherit property "collapseToEnd()" with the proper type | |
| PASS | Selection interface: getSelection() must inherit property "extend(Node, optional unsigned long)" with the proper type | |
| FAIL | Selection interface: calling extend(Node, optional unsigned long) on getSelection() with too few arguments must throw TypeError | assert_throws_js: Called with 0 arguments function "function() { fn.apply(obj, args); }" did not throw |
| FAIL | Selection interface: getSelection() must inherit property "setBaseAndExtent(Node, unsigned long, Node, unsigned long)" with the proper type | assert_inherits: property "setBaseAndExtent" not found in prototype chain |
| FAIL | Selection interface: calling setBaseAndExtent(Node, unsigned long, Node, unsigned long) on getSelection() with too few arguments must throw TypeError | assert_inherits: property "setBaseAndExtent" not found in prototype chain |
| PASS | Selection interface: getSelection() must inherit property "selectAllChildren(Node)" with the proper type | |
| FAIL | Selection interface: calling selectAllChildren(Node) on getSelection() with too few arguments must throw TypeError | assert_throws_js: Called with 0 arguments function "function() { fn.apply(obj, args); }" did not throw |
| FAIL | Selection interface: getSelection() must inherit property "modify(optional DOMString, optional DOMString, optional DOMString)" with the proper type | assert_inherits: property "modify" not found in prototype chain |
| FAIL | Selection interface: calling modify(optional DOMString, optional DOMString, optional DOMString) on getSelection() with too few arguments must throw TypeError | assert_inherits: property "modify" not found in prototype chain |
| FAIL | Selection interface: getSelection() must inherit property "deleteFromDocument()" with the proper type | assert_inherits: property "deleteFromDocument" not found in prototype chain |
| FAIL | Selection interface: getSelection() must inherit property "containsNode(Node, optional boolean)" with the proper type | assert_inherits: property "containsNode" not found in prototype chain |
| FAIL | Selection interface: calling containsNode(Node, optional boolean) on getSelection() with too few arguments must throw TypeError | assert_inherits: property "containsNode" not found in prototype chain |
| FAIL | HTMLElement interface: attribute onselectstart | assert_true: The prototype object must have a property "onselectstart" expected true got false |
| FAIL | HTMLElement interface: attribute onselectionchange | assert_true: The prototype object must have a property "onselectionchange" expected true got false |
| FAIL | Window interface: operation getSelection() | assert_equals: property has wrong .name expected "getSelection" but got "bound getSelection" |
| FAIL | Window interface: attribute onselectstart | assert_own_property: The global object must have a property "onselectstart" expected property "onselectstart" missing |
| FAIL | Window interface: attribute onselectionchange | assert_own_property: The global object must have a property "onselectionchange" expected property "onselectionchange" missing |
| PASS | Window interface: window must inherit property "getSelection()" with the proper type | |
| FAIL | Window interface: window must inherit property "onselectstart" with the proper type | assert_own_property: expected property "onselectstart" missing |
| FAIL | Window interface: window must inherit property "onselectionchange" with the proper type | assert_own_property: expected property "onselectionchange" missing |
| FAIL | Document interface: operation getSelection() | assert_true: property should be enumerable expected true got false |
| FAIL | Document interface: attribute onselectstart | assert_true: The prototype object must have a property "onselectstart" expected true got false |
| FAIL | Document interface: attribute onselectionchange | assert_true: The prototype object must have a property "onselectionchange" expected true got false |
| PASS | Document interface: document must inherit property "getSelection()" with the proper type | |
| FAIL | Document interface: document must inherit property "onselectstart" with the proper type | assert_inherits: property "onselectstart" not found in prototype chain |
| FAIL | Document interface: document must inherit property "onselectionchange" with the proper type | assert_inherits: property "onselectionchange" not found in prototype chain |
bundle built 2026-07-16T07:16:48.063Z