Skip to content

Location#origin should return a String #746

Closed
@armanbilge

Description

@armanbilge

There's a reason it doesn't, but it's not a particularly good one.

* This property also does not exist consistently on IE, even as new as IE11, hence it must be UndefOr.
*/
def origin: js.UndefOr[String] = js.native

https://developer.mozilla.org/en-US/docs/Web/API/Location/origin#browser_compatibility

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions