Skip to content

Commit

Permalink
Make dom.URL.searchParams readonly (val)
Browse files Browse the repository at this point in the history
  • Loading branch information
raquo committed Nov 30, 2024
1 parent 6187be7 commit 75de0f6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api-reports/2_12.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27196,7 +27196,7 @@ URL[JC] var pathname: String
URL[JC] var port: String
URL[JC] var protocol: String
URL[JC] var search: String
URL[JC] var searchParams: URLSearchParams
URL[JC] val searchParams: URLSearchParams
URL[JC] var username: String
URL[JO] def createObjectURL(blob: Blob): String
URL[JO] def createObjectURL(src: MediaSource): String
Expand Down
2 changes: 1 addition & 1 deletion api-reports/2_13.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27196,7 +27196,7 @@ URL[JC] var pathname: String
URL[JC] var port: String
URL[JC] var protocol: String
URL[JC] var search: String
URL[JC] var searchParams: URLSearchParams
URL[JC] val searchParams: URLSearchParams
URL[JC] var username: String
URL[JO] def createObjectURL(blob: Blob): String
URL[JO] def createObjectURL(src: MediaSource): String
Expand Down
2 changes: 1 addition & 1 deletion dom/src/main/scala/org/scalajs/dom/URL.scala
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,5 @@ class URL(url: String, base: String = js.native) extends js.Object {
/** Is a DOMString containing a '#' followed by the fragment identifier of the URL. */
var hash: String = js.native

var searchParams: URLSearchParams = js.native
val searchParams: URLSearchParams = js.native
}

0 comments on commit 75de0f6

Please sign in to comment.