The addEventListener(type, callback, options) method steps are:

  1. Let capture, , , and be the result of options.

  2. with and an whose is , is , is capture, is , is , and is .