File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
src/main/scala/org/scalajs/dom Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -4397,7 +4397,16 @@ trait Location extends js.Object {
4397
4397
* MDN
4398
4398
*/
4399
4399
var host : js.String = ???
4400
-
4400
+ /**
4401
+ * Theorigin read-only property is a String containing the Unicode serialization of the
4402
+ * origin of the represented URL, that is, for http and https, the scheme followed by
4403
+ * '://', followed by the domain, followed by ':', followed by the port (the default
4404
+ * port, 80 and 443 respectively, if explicitely specified). For URL using file: scheme,
4405
+ * the value is browser dependant.
4406
+ *
4407
+ * MDN
4408
+ */
4409
+ def origin : js.String = ???
4401
4410
/**
4402
4411
* The Location.reload()method Reloads the resource from the current URL. Its
4403
4412
* optional unique parameter is a Boolean, which, when it is true, causes the page to
You can’t perform that action at this time.
0 commit comments