use-ownerGlobal =============== Require ``.ownerGlobal`` instead of ``.ownerDocument.defaultView``. Examples of incorrect code for this rule: ----------------------------------------- .. code-block:: js aEvent.target.ownerDocument.defaultView; this.DOMPointNode.ownerDocument.defaultView.getSelection(); Examples of correct code for this rule: --------------------------------------- .. code-block:: js aEvent.target.ownerGlobal; this.DOMPointNode.ownerGlobal.getSelection();