diff --git a/source b/source index 82d29604dcc..064ece0a338 100644 --- a/source +++ b/source @@ -28376,7 +28376,7 @@ was an English <a href="/wiki/Music_hall">music hall</a> singer, ...The resource obtained in this fashion, if any, is image request's image data. It can be either CORS-same-origin or - CORS-cross-origin; this affects the origin of the image itself (e.g. + CORS-cross-origin; this affects the image's interaction with other APIs (e.g., when used on a canvas).

@@ -29123,8 +29123,8 @@ was an English <a href="/wiki/Music_hall">music hall</a> singer, ...

Otherwise, response's unsafe response is image request's image data. It can be either - CORS-same-origin or CORS-cross-origin; this affects the - origin of the image itself (e.g., when used on a canvas).

+ CORS-same-origin or CORS-cross-origin; this affects the image's + interaction with other APIs (e.g., when used on a canvas).

@@ -63118,16 +63118,18 @@ try { object's bitmap image data must be used as the source image.

An object image is not - origin-clean if, switching on image:

+ origin-clean if, switching on image's type:

HTMLOrSVGImageElement +

image's current request's image + data is CORS-cross-origin.

+
HTMLVideoElement -

image's origin is not same origin with entry - settings object's origin.

+

image's media data is CORS-cross-origin.

HTMLCanvasElement -
ImageBitMap +
ImageBitmap

image's bitmap's origin-clean flag is false.

@@ -81123,6 +81125,8 @@ interface BarProp { data-x="concept-origin-tuple">tuple origin can be changed, and only through the document.domain API.

+
+

The effective domain of an origin origin is computed as follows:

@@ -81136,55 +81140,6 @@ interface BarProp {
  • Return origin's host.

  • -
    - -

    Various specification objects are defined to have an origin. These origins are determined as follows:

    - -
    -
    For images of img elements
    - -
    -
    - -
    If the image data is CORS-cross-origin
    - -

    A unique opaque origin assigned when the - image is created.

    - - -
    If the image data is CORS-same-origin
    - -

    The img element's node document's origin.

    -
    -
    - - -
    For audio and video elements
    - -
    -
    - -
    If the media data is CORS-cross-origin
    - -

    A unique opaque origin assigned when the - media data is fetched.

    - - -
    If the media data is CORS-same-origin
    - -

    The media element's node document's origin.

    -
    -
    -
    - -

    Other specifications can override the above definitions by themselves specifying the origin of - a particular image or media element.

    - -
    -

    The serialization of an origin is the string obtained by applying the following algorithm to the given origin origin:

    @@ -81209,10 +81164,14 @@ interface BarProp {
  • Return result.

  • +
    +

    The serialization of ("https", "xn--maraa-rta.example", null, null) is "https://xn--maraa-rta.example".

    +
    +

    There used to also be a Unicode serialization of an origin. However, it was never widely adopted.

    @@ -81257,6 +81216,8 @@ interface BarProp {
  • Return false.

  • +
    +
    @@ -81306,6 +81267,8 @@ interface BarProp {

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

    +
    +

    To obtain a site, given an origin origin, run these steps:

      @@ -81361,6 +81324,8 @@ interface BarProp { scheme

      +
    +

    Unlike the same origin and same origin-domain concepts, for schemelessly same site and same site, the port and domain @@ -81428,8 +81393,6 @@ interface BarProp { data-x="concept-origin-domain">domain components since they are not considered.)

    - -

    Relaxing the same-origin restriction

    @@ -96022,9 +95985,7 @@ dictionary ImageBitmapOptions { is not supported or is disabled), or, if there is no such image, the first frame of the animation.

    -
  • If the origin of image's image is not same origin - with entry settings object's origin, then set the

    If image is not origin-clean, then set the origin-clean flag of imageBitmap's bitmap to false.

  • @@ -96053,9 +96014,7 @@ dictionary ImageBitmapOptions { after any aspect-ratio correction has been applied), cropped to the source rectangle with formatting.

    -
  • If the origin of image's video is not same origin - with entry settings object's origin, then set the

    If image is not origin-clean, then set the origin-clean flag of imageBitmap's bitmap to false.