Window: isSecureContext property
The isSecureContext
read-only property of the Window
interface returns a boolean indicating whether the current context is secure (true
) or not (false
).
Value
A boolean.
Window
caches
closed
cookieStore
credentialless
Experimental
crossOriginIsolated
crypto
customElements
devicePixelRatio
document
documentPictureInPicture
Experimental
event
Deprecated
external
Deprecated
fence
Experimental
frameElement
frames
fullScreen
Non-standard
history
indexedDB
innerHeight
innerWidth
isSecureContext
launchQueue
Experimental
length
localStorage
location
locationbar
menubar
mozInnerScreenX
Non-standard
mozInnerScreenY
Non-standard
name
navigation
Experimental
navigator
opener
orientation
Deprecated
origin
originAgentCluster
Experimental
outerHeight
outerWidth
parent
performance
personalbar
scheduler
screen
screenLeft
screenTop
screenX
screenY
scrollbars
scrollMaxX
Non-standard
scrollMaxY
Non-standard
scrollX
scrollY
self
sessionStorage
sharedStorage
Experimental
speechSynthesis
status
Deprecated
statusbar
toolbar
top
trustedTypes
visualViewport
window
alert()
atob()
back()
Non-standard
Deprecated
blur()
Deprecated
btoa()
cancelAnimationFrame()
cancelIdleCallback()
captureEvents()
Deprecated
clearImmediate()
Non-standard
Deprecated
clearInterval()
clearTimeout()
close()
confirm()
createImageBitmap()
dump()
Non-standard
fetch()
find()
Non-standard
focus()
forward()
Non-standard
Deprecated
getComputedStyle()
getDefaultComputedStyle()
Non-standard
getScreenDetails()
Experimental
getSelection()
matchMedia()
moveBy()
moveTo()
open()
postMessage()
print()
prompt()
queryLocalFonts()
Experimental
queueMicrotask()
releaseEvents()
Deprecated
reportError()
requestAnimationFrame()
requestFileSystem()
Non-standard
Deprecated
requestIdleCallback()
resizeBy()
resizeTo()
scroll()
scrollBy()
scrollByLines()
Non-standard
scrollByPages()
Non-standard
scrollTo()
setImmediate()
Non-standard
Deprecated
setInterval()
setResizable()
Non-standard
Deprecated
setTimeout()
showDirectoryPicker()
Experimental
showModalDialog()
Non-standard
Deprecated
showOpenFilePicker()
Experimental
showSaveFilePicker()
Experimental
sizeToContent()
Non-standard
stop()
structuredClone()
webkitConvertPointFromNodeToPage()
Non-standard
Deprecated
webkitConvertPointFromPageToNode()
Non-standard
Deprecated
afterprint
appinstalled
beforeinstallprompt
beforeprint
beforeunload
blur
copy
cut
devicemotion
deviceorientation
deviceorientationabsolute
error
focus
gamepadconnected
gamepaddisconnected
hashchange
languagechange
load
message
messageerror
offline
online
orientationchange
Deprecated
pagehide
pagereveal
pageshow
pageswap
paste
popstate
rejectionhandled
resize
scrollsnapchange
Experimental
scrollsnapchanging
Experimental
storage
unhandledrejection
unload
Deprecated
vrdisplayactivate
Non-standard
Deprecated
vrdisplayconnect
Non-standard
Deprecated
vrdisplaydeactivate
Non-standard
Deprecated
vrdisplaydisconnect
Non-standard
Deprecated
vrdisplaypresentchange
Non-standard
Deprecated
AbortController
AbortSignal
AbstractRange
Attr
CDATASection
CharacterData
Comment
CustomEvent
DOMError
Deprecated
DOMException
DOMImplementation
DOMParser
DOMPoint
DOMPointReadOnly
DOMRect
DOMTokenList
Document
DocumentFragment
DocumentType
Element
Event
EventTarget
HTMLCollection
MutationObserver
MutationRecord
NamedNodeMap
Node
NodeIterator
NodeList
ProcessingInstruction
Range
StaticRange
Text
TextDecoder
TextEncoder
TimeRanges
TreeWalker
XMLDocument
The isSecureContext
read-only property of the Window
interface returns a boolean indicating whether the current context is secure (true
) or not (false
).
A boolean.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2024 by individual mozilla.org contributors. Content available under a Creative Commons license.