File tree Expand file tree Collapse file tree 2 files changed +4
-12
lines changed
src/main/scala/org/scalajs/dom Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,6 @@ package object dom {
139
139
type NodeList = raw.NodeList
140
140
type NodeListOf [TNode <: Node ] = raw.NodeListOf [TNode ]
141
141
142
- type ObjectURLOptions = raw.ObjectURLOptions
143
142
type OfflineAudioContext = raw.OfflineAudioContext
144
143
@ deprecated(
145
144
" Use the promise version of OfflineAudioContext.startRendering instead." ,
@@ -198,7 +197,7 @@ package object dom {
198
197
type TreeWalker = raw.TreeWalker
199
198
200
199
type UIEvent = raw.UIEvent
201
- type URL = raw.URL
200
+ lazy val URL : raw. URL . type = raw.URL
202
201
203
202
type ValidityState = raw.ValidityState
204
203
type VisibilityState = raw.VisibilityState
Original file line number Diff line number Diff line change @@ -6067,11 +6067,6 @@ class ClientRectList extends DOMList[ClientRect]
6067
6067
@ js.native
6068
6068
trait External extends js.Object
6069
6069
6070
- @ js.native
6071
- trait ObjectURLOptions extends js.Object {
6072
- def oneTimeOnly : Boolean = js.native
6073
- }
6074
-
6075
6070
/**
6076
6071
* The ErrorEvent interface represents events providing information related to
6077
6072
* errors in scripts or in files.
@@ -6584,13 +6579,12 @@ abstract class File extends Blob {
6584
6579
}
6585
6580
6586
6581
/**
6587
- * The URL interface represent an object providing static methods used for creating
6588
- * object URLs.
6582
+ * The URL object provides static methods used for creating object URLs.
6589
6583
*
6590
6584
* MDN
6591
6585
*/
6592
6586
@ js.native
6593
- trait URL extends js.Object {
6587
+ object URL extends js.Object {
6594
6588
6595
6589
/**
6596
6590
* The URL.revokeObjectURL() static method releases an existing object URL which
@@ -6610,8 +6604,7 @@ trait URL extends js.Object {
6610
6604
*
6611
6605
* MDN
6612
6606
*/
6613
- def createObjectURL (`object` : js.Any ,
6614
- options : ObjectURLOptions = js.native): String = js.native
6607
+ def createObjectURL (blob : Blob ): String = js.native
6615
6608
}
6616
6609
6617
6610
/**
You can’t perform that action at this time.
0 commit comments