diff --git a/source b/source index 8d94ff454c8..0863c32b107 100644 --- a/source +++ b/source @@ -86412,8 +86412,8 @@ interface History { methods that are invoked on a timer, or from event listeners that are not triggered in response to a clear user action, or that are invoked in rapid succession.)
-Let serializedData be ? - StructuredSerializeForStorage(data).
Let serializedData be + StructuredSerializeForStorage(data). Rethrow any exceptions.
Let newURL be document's URL.
serialized state, which is serialized - state or null, initially null.
scroll restoration mode, a scroll
restoration mode, initially " For the URL, we do not use
@@ -90186,9 +90183,6 @@ location.href = '#foo';
Assert: locationURL is a URL.
Set entry's serialized state to - null.
Let oldDocState be entry's document state.
If targetEntry's document's origin is not oldOrigin, then set targetEntry's serialized state to - null.
+ StructuredSerializeForStorage(null).This clears history state when the origin changed vs a previous load of targetEntry without a redirect occuring. This can happen due to a change in CSP @@ -92696,12 +92690,9 @@ location.href = '#foo';
Let targetRealm be document's relevant realm.
Let state be null.
If entry's serialized state is not
- null, then set state to StructuredDeserialize(entry's Let state be StructuredDeserialize(entry's serialized state, targetRealm). If this throws
- an exception, catch it and ignore the exception.
Set document's history object's state to state.