File tree 3 files changed +6
-1
lines changed
dom/src/main/scala/org/scalajs/dom
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
26182
26182
URL[JC] var searchParams: URLSearchParams
26183
26183
URL[JC] var username: String
26184
26184
URL[JO] def createObjectURL(blob: Blob): String
26185
+ URL[JO] def createObjectURL(src: MediaSource): String
26185
26186
URL[JO] def revokeObjectURL(url: String): Unit
26186
26187
URLSearchParams[JC] def append(name: String, value: String): Unit
26187
26188
URLSearchParams[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
26182
26182
URL[JC] var searchParams: URLSearchParams
26183
26183
URL[JC] var username: String
26184
26184
URL[JO] def createObjectURL(blob: Blob): String
26185
+ URL[JO] def createObjectURL(src: MediaSource): String
26185
26186
URL[JO] def revokeObjectURL(url: String): Unit
26186
26187
URLSearchParams[JC] def append(name: String, value: String): Unit
26187
26188
URLSearchParams[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 {
16
16
17
17
/** The URL.createObjectURL() static method creates a DOMString containing an URL representing the object given in
18
18
* 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.
20
20
*/
21
21
def createObjectURL (blob : Blob ): String = js.native
22
+
23
+ def createObjectURL (src : MediaSource ): String = js.native
24
+
22
25
}
23
26
24
27
/** 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