On Tue, 2 Dec 2014, at 02:09, Boris Zbarsky wrote: > Summary: document.origin returns the Unicode serialization of the > document's origin. The returned value does not depend on what > document.domain was set to. > > Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=931884 > > Spec: http://dom.spec.whatwg.org/#dom-document-origin > > Platform coverage: All of them. > > Estimated release: 37 > > I don't plan to put this behind a pref. It's trivial to back out if > need be. > > Blink is considering implementing this too, and they're trying to find > out whether we plan to implement. I think this is a useful feature and > we should add it.
For those interested. Blink patch: https://codereview.chromium.org/758913002 ... and blink-dev discussion: https://groups.google.com/a/chromium.org/d/msg/blink-dev/8aDWaY9b3BM/sb77MikxNncJ -- Mounir _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform