Skip to content

Commit

Permalink
Merge pull request #871 from raquo/main
Browse files Browse the repository at this point in the history
Make dom.URL.searchParams readonly (val)
  • Loading branch information
zetashift authored Nov 30, 2024
2 parents f86bae5 + 75de0f6 commit 8c4ee12
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 @@ -27186,7 +27186,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 @@ -27186,7 +27186,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 8c4ee12

Please sign in to comment.