According to the latest spec https://w3c.github.io/performance-timeline/#observe-method, TypeError should be thrown, however we throw SyntaxError. Differential Revision: https://phabricator.services.mozilla.com/D106669