Steps to reproduce
document.origin is undefined when document is served from a file or a local server.
DOM4 spec says it should be a
readonly attribute DOMString origin.
When run from Chrome, it evaluates to null (for file:) or a
DOMString URL (for HTTP server).
Comments and activity
- Microsoft Edge Team
Changed Assigned To to “Steven K.”
Changed Assigned To to “Travis L.”