diff --git a/source b/source index 0d2eddabb0a..0a38587f355 100644 --- a/source +++ b/source @@ -84522,8 +84522,9 @@ interface BarProp {

Sites

-

A scheme-and-host is a tuple of an ASCII string and a - host.

+

A scheme-and-host is a tuple of a scheme (an ASCII string) and a host (a host).

A site is an opaque origin or a scheme-and-host.

@@ -84546,6 +84547,28 @@ interface BarProp { domain).

+

Two sites, A and B, are said to be same site if the following algorithm + returns true:

+ +
    +
  1. If A and B are the same opaque + origin, the return true.

  2. + +
  3. If A or B is an opaque + origin, then return false.

  4. + +
  5. If A's and B's scheme values are different, then return + false.

  6. + +
  7. If A's and B's host values are not equal, then return false.

  8. + +
  9. Return true.

  10. +
+

The serialization of a site is the string obtained by applying the following algorithm to the given site site:

@@ -84598,15 +84621,20 @@ interface BarProp {

Two origins, A and B, are said to be same site if both of the following statements are true:

+ export>same site if the following algorithm returns true:

- +
  • Let siteB be the result of obtaining a site + given B.

  • + +
  • If siteA is same site with + siteB, then return true.

  • + +
  • Return false.

  • +