diff --git a/index.html b/index.html index 9a8750b..ed44be5 100644 --- a/index.html +++ b/index.html @@ -244,22 +244,23 @@

measure() method

  • Create a new PerformanceMeasure object (entry).
  • -
  • Set entry's name attribute to measureName.
  • -
  • Set entry's entryType attribute to DOMString "measure".
  • -
  • Set entry's startTime attribute to start time.
  • +
  • Set entry's name attribute to measureName.
  • +
  • Set entry's entryType attribute to DOMString "measure".
  • +
  • Set entry's startTime attribute to start time.
  • Set entry's duration attribute to the duration from start time to end time. The resulting duration value MAY be negative.
  • - Set entry's detail attribute as follows: -
      -
    1. If startOrMeasureOptions is a PerformanceMeasureOptions object:
    2. + Set entry's detail attribute as follows: +
        +
      1. If startOrMeasureOptions is a PerformanceMeasureOptions object:
        1. Let record be the result of calling the StructuredSerialize algorithm on startOrMeasureOptions's detail.
        2. Set entry's detail to the result of calling the StructuredDeserialize algorithm on record and the current realm.
        -
      2. Otherwise, set it to null.
      3. -
      - -
    3. Queue entry.
    4. + +
    5. Otherwise, set it to null.
    6. +
    +
  • +
  • Queue entry.
  • Add entry to the performance entry buffer.
  • Return entry.