Closed Bug 411989 Opened 12 years ago Closed 12 years ago

JavaScript Error: "prefBranch.savePrefFile is not a function

Categories

(Firefox :: Bookmarks & History, defect, P2)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: cbook, Assigned: dietrich)

Details

Attachments

(1 file)

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b3pre) Gecko/2008011120 Minefield/3.0b3pre (Debug Build)

Steps to reproduce:
-> New Firefox Profile
-> Profile Migration Dialog comes up 
-> Choose to Import IE Data
-> JS Error comes up in the debug output

Call to xpconnect wrapped JSObject produced this error:  *
[Exception... "'[JavaScript Error: "prefBranch.savePrefFile is not a function" {file: "file:///c:/Debug/mozilla/firefox-debug/dist/bin/components/nsBrowserGlue.js" line: 474}]' when calling method: [nsIBrowserGlue::ensurePlacesDefaultQueriesInitialized]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS frame :: chrome://browser/content/migration/migration.js :: anonymous :: line 367"  data: yes]
Flags: blocking-firefox3?
I noticed a pronounced delay during migration when there was relatively little data to migrate, mentioned it to Tomcat, and he picked this up in debug. Good team work!
-> over to places
Component: Migration → Places
QA Contact: migration → places
OS: Windows XP → All
Priority: -- → P2
Hardware: PC → All
Attached patch fix v1Splinter Review
Assignee: nobody → dietrich
Status: NEW → ASSIGNED
Attachment #296616 - Flags: review?(gavin.sharp)
Attachment #296616 - Flags: review?(gavin.sharp) → review+
Comment on attachment 296616 [details] [diff] [review]
fix v1

drivers: low impact bug fix. possible cause of Ts rise when bug 381365 was checked in. could also be related to various "organizer left pane is broken" bugs.
Attachment #296616 - Flags: approval1.9?
Attachment #296616 - Flags: approval1.9? → approval1.9+
Checking in browser/components/nsBrowserGlue.js;
/cvsroot/mozilla/browser/components/nsBrowserGlue.js,v  <--  nsBrowserGlue.js
new revision: 1.49; previous revision: 1.48
done
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Flags: blocking-firefox3? → blocking-firefox3+
verified fixed using my steps to reproduce and debug builds 
Status: RESOLVED → VERIFIED
Bug 451915 - move Firefox/Places bugs to Firefox/Bookmarks and History. Remove all bugspam from this move by filtering for the string "places-to-b-and-h".

In Thunderbird 3.0b, you do that as follows:
Tools | Message Filters
Make sure the correct account is selected. Click "New"
Conditions: Body   contains   places-to-b-and-h
Change the action to "Delete Message".
Select "Manually Run" from the dropdown at the top.
Click OK.

Select the filter in the list, make sure "Inbox" is selected at the bottom, and click "Run Now". This should delete all the bugspam. You can then delete the filter.

Gerv
Component: Places → Bookmarks & History
QA Contact: places → bookmarks
You need to log in before you can comment on or make changes to this bug.