Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This CL adds WPTs for removing steps, to ensure that script is never executed during the removing steps hook [1], which are invoked synchronously during per-node removal (that is, they are not batched, but run this way per-node). This CL: 1. Augments the existing iframe removing steps WPT, to include `pagehide` events. At the time of writing this, all browsers deviate from the HTML Standard, and fail this test. 2. Adds new tests for `<input>` and `<button>` to assert that when they are focused and subsequently removed from the DOM, the `blur` event is *not* fired, per the HTML Standard. Chromium fails this test, while Safari and Firefox pass it. [1]: https://dom.spec.whatwg.org/#concept-node-remove-ext Bug: 40150299 Change-Id: I0aa43755ccac8ea432056800c5c4167d8e4460e8
- Loading branch information