PSA: You can use `self.origin` in windows and workers starting in Firefox 54 thanks to @bz_moz.https://bugzilla.mozilla.org/show_bug.cgi?id=1306170 …
In general, `location.origin` may not match `location.origin`. `location.origin` is the origin of the URL.
-
-
I can't speak to the SW case, but for <iframe sandbox src="http://example.com ">, they are quite different.
-
Yea, SW are pretty strict and I think `self.location.origin === self.origin` should always be true.
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.