Although not an official part of the spec, and not the most useful function in the world, this method is fully supported by all modern browsers and I believe it would make sense for FF to have the same.
MDN: https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoViewIfNeeded