Back to Content

NotRestoredReasons: name property

files/en-us/web/api/notrestoredreasons/name/index.md

latest836 B
Original Source

{{APIRef("Performance API")}}{{SeeCompatTable}}

The name read-only property of the {{domxref("NotRestoredReasons")}} interface returns a string representing the name attribute value of the {{htmlelement("iframe")}} the document is contained in (for example <iframe name="bar" src="...">).

Value

A string.

If the document is not in an <iframe> or the <iframe> has no name set, name will return null.

Examples

See Monitoring bfcache blocking reasons for examples.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also