Closed
Bug 568707
Opened 15 years ago
Closed 15 years ago
"key is not defined" results in broken form history service
Categories
(Firefox :: Sync, defect)
Firefox
Sync
Tracking
()
RESOLVED
FIXED
1.3
People
(Reporter: Mardak, Assigned: Mardak)
Details
Attachments
(1 file)
|
1.08 KB,
patch
|
mconnor
:
review+
|
Details | Diff | Splinter Review |
Sounds like mrbkap and jorendorff know what's going on. We'll need to work around it for the 1.3 release.
The exception throws for this reference:
http://localhost:8000/file/50ccc820a14a/source/components/FormNotifier.js#l33
But basically the code looks like..
for (let keyval in Iterator(obj)) {
let [key, val] = keyval;
this[key] = function() {
let notify = function() {
foo({ bar: key });
};
notify();
};
}
Flags: blocking-weave1.3+
| Assignee | ||
Comment 1•15 years ago
|
||
Comment 2•15 years ago
|
||
Comment on attachment 447880 [details] [diff] [review]
v1
we really need to get unit tests running in prod.
Attachment #447880 -
Flags: review?(mconnor) → review+
| Assignee | ||
Comment 3•15 years ago
|
||
http://hg.mozilla.org/labs/weave/rev/3be7bbdc48fe
Pretend to call a function with "key" to keep it around.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.3
| Assignee | ||
Comment 4•15 years ago
|
||
Ergh. hg.mozilla.org isn't working, but the link in comment 0 should have been
http://hg.mozilla.org/labs/weave/file/50ccc820a14a/source/components/FormNotifier.js#l33
| Assignee | ||
Comment 5•15 years ago
|
||
http://hg.mozilla.org/labs/weave/rev/29a97fe177d0 (new url from hg magic)
Pretend to call a function with "key" to keep it around.
Updated•7 years ago
|
Component: Firefox Sync: Backend → Sync
Product: Cloud Services → Firefox
You need to log in
before you can comment on or make changes to this bug.
Description
•