Summary: | Should `window.location.origin` return 'null' in a sandbox? | ||
---|---|---|---|
Product: | WebKit | Reporter: | Mike West <mkwst> |
Component: | WebCore Misc. | Assignee: | Mike West <mkwst> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | abarth, syoichi |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Description
Mike West
2013-01-09 13:50:18 PST
It just returns the origin of the document's location, not the origin of the document itself. I agree that's surprising for sandboxed documents. (In reply to comment #1) > It just returns the origin of the document's location, not the origin of the document itself. I agree that's surprising for sandboxed documents. Is it surprising enough that we should clearly change it, or should I just drop a note to the WHATWG? I'd ask annevk on whatwg@, but I agree that we should probably change it. :) Asked on whatwg@, Anne was unsurprised. FF's implementation matches ours, let's just leave it. |