The API is just a state which is attached to Document. Thus could be supplementable.
Using 'searchfox.org', I could only found two references to 'PAGE_VISIBIlITY_API' and both of them in 'inspector' related Layout Tests. Do we know what it is required further here or we can close this?