Steps to reproduce: (1) Open a tab and navigate to https://outlook.live.com/; (2) Open Devtools and run the following code in the Console: ``` document.getElementsByTagName('svg')[0].getBBox(true); ``` Actual results: This code would be evaluated successfully without throwing any exceptions. Expected results: As https://svgwg.org/svg2-draft/types.html#__svg__SVGGraphicsElement__getBBox says, the getBBox method asks an SVGBoundingBoxOptions type value as its parameter. Checking for the type of param should be added and this code should throw a TypeError exception, like what Firefox does. Firefox: `SVGGraphicsElement.getBBox: Argument 1 can't be converted to a dictionary.`
<rdar://problem/79706355>
SVGGraphicsElement is a new interface which was introduced in SVG2. It was added to WebKit in bug 118178. The current implementation of SVGGraphicsElement.getBBox does not take an optional SVGBoundingBoxOptions argument as the specs state.