Closed
Bug 361030
Opened 18 years ago
Closed 18 years ago
Bookmarks refresh problem due to JS error code
Categories
(Firefox :: Bookmarks & History, defect)
Tracking
()
VERIFIED
FIXED
Firefox 3 alpha2
People
(Reporter: stef_fx, Assigned: sayrer)
References
Details
(Keywords: verified1.8.1.2)
Attachments
(1 file)
3.29 KB,
patch
|
moco
:
review+
jminta
:
review+
jay
:
approval1.8.1.2+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0
When I manipulate Bookmark this produce javascript warnings that impact sometimes refresh of bookmarks.
Warning message is :
Warning: reference to undefined property this.BATCH_LIMIT
Source File: chrome://browser/content/bookmarks/bookmarks.js
Line: 1588
Same message on lines : 1627, 1694, 1724.
The problem come from a wrong variable "this.BATCH_LIMIT" which must be replace by "kBATCH_LIMIT".
Hope the code will be updated ;-)
Thanks,
Stéphane.
Reproducible: Always
Steps to Reproduce:
1. select a bookmark and move it in another place.
Reporter | ||
Updated•18 years ago
|
Version: unspecified → 2.0 Branch
Assignee | ||
Comment 1•18 years ago
|
||
yeah, I don't see .BATCH_LIMIT defined anywhere
Assignee: nobody → sayrer
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 2•18 years ago
|
||
Attachment #248133 -
Flags: review?(sspitzer)
Assignee | ||
Updated•18 years ago
|
Flags: blocking1.8.1.2?
Assignee | ||
Updated•18 years ago
|
Attachment #248133 -
Flags: review?(sspitzer) → review?(sspitzer)
Comment 3•18 years ago
|
||
Comment on attachment 248133 [details] [diff] [review]
use kBATCH_LIMIT
thanks for catching and fixing this.
it appears to be fall out from jminta's patch from bug #168411, where he replaces some of the calls to this.BATCH_LIMIT with kBATCH_LIMIT, but not all.
my apologies for not catching this during the review process of #168411
it looks like the 1.8 branch has problem as well.
robert, can you land on the MOZILLA_1_8_BRANCH (once you have approval) as well?
Attachment #248133 -
Flags: review?(sspitzer)
Attachment #248133 -
Flags: review?(jminta)
Attachment #248133 -
Flags: review+
Comment 4•18 years ago
|
||
oops, I see robert already has plans to land this on branch (and trunk).
thanks again, robert!
Comment 5•18 years ago
|
||
Comment on attachment 248133 [details] [diff] [review]
use kBATCH_LIMIT
yep yep. I need to run with strict warnings on more often. :-/
Attachment #248133 -
Flags: review?(jminta) → review+
Assignee | ||
Comment 6•18 years ago
|
||
Checking in bookmarks.js;
/cvsroot/mozilla/browser/components/bookmarks/content/bookmarks.js,v <-- bookmarks.js
new revision: 1.127; previous revision: 1.126
done
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•18 years ago
|
Attachment #248133 -
Flags: approval1.8.1.2?
Assignee | ||
Updated•18 years ago
|
Target Milestone: --- → Firefox 3 alpha2
Updated•18 years ago
|
Flags: blocking1.8.1.2? → blocking1.8.1.2-
Comment 7•18 years ago
|
||
Comment on attachment 248133 [details] [diff] [review]
use kBATCH_LIMIT
Approved for 1.8 branch, a=jay for drivers.
Attachment #248133 -
Flags: approval1.8.1.2? → approval1.8.1.2+
Assignee | ||
Comment 8•18 years ago
|
||
Checking in bookmarks.js;
/cvsroot/mozilla/browser/components/bookmarks/content/bookmarks.js,v <-- bookmarks.js
new revision: 1.104.2.22; previous revision: 1.104.2.21
done
Keywords: fixed1.8.1.2
Comment 9•18 years ago
|
||
Verified using: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.2pre) Gecko/20070116 BonEcho/2.0.0.2pre
I had these two preferences set to true:
javascript.options.showInConsole
javascript.options.strict
With the new builds I no longer see the warnings in the Error Console when moving bookmarks around.
Status: RESOLVED → VERIFIED
Keywords: fixed1.8.1.2 → verified1.8.1.2
You need to log in
before you can comment on or make changes to this bug.
Description
•