This change adds the `captureEvents()` and `releaseEvents()` methods to the window object. These methods are obsolete, but are still included in the HTML specification, which says they must do nothing.