File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
dom/src/main/scala/org/scalajs/dom Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -26181,7 +26181,7 @@ URL[JC] var protocol: String
2618126181URL[JC] var search: String
2618226182URL[JC] var searchParams: URLSearchParams
2618326183URL[JC] var username: String
26184- URL[JO] def createObjectURL(blob : Blob): String
26184+ URL[JO] def createObjectURL(obj : Blob | File | MediaSource ): String
2618526185URL[JO] def revokeObjectURL(url: String): Unit
2618626186URLSearchParams[JC] def append(name: String, value: String): Unit
2618726187URLSearchParams[JC] def delete(name: String): Unit
Original file line number Diff line number Diff line change @@ -26181,7 +26181,7 @@ URL[JC] var protocol: String
2618126181URL[JC] var search: String
2618226182URL[JC] var searchParams: URLSearchParams
2618326183URL[JC] var username: String
26184- URL[JO] def createObjectURL(blob : Blob): String
26184+ URL[JO] def createObjectURL(obj : Blob | File | MediaSource ): String
2618526185URL[JO] def revokeObjectURL(url: String): Unit
2618626186URLSearchParams[JC] def append(name: String, value: String): Unit
2618726187URLSearchParams[JC] def delete(name: String): Unit
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ package org.scalajs.dom
22
33import scala .scalajs .js
44import scala .scalajs .js .annotation ._
5+ import scala .scalajs .js .|
56
67/** The URL object provides static methods used for creating object URLs. */
78@ js.native
@@ -16,9 +17,9 @@ object URL extends js.Object {
1617
1718 /** The URL.createObjectURL() static method creates a DOMString containing an URL representing the object given in
1819 * parameter. The URL lifetime is tied to the document in the window on which it was created. The new object URL
19- * represents the specified File object or Blob object.
20+ * represents the specified File, Blob or MediaSource object.
2021 */
21- def createObjectURL (blob : Blob ): String = js.native
22+ def createObjectURL (obj : Blob | File | MediaSource ): String = js.native
2223}
2324
2425/** The URL() constructor returns a newly created URL object representing the URL defined by the parameters. */
You can’t perform that action at this time.
0 commit comments