From 3d911ba443ec3438a3a49711432bec21e147b5de Mon Sep 17 00:00:00 2001 From: Ian Clelland Date: Wed, 27 Sep 2023 15:22:46 -0400 Subject: [PATCH 1/2] Remove unnecessary fields and URL parts --- index.html | 104 +++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 73 insertions(+), 31 deletions(-) diff --git a/index.html b/index.html index b889de2..4f46da1 100644 --- a/index.html +++ b/index.html @@ -249,8 +249,10 @@

Dependencies

The following terms are defined in the URL specification: [[URL]]

@@ -1089,21 +1091,48 @@

Extract response headers

following properties: [[ECMA-262]]
-
referrer
+
sampling_fraction
+
sampling rate
+ +
elapsed_time
- request's referrer, as determined by the referrer - policy associated with its client. + The elapsed number of milliseconds between the start of the resource + fetch and when it was completed or aborted by the user agent.
-
sampling_fraction
-
sampling rate
+
phase
+
+ If request failed, the + phase of its network error. If + request succeeded, "application". +
+ +
type
+
+ If request failed, the type of its + network error. If request succeeded, + "ok". +
+
+ +
  • + If report body's phase property is not + dns, append the following properties to report + body:
    server_ip
    -
    The IP address of the server to which the user agent sent the request, if available. Otherwise, an empty string. -
      -
    • A host identified by an IPv4 address is represented in dotted-decimal notation (a sequence of four decimal numbers in the range 0 to 255, separated by "."). [[RFC1123]]
    • -
    • A host identified by an IPv6 address is represented as an ordered list of eight 16-bit pieces (a sequence of `x:x:x:x:x:x:x:x`, where the 'x's are one to four hexadecimal digits of the eight 16-bit pieces of the address). [[RFC4291]]
    • -
    +
    The IP address of the server to which the user agent sent + the request, if available. Otherwise, an empty string. +
      +
    • A host identified by an IPv4 address is represented in + dotted-decimal notation (a sequence of four decimal numbers in + the range 0 to 255, separated by "."). [[RFC1123]]
    • +
    • A host identified by an IPv6 address is represented as an + ordered list of eight 16-bit pieces (a sequence of + `x:x:x:x:x:x:x:x`, where the 'x's are one to four hexadecimal + digits of the eight 16-bit pieces of the address). [[RFC4291]] +
    • +
    protocol
    @@ -1112,6 +1141,18 @@

    Extract response headers

    identified by the ALPN Protocol ID, if available. Otherwise, "". + +
  • + +
  • + If report body's phase property is not + dns or connection, append the following + properties to report body: +
    referrer
    +
    + request's referrer, as determined by the referrer + policy associated with its client. +
    method
    request's request method.
    @@ -1133,26 +1174,6 @@

    Extract response headers

    The status code of the HTTP response, if available. Otherwise, 0. - -
    elapsed_time
    -
    - The elapsed number of milliseconds between the start of the resource - fetch and when it was completed or aborted by the user agent. -
    - -
    phase
    -
    - If request failed, the - phase of its network error. If - request succeeded, "application". -
    - -
    type
    -
    - If request failed, the type of its - network error. If request succeeded, - "ok". -
  • @@ -1236,6 +1257,22 @@

    Extract response headers

      +
    1. +

      Let url be request's URL.

      +
    2. +
    3. +

      Clear url's fragment.

      +
    4. +
    5. +

      + If report body's phase property is + dns or connection:

      +
        +
      1. +

        Clear url's path and query.

        +
      2. +
      +
    6. Generate a network report given these parameters:

      @@ -1246,8 +1283,13 @@

      Extract response headers

      report body
      endpoint group
      policy's reporting group
      +
      url
      +
      The result of running the URL serializer on + url. +
    7. +
    From 61df9cbe342d0e3558b66edbf625ae9fbfe7240a Mon Sep 17 00:00:00 2001 From: Ian Clelland Date: Wed, 27 Sep 2023 17:11:30 -0400 Subject: [PATCH 2/2] Fix broken markup --- index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.html b/index.html index 4f46da1..a740d62 100644 --- a/index.html +++ b/index.html @@ -1120,6 +1120,7 @@

    Extract response headers

    If report body's phase property is not dns, append the following properties to report body: +
    server_ip
    The IP address of the server to which the user agent sent the request, if available. Otherwise, an empty string. @@ -1148,6 +1149,7 @@

    Extract response headers

    If report body's phase property is not dns or connection, append the following properties to report body: +
    referrer
    request's referrer, as determined by the referrer