Steps to reproduce
A proposed change to the specification for DOMTokenList’s replace() method which would make it return a boolean - indicating true if a token was replaced and false otherwise - has received positive responses from implementers.
Pull request and discussion: https://github.com/whatwg/dom/pull/582
Comments and activity
- Microsoft Edge Team
Changed Assigned To to “Steven K.”
Changed Assigned To to “Travis L.”
Changed Title from “Return boolean from DOMTokenList's replace() method” to “Return boolean from DOMTokenList's replace() method”
Changed Assigned To from “Travis L.” to “Nishant S.”
Changed Status to “Confirmed”
Changed Assigned To from “Nishant S.” to “Andrii S.”
Changed Status from “Confirmed” to “Fixed”
Our implementation has been updated to match the latest spec and return a boolean. Thanks for reporting this!