Intent to Implement and Ship: replace() function of DOMTokenList

45 views
Skip to first unread message

TAMURA, Kent

unread,
May 23, 2017, 4:51:49 AM5/23/17
to blink-dev
Contact emails

Spec

Summary
Adding replace(token, newToken) method to DOMTokenList such as element.classList.

Motivation
Improve DOM conformance and interoperability.

Interoperability and Compatibility Risk
The risk is very low.  Adding a new function to an existing interface, and two major browsers already shipped it.

Edge: No signals
Firefox: Shipped
Safari: Shipped
Web developers: No signals

Is this feature fully tested by web-platform-tests?

Ongoing technical constraints
None.

Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes.

OWP launch tracking bug

Link to entry on the feature dashboard

Requesting approval to ship?
Yes.

-- 
TAMURA Kent
Software Engineer, Google


Philip Jägenstedt

unread,
May 23, 2017, 7:55:49 AM5/23/17
to TAMURA, Kent, blink-dev, John....@microsoft.com
LGTM1

This will leave Edge as the last engine to not support replace(), and they'll likely want to prioritize it. Can you file an issue at https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/new/ pointing to this thread and the tests?

(In https://lists.w3.org/Archives/Public/public-test-infra/2017AprJun/thread.html#msg38 +John Jansen wondered if there's any good way to prioritize wpt failures, and this seems like a clear-cut case.)

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAGH7WqGUFvTrxa-cqVxjd-njKSO6kdQQckNfoWveuEfJ05uscQ%40mail.gmail.com.

Jochen Eisinger

unread,
May 30, 2017, 9:18:48 AM5/30/17
to Philip Jägenstedt, TAMURA, Kent, blink-dev, John....@microsoft.com

John Jansen

unread,
May 30, 2017, 11:35:58 AM5/30/17
to Jochen Eisinger, Philip Jägenstedt, TAMURA, Kent, blink-dev

I wish all of the failures in W-P-T were this easy to prioritize 😊

Rick Byers

unread,
May 30, 2017, 12:08:46 PM5/30/17
to John Jansen, Jochen Eisinger, Philip Jägenstedt, TAMURA, Kent, blink-dev

TAMURA, Kent

unread,
Jun 1, 2017, 8:53:20 PM6/1/17
to John Jansen, Jochen Eisinger, Philip Jägenstedt, blink-dev

John Jansen

unread,
Jun 2, 2017, 12:00:20 AM6/2/17
to TAMURA, Kent, Jochen Eisinger, Philip Jägenstedt, blink-dev

Excellent, thanks. It’s assigned to the correct person. I appreciate your comment on the passing status of the other browsers.

Reply all
Reply to author
Forward
0 new messages