Closed
Bug 600469
Opened 14 years ago
Closed 14 years ago
Cu is not defined into PAC_handleError (nsPlacesAutoComplete.js)
Categories
(Toolkit :: Places, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: m_kato, Assigned: m_kato)
Details
Attachments
(3 files)
778 bytes,
patch
|
Gavin
:
review+
Gavin
:
approval2.0+
|
Details | Diff | Splinter Review |
920 bytes,
patch
|
Details | Diff | Splinter Review | |
933 bytes,
patch
|
mak
:
review+
|
Details | Diff | Splinter Review |
a lot of error in Error Console in Firefox nightly Gecko/20100928.
Error: Cu is not defined
Source File: jar:file:///C:/Program%20Files%20(x86)/Minefield/omni.jar!/components/nsPlacesAutoComplete.js
Line: 519
We should define Cu in nsPlacesAutoComlete.js.
Assignee | ||
Comment 1•14 years ago
|
||
Assignee: nobody → m_kato
Attachment #479321 -
Flags: review?
Assignee | ||
Updated•14 years ago
|
Attachment #479321 -
Flags: review? → review?(sdwilsh)
Updated•14 years ago
|
Attachment #479321 -
Flags: review?(sdwilsh)
Attachment #479321 -
Flags: review+
Attachment #479321 -
Flags: approval2.0+
Comment 2•14 years ago
|
||
it's a bit nonsense to define Cu but use components.utils jut above it... if you define the const use if everywhere otherwise replace Cu with Components.utils.
Comment 3•14 years ago
|
||
I don't really mind the mixed use of Cu/Components.utils, FWIW, but a patch that just changes the one use of Cu to Components.utils would be fine too.
Assignee | ||
Updated•14 years ago
|
Whiteboard: [needs landing]
Updated•14 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 4•14 years ago
|
||
(In reply to comment #3)
> I don't really mind the mixed use of Cu/Components.utils, FWIW, but a patch
> that just changes the one use of Cu to Components.utils would be fine too.
Gavin, should I replace Cu to Components.utils? If so, I update it and land this.
Comment 5•14 years ago
|
||
since it's a single instance please use Components.utils instead of defining Cu, I'm fine with landing that.
Assignee | ||
Comment 6•14 years ago
|
||
Comment 7•14 years ago
|
||
fwiw you should fix indentation of the second message line
Assignee | ||
Comment 8•14 years ago
|
||
(In reply to comment #7)
> fwiw you should fix indentation of the second message line
Oh, I already landed this. I will push indent fix too
Assignee | ||
Comment 9•14 years ago
|
||
Assignee | ||
Comment 10•14 years ago
|
||
Comment on attachment 485266 [details] [diff] [review]
indent fix
Macro, need r+ and a+?
Attachment #485266 -
Flags: review?(mak77)
Assignee | ||
Comment 11•14 years ago
|
||
Also, original is laned. If I should back out this, I will do it.
http://hg.mozilla.org/mozilla-central/rev/452fa9a39c8f
Comment 12•14 years ago
|
||
Comment on attachment 485266 [details] [diff] [review]
indent fix
you can land it, I'm not a driver but it's just indentation fix, a=me on it, thanks.
Attachment #485266 -
Flags: review?(mak77) → review+
Assignee | ||
Comment 13•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Whiteboard: [needs landing]
You need to log in
before you can comment on or make changes to this bug.
Description
•