hasFeature() will always return true even for SVG

Published: | Categories: DOM, SVG


Since Firefox 19, the document.implementation.hasFeature method is returning true except for SVG features. Firefox 51 has removed this exception so that it will ignore the parameters and always return true from now on. Given that Google Chrome is already returning true since the version 44 released in July 2015, the compatibility impact should be minimum.