Expose ValidityState on the global Window object