Web/API/HTMLObjectElement/checkValidity

From Get docs

The checkValidity() method of the HTMLObjectElement interface returns a Boolean that always is true, because object objects are never candidates for constraint validation.

Syntax

const valid = HTMLObjectElement.checkValidity();

Parameters

None.

Return value

true

Exceptions

None.

Specifications

Specification Status Comment
HTML Living StandardThe definition of 'checkValidity' in that specification. Living Standard Initial definition.

Browser compatibility

Update compatibility data on GitHub

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
checkValidity Chrome

Full support 46

Edge

Full support 12

Firefox

Full support 1

IE

Full support Yes

Opera

Full support Yes

Safari

Full support 6

WebView Android

Full support 46

Chrome Android

Full support 46

Firefox Android

Full support 4

Opera Android

Full support Yes

Safari iOS

Full support Yes

Samsung Internet Android

Full support 5.0

Legend

Full support  
Full support