DOMTokenList.contains() should not throw if the input token is invalid: https://github.com/whatwg/dom/commit/6d3076e3cbcba662489b272a718bc6b8c0082a74
First updating web-platform-tests via: https://github.com/w3c/web-platform-tests/pull/2809
Created attachment 276107 [details] Patch
Comment on attachment 276107 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=276107&action=review > LayoutTests/imported/w3c/ChangeLog:8 > + Re-sync dom/nodes/Element-classlist.html with upstream. Could you add the git hash to which you're synced?
Committed r199296: <http://trac.webkit.org/changeset/199296>