commit | 36c082058c0e46502c33e4c97be097a7e7d21759 | [log] [tgz] |
---|---|---|
author | sigbjornf@opera.com <sigbjornf@opera.com@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | Sun Jun 22 15:28:14 2014 |
committer | sigbjornf@opera.com <sigbjornf@opera.com@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | Sun Jun 22 15:28:14 2014 |
tree | 8a2ff665b9cc6ff4fbc2bd7460b447f430837e18 | |
parent | 9b75c48610db653da035139b04433d15aed5eebc [diff] |
Expose URLUtilsReadOnly.origin Follow up on a recent URL spec addition, http://url.spec.whatwg.org/#urlutilsreadonly https://github.com/whatwg/url/commit/0027a2e and add the |origin| property to URLUtilsReadOnly. WorkerLocation is currently the only object implementing this interface, so this addition lets scripts executing in Worker contexts look up the serialized origin (of the script that initialized the Worker) via self.location.origin. R= BUG=303152 Review URL: https://codereview.chromium.org/342553010 git-svn-id: svn://svn.chromium.org/blink/trunk@176712 bbb929c8-8fbe-4397-9dbb-9b2b20218538