`Location#origin` should return a `String`
armanbilge opened this issue · 1 comments
armanbilge commented
There's a reason it doesn't, but it's not a particularly good one.
scala-js-dom/dom/src/main/scala/org/scalajs/dom/Location.scala
Lines 47 to 49 in 410f439
https://developer.mozilla.org/en-US/docs/Web/API/Location/origin#browser_compatibility
armanbilge commented
Oh and also this flag
parameter is not part of the spec, just a firefox thing ...