From 1cd6630ec58b50803482e8a91b91419fca3a68e0 Mon Sep 17 00:00:00 2001 From: npm1 Date: Thu, 25 Apr 2019 11:41:25 -0400 Subject: [PATCH] Replace RangeErrors with TypeErrors --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 8779e3e..8b4738a 100644 --- a/index.html +++ b/index.html @@ -316,7 +316,7 @@

The PerformanceMark Constructor

  • If markOptions's startTime member is present, then:
      -
    1. If markOptions's startTime is negative, throw a RangeError.
    2. +
    3. If markOptions's startTime is negative, throw a TypeError.
    4. Otherwise, set entry's startTime to the value of markOptions's startTime.
  • @@ -362,7 +362,7 @@

    Convert a mark to a timestamp

  • Otherwise, if mark is a DOMHighResTimeStamp:
      -
    1. If mark is negative, throw a RangeError.
    2. +
    3. If mark is negative, throw a TypeError.
    4. Otherwise, let end time be mark.