File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed
dom/src/main/scala/org/scalajs/dom Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -26182,6 +26182,7 @@ URL[JC] var search: String
2618226182URL[JC] var searchParams: URLSearchParams
2618326183URL[JC] var username: String
2618426184URL[JO] def createObjectURL(blob: Blob): String
26185+ URL[JO] def createObjectURL(src: MediaSource): String
2618526186URL[JO] def revokeObjectURL(url: String): Unit
2618626187URLSearchParams[JC] def append(name: String, value: String): Unit
2618726188URLSearchParams[JC] def delete(name: String): Unit
Original file line number Diff line number Diff line change @@ -26182,6 +26182,7 @@ URL[JC] var search: String
2618226182URL[JC] var searchParams: URLSearchParams
2618326183URL[JC] var username: String
2618426184URL[JO] def createObjectURL(blob: Blob): String
26185+ URL[JO] def createObjectURL(src: MediaSource): String
2618526186URL[JO] def revokeObjectURL(url: String): Unit
2618626187URLSearchParams[JC] def append(name: String, value: String): Unit
2618726188URLSearchParams[JC] def delete(name: String): Unit
Original file line number Diff line number Diff line change @@ -16,9 +16,12 @@ object URL extends js.Object {
1616
1717 /** The URL.createObjectURL() static method creates a DOMString containing an URL representing the object given in
1818 * 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.
19+ * represents the specified File, Blob or MediaSource object.
2020 */
2121 def createObjectURL (blob : Blob ): String = js.native
22+
23+ def createObjectURL (src : MediaSource ): String = js.native
24+
2225}
2326
2427/** 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