GO-V.ORG
As seen in

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

6 results across 6 corpora for NotRestoredReasonDetails.

Developer library 6

NotRestoredReasons

name="bar" src="...">`). If the document is not in an `<iframe>` or the `<iframe>` has no `name` set, `name` will return `null`. - reasons - : An array of NotRestoredReasonDetails objects, each representing a reason why the navigated page was blocked from using the bfcache. If the document is in a cross-origin `<iframe>`, `reasons` will return `null`, but the parent document may show a `reason` of `"masked"` if

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/NotRestoredReasons

NotRestoredReasons: toJSON() method

value is copied as-is. When the returned object is passed to JSON.stringify(), the objects in the `reasons` and `children` arrays are further serialized using NotRestoredReasonDetails.toJSON() and `NotRestoredReasons.toJSON()`, respectively, when the arrays are not `null`. ## Examples ### Calling toJSON() directly This example obtains a `NotRestoredReasons` object from the first navigation entry. Calling `toJSON(

NotRestoredReasons: reasons property

Performance API The **`reasons`** read-only property of the NotRestoredReasons interface returns an array of NotRestoredReasonDetails objects, each representing a reason why the navigated page was blocked from using the back/forward cache (bfcache). ## Value An array of NotRestoredReasonDetails objects. See [Blocking reasons](/docs/Web/API/Performance_API/Monitoring_bfcache_blocking_reasons#blocking_reasons) for a

NotRestoredReasonDetails

Performance API The **`NotRestoredReasonDetails`** interface of the Performance API represents a single reason why a navigated page was blocked from using the back/forward cache (bfcache). An array of `NotRestoredReasonDetails` objects can be accessed via the NotRestoredReasons.reasons property. ## Instance properties - reason - : A string describing a reason that the page was blocked from using the back/forw

NotRestoredReasonDetails: toJSON() method

Performance API The **`toJSON()`** method of the NotRestoredReasonDetails interface returns a JSON-serializable plain object representing the `NotRestoredReasonDetails` object. The method is automatically called by JSON.stringify() when a `NotRestoredReasonDetails` object is encountered during [JSON](/docs/Glossary/JSON) serialization. ## Syntax ```js-nolint toJSON() ``` ### Parameters None. ### Return value

NotRestoredReasonDetails: reason property

Performance API The **`reason`** read-only property of the NotRestoredReasonDetails interface returns a string describing a reason that the page was blocked from using the back/forward cache (bfcache). ## Value A string. There are many different reasons why blocking could occur, and browsers can choose to implement their own specific reasons for blocking, based on how they operate. Developers should avoid dependi

JSON results · Services directory