author | Felipe Gomes <felipc@gmail.com> |
Thu, 18 Oct 2012 16:40:12 +1100 | |
changeset 110635 | fdd5c75c14f2e5b79e7505d0232d18612e7edaf3 |
parent 110634 | 87df09bc5e8e44547fd1669ae04580326c4c935c |
child 110636 | b872b207397dc5c15ad9db923b4d242e41630893 |
push id | 23704 |
push user | emorley@mozilla.com |
push date | Thu, 18 Oct 2012 17:12:58 +0000 |
treeherder | mozilla-central@3779eb3f036f [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | jaws, mixedpuppy |
bugs | 802929 |
milestone | 19.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/toolkit/components/social/WorkerAPI.jsm +++ b/toolkit/components/social/WorkerAPI.jsm @@ -58,18 +58,17 @@ WorkerAPI.prototype = { }, "social.user-profile": function (data) { this._provider.updateUserProfile(data); }, "social.ambient-notification": function (data) { this._provider.setAmbientNotification(data); }, "social.cookies-get": function(data) { - let document = getFrameWorkerHandle(this._provider.workerURL, null). - _worker.frame.contentDocument; + let document = this._port._window.document; let cookies = document.cookie.split(";"); let results = []; cookies.forEach(function(aCookie) { let [name, value] = aCookie.split("="); results.push({name: unescape(name.trim()), value: unescape(value.trim())}); }); this._port.postMessage({topic: "social.cookies-get-response",