Skip to content

Commit

Permalink
Update deprecation version
Browse files Browse the repository at this point in the history
  • Loading branch information
armanbilge committed Sep 26, 2023
1 parent ce8678d commit b2d400b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions api-reports/2_12.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15766,8 +15766,8 @@ Performance[JC] def clearResourceTimings(): Unit
Performance[JC] def getEntries(): js.Array[PerformanceEntry]
Performance[JC] def getEntriesByName(name: String, `type`: String?): js.Array[PerformanceEntry]
Performance[JC] def getEntriesByType(entryType: String): js.Array[PerformanceEntry]
Performance[JC] def getMarks(markName: String?): js.Dynamic (@deprecated in 2.4.0)
Performance[JC] def getMeasures(measureName: String?): js.Dynamic (@deprecated in 2.4.0)
Performance[JC] def getMarks(markName: String?): js.Dynamic (@deprecated in 2.8.0)
Performance[JC] def getMeasures(measureName: String?): js.Dynamic (@deprecated in 2.8.0)
Performance[JC] def mark(markName: String): PerformanceMark
Performance[JC] def measure(measureName: String, startMarkName: String?, endMarkName: String?): PerformanceMeasure
Performance[JC] def navigation: PerformanceNavigation
Expand Down
4 changes: 2 additions & 2 deletions api-reports/2_13.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15766,8 +15766,8 @@ Performance[JC] def clearResourceTimings(): Unit
Performance[JC] def getEntries(): js.Array[PerformanceEntry]
Performance[JC] def getEntriesByName(name: String, `type`: String?): js.Array[PerformanceEntry]
Performance[JC] def getEntriesByType(entryType: String): js.Array[PerformanceEntry]
Performance[JC] def getMarks(markName: String?): js.Dynamic (@deprecated in 2.4.0)
Performance[JC] def getMeasures(measureName: String?): js.Dynamic (@deprecated in 2.4.0)
Performance[JC] def getMarks(markName: String?): js.Dynamic (@deprecated in 2.8.0)
Performance[JC] def getMeasures(measureName: String?): js.Dynamic (@deprecated in 2.8.0)
Performance[JC] def mark(markName: String): PerformanceMark
Performance[JC] def measure(measureName: String, startMarkName: String?, endMarkName: String?): PerformanceMeasure
Performance[JC] def navigation: PerformanceNavigation
Expand Down
4 changes: 2 additions & 2 deletions dom/src/main/scala/org/scalajs/dom/Performance.scala
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ class Performance private[this] () extends js.Object {
/** Returns a JSON representation of the [[Performance]] object. */
def toJSON(): js.Object = js.native

@deprecated("No such API in the spec", "2.4.0")
@deprecated("No such API in the spec", "2.8.0")
def getMeasures(measureName: String = js.native): js.Dynamic = js.native

/** Removes all or specific [[PerformanceMark]] objects from the browser's performance timeline. */
def clearMarks(markName: String = js.native): Unit = js.native

@deprecated("No such API in the spec", "2.4.0")
@deprecated("No such API in the spec", "2.8.0")
def getMarks(markName: String = js.native): js.Dynamic = js.native

/** Removes all performance entries with an `entryType` of "resource" from the browser's performance timeline and sets
Expand Down

0 comments on commit b2d400b

Please sign in to comment.