diff --git a/source b/source index 3338bb1f8f0..86735d9eddd 100644 --- a/source +++ b/source @@ -6944,24 +6944,24 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute URL record obtained by running these steps:

    -
  1. If document is an iframe srcdoc document, then return document's - container document's document base - URL.

  2. -
  3. - +

    If document is an iframe + srcdoc document, then:

    - +
      +
    1. Assert: document's about base URL is non-null.

    2. -

      If document's URL is - about:blank, and document's browsing - context's creator base URL is non-null, then return that creator base - URL.

      +
    3. Return document's about base + URL.

    4. +
  4. +
  5. If document's URL is + about:blank and document's about base URL is non-null, then return + document's about base URL.

  6. +
  7. Return document's URL.

  8. @@ -10585,6 +10585,12 @@ partial interface Document {

    Each Document has a navigation id, which is a navigation ID or null, initially null.

    +

    Each Document has an about base + URL, which is a URL or null, initially null.

    + +

    This is only populated for "about:"-schemed + Documents.

    +

    The DocumentOrShadowRoot interface

    DOM defines the navigable target name

    targetName
    + +
    about base URL
    +
    document's about base + URL
    @@ -93351,6 +93361,10 @@ interface BeforeUnloadEvent : Event {
    navigable target name
    targetName
    + +
    about base URL
    +
    document's about base + URL
    @@ -94012,9 +94026,6 @@ interface BeforeUnloadEvent : Event {
  9. An initial URL, a URL or null, initially null.

  10. -
  11. A creator base URL, null or an algorithm that returns a URL, - initially null.

  12. -
  13. A virtual browsing context group ID integer, initially 0. This is used by cross-origin opener policy reporting, to keep track of the browsing context group switches that would @@ -94088,6 +94099,8 @@ interface BeforeUnloadEvent : Event {

  14. Let creatorOrigin be null.

    +
  15. Let creatorBaseURL be null.

  16. +
  17. If creator is non-null, then:

    @@ -94095,8 +94108,8 @@ interface BeforeUnloadEvent : Event {
  18. Set creatorOrigin to creator's origin.

  19. -
  20. Set browsingContext's creator base URL to an algorithm which - returns creator's base URL.

  21. +
  22. Set creatorBaseURL to creator's document base + URL.

  23. Set browsingContext's virtual browsing context group ID to @@ -94109,10 +94122,6 @@ interface BeforeUnloadEvent : Event {

  24. Let sandboxFlags be the result of determining the creation sandboxing flags given browsingContext and embedder.

  25. -
  26. Let origin be the result of determining the origin given about:blank, sandboxFlags, creatorOrigin, and null.

  27. @@ -94186,6 +94195,9 @@ interface BeforeUnloadEvent : Event {
    is initial about:blank
    true
    + +
    about base URL
    +
    creatorBaseURL
    @@ -94865,6 +94877,16 @@ interface BeforeUnloadEvent : Event { data-x="document-state-nav-target-name">navigable target name is cleared.

    +
  28. +

    An about base URL, which is a + URL or null, initially null.

    + +

    This will be populated only for "about:"-schemed + Documents and will be the fallback base URL for those + Documents. It is a snapshot of the initiator Document's document + base URL.

    +
  29. +
  30. Nested histories, a list of nested histories, initially an empty list.

  31. @@ -95587,6 +95609,10 @@ location.href = '#foo';
    navigation timing type
    a NavigationTimingType used for creating the navigation timing entry for the new Document
    + +
    about base URL
    +
    a URL or null used to populate the new Document's about base URL

    Once a navigation params struct is created, this standard does not @@ -95721,6 +95747,9 @@ location.href = '#foo';

  32. Let initiatorOriginSnapshot be sourceDocument's origin.

  33. +
  34. Let initiatorBaseURLSnapshot be sourceDocument's document base + URL.

  35. + -
  36. If url is about:blank, then set documentState's origin to documentState's initiator origin.

  37. +
  38. +

    If url is about:blank or about:srcdoc, then:

    -
  39. Otherwise, if url is about:srcdoc, then set - documentState's origin to - navigable's parent's active document's origin.

  40. +
      +
    1. Set documentState's origin to + initiatorOriginSnapshot.

    2. + +
    3. Set documentState's about base + URL to initiatorBaseURLSnapshot.

    4. +
    +
  41. Let historyEntry be a new session history entry, with its URL set to url and its

    navigation timing type
    "navigate"
    + +
    about base URL
    +
    documentState's about base + URL
@@ -96306,6 +96340,10 @@ location.href = '#foo';
origin
initiatorOriginSnapshot
+
about base URL
+
oldDocState's about base + URL
+
resource
null
@@ -96476,6 +96514,10 @@ location.href = '#foo';
navigation timing type
"navigate"
+ +
about base URL
+
targetNavigable's active document's about base URL
@@ -97778,6 +97820,10 @@ location.href = '#foo';
navigation timing type
navTimingType
+ +
about base URL
+
entry's document state's about base URL
@@ -98177,6 +98223,9 @@ location.href = '#foo';
origin
oldDocState's origin
+
about base URL
+
oldDocState's about base URL
+
resource
oldDocState's resource
@@ -98398,6 +98447,10 @@ location.href = '#foo';
navigation timing type
navTimingType
+ +
about base URL
+
entry's document state's about base URL
@@ -100030,6 +100083,9 @@ location.href = '#foo';
current document readiness
"loading"
+ +
about base URL
+
navigationParams's about base URL
@@ -100503,6 +100559,9 @@ new PaymentRequest(…); // Allowed to use
navigation timing type
navTimingType
+ +
about base URL
+
null