blob: 083918405de3da60d23d42927ac84855dd6b83d3 [file] [log] [blame]
This is a testharness.js-based test.
Found 106 tests; 102 PASS, 4 FAIL, 0 TIMEOUT, 0 NOTRUN.
PASS Test driver
PASS Partial interface Document: original interface defined
PASS Partial interface Window: original interface defined
PASS Partial interface GlobalEventHandlers: original interface defined
PASS Document interface: operation getSelection()
PASS Unscopable handled correctly for getSelection() on Document
PASS Document interface: attribute onselectstart
PASS Unscopable handled correctly for onselectstart property on Document
PASS Document interface: attribute onselectionchange
PASS Unscopable handled correctly for onselectionchange property on Document
FAIL HTMLElement interface: attribute onselectstart assert_own_property: expected property "onselectstart" missing
PASS Unscopable handled correctly for onselectstart property on HTMLElement
FAIL HTMLElement interface: attribute onselectionchange assert_true: The prototype object must have a property "onselectionchange" expected true got false
PASS Unscopable handled correctly for onselectionchange property on HTMLElement
PASS Window interface: operation getSelection()
PASS Unscopable handled correctly for getSelection() on Window
FAIL Window interface: attribute onselectstart assert_own_property: The global object must have a property "onselectstart" expected property "onselectstart" missing
PASS Unscopable handled correctly for onselectstart property on Window
FAIL Window interface: attribute onselectionchange assert_own_property: The global object must have a property "onselectionchange" expected property "onselectionchange" missing
PASS Unscopable handled correctly for onselectionchange property on Window
PASS WorkerGlobalScope interface: existence and properties of interface object
PASS DedicatedWorkerGlobalScope interface: existence and properties of interface object
PASS SharedWorkerGlobalScope interface: existence and properties of interface object
PASS WorkerNavigator interface: existence and properties of interface object
PASS WorkerLocation interface: existence and properties of interface object
PASS Selection interface: existence and properties of interface object
PASS Selection interface object length
PASS Selection interface object name
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
PASS Selection interface: attribute anchorNode
PASS Unscopable handled correctly for anchorNode property on Selection
PASS Selection interface: attribute anchorOffset
PASS Unscopable handled correctly for anchorOffset property on Selection
PASS Selection interface: attribute focusNode
PASS Unscopable handled correctly for focusNode property on Selection
PASS Selection interface: attribute focusOffset
PASS Unscopable handled correctly for focusOffset property on Selection
PASS Selection interface: attribute isCollapsed
PASS Unscopable handled correctly for isCollapsed property on Selection
PASS Selection interface: attribute rangeCount
PASS Unscopable handled correctly for rangeCount property on Selection
PASS Selection interface: attribute type
PASS Unscopable handled correctly for type property on Selection
PASS Selection interface: operation getRangeAt(unsigned long)
PASS Unscopable handled correctly for getRangeAt(unsigned long) on Selection
PASS Selection interface: operation addRange(Range)
PASS Unscopable handled correctly for addRange(Range) on Selection
PASS Selection interface: operation removeRange(Range)
PASS Unscopable handled correctly for removeRange(Range) on Selection
PASS Selection interface: operation removeAllRanges()
PASS Unscopable handled correctly for removeAllRanges() on Selection
PASS Selection interface: operation empty()
PASS Unscopable handled correctly for empty() on Selection
PASS Selection interface: operation collapse(Node, unsigned long)
PASS Unscopable handled correctly for collapse(Node, unsigned long) on Selection
PASS Selection interface: operation setPosition(Node, unsigned long)
PASS Unscopable handled correctly for setPosition(Node, unsigned long) on Selection
PASS Selection interface: operation collapseToStart()
PASS Unscopable handled correctly for collapseToStart() on Selection
PASS Selection interface: operation collapseToEnd()
PASS Unscopable handled correctly for collapseToEnd() on Selection
PASS Selection interface: operation extend(Node, unsigned long)
PASS Unscopable handled correctly for extend(Node, unsigned long) on Selection
PASS Selection interface: operation setBaseAndExtent(Node, unsigned long, Node, unsigned long)
PASS Unscopable handled correctly for setBaseAndExtent(Node, unsigned long, Node, unsigned long) on Selection
PASS Selection interface: operation selectAllChildren(Node)
PASS Unscopable handled correctly for selectAllChildren(Node) on Selection
PASS Selection interface: operation deleteFromDocument()
PASS Unscopable handled correctly for deleteFromDocument() on Selection
PASS Selection interface: operation containsNode(Node, boolean)
PASS Unscopable handled correctly for containsNode(Node, boolean) on Selection
PASS Selection interface: stringifier
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
PASS Selection interface: getSelection() must inherit property "getRangeAt(unsigned long)" with the proper type
PASS Selection interface: calling getRangeAt(unsigned long) on getSelection() with too few arguments must throw TypeError
PASS Selection interface: getSelection() must inherit property "addRange(Range)" with the proper type
PASS Selection interface: calling addRange(Range) on getSelection() with too few arguments must throw TypeError
PASS Selection interface: getSelection() must inherit property "removeRange(Range)" with the proper type
PASS Selection interface: calling removeRange(Range) on getSelection() with too few arguments must throw TypeError
PASS Selection interface: getSelection() must inherit property "removeAllRanges()" with the proper type
PASS Selection interface: getSelection() must inherit property "empty()" with the proper type
PASS Selection interface: getSelection() must inherit property "collapse(Node, unsigned long)" with the proper type
PASS Selection interface: calling collapse(Node, unsigned long) on getSelection() with too few arguments must throw TypeError
PASS Selection interface: getSelection() must inherit property "setPosition(Node, unsigned long)" with the proper type
PASS Selection interface: calling setPosition(Node, unsigned long) on getSelection() with too few arguments must throw TypeError
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, unsigned long)" with the proper type
PASS Selection interface: calling extend(Node, unsigned long) on getSelection() with too few arguments must throw TypeError
PASS Selection interface: getSelection() must inherit property "setBaseAndExtent(Node, unsigned long, Node, unsigned long)" with the proper type
PASS Selection interface: calling setBaseAndExtent(Node, unsigned long, Node, unsigned long) on getSelection() with too few arguments must throw TypeError
PASS Selection interface: getSelection() must inherit property "selectAllChildren(Node)" with the proper type
PASS Selection interface: calling selectAllChildren(Node) on getSelection() with too few arguments must throw TypeError
PASS Selection interface: getSelection() must inherit property "deleteFromDocument()" with the proper type
PASS Selection interface: getSelection() must inherit property "containsNode(Node, boolean)" with the proper type
PASS Selection interface: calling containsNode(Node, boolean) on getSelection() with too few arguments must throw TypeError
Harness: the test ran to completion.