enum class SecureContextType
Indicates whether the frame is a secure context and why it is the case.
Official doc