diff --git a/index.html b/index.html index 69941a3..75c7981 100644 --- a/index.html +++ b/index.html @@ -617,6 +617,9 @@

The unobserve() method

  • [=map/Remove=] |this|.{{PressureObserver/[[LastRecordMap]]}}[|source|].
  • +
  • + [=map/Remove=] |this|.{{PressureObserver/[[AfterPenaltyRecordMap]]}}[|source|]. +
  • [=list/For each=] (|promiseSource|, |pendingPromise|) of [=this=].{{PressureObserver/[[PendingObservePromises]]}}, if |source| is equal to |promiseSource|, [=reject=] |pendingPromise| with an {{AbortError}}. @@ -646,6 +649,9 @@

    The disconnect() method

  • [=map/Clear=] |this|.{{PressureObserver/[[LastRecordMap]]}}.
  • +
  • + [=map/Clear=] |this|.{{PressureObserver/[[AfterPenaltyRecordMap]]}}. +
  • [=list/For each=] (|promiseSource|, |pendingPromise|) of [=this=].{{PressureObserver/[[PendingObservePromises]]}}, [=reject=] |pendingPromise| with an {{AbortError}}. @@ -1051,9 +1057,15 @@

    Data delivery

    and {{PressureRecord/[[Time]]}} set to |timestamp|.
  • - If |observer|.{{PressureObserver/[[AfterPenaltyRecordMap]]}}[source] exists, - set observer.{{PressureObserver/[[AfterPenaltyRecordMap]]}}[source] to |record| - and [=iteration/continue=]. + If |observer|.{{PressureObserver/[[AfterPenaltyRecordMap]]}}[source] [=map/exists]: +
      +
    1. + Set |observer|.{{PressureObserver/[[AfterPenaltyRecordMap]]}}[|source|] to |record|. +
    2. +
    3. + [=iteration/Continue=]. +
    4. +
  • If running [=passes rate obfuscation test=] with |observer| and |source| returns false: @@ -1061,14 +1073,25 @@

    Data delivery

  • Set |observer|.{{PressureObserver/[[AfterPenaltyRecordMap]]}}[|source|] to |record|.
  • +
  • + Set |observer|.{{PressureObserver/[[ChangesCountMap]]}}[|source|] to 0. +
  • Create timer of |observer|.{{PressureObserver/[[PenaltyDuration]]}} duration with the following callback:
    1. - Let |record| be the result of taking |observer|.{{PressureObserver/[[AfterPenaltyRecordMap]]}}[|source|]. -
    2. -
    3. - Run [=queue a record=] with |observer|, |source|, |record|. + If |observer|.{{PressureObserver/[[AfterPenaltyRecordMap]]}}[source] [=map/exists]: +
        +
      1. + Let |record| be |observer|.{{PressureObserver/[[AfterPenaltyRecordMap]]}}[|source|]. +
      2. +
      3. + [=map/Remove=] |observer|.{{PressureObserver/[[AfterPenaltyRecordMap]]}}[|source|]. +
      4. +
      5. + Run [=queue a record=] with |observer|, |source|, |record|. +
      6. +