Closed Bug 1120552 Opened 11 years ago Closed 3 years ago

ReferenceError: dbConnection is not defined" {file: "resource://gre/modules/FormHistory.jsm" line: 407}

Categories

(Toolkit :: Form Manager, defect)

All
Android
defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: rnewman, Unassigned)

References

Details

Saw this in a Robocop test. 01-12 10:56:41.228 D/GeckoIdleService( 5429): Get idle time: time since reset 176740 msec 01-12 10:56:41.228 D/GeckoIdleService( 5429): Idle timer callback: current idle time 176740 msec 01-12 10:56:41.228 D/GeckoIdleService( 5429): next timeout 3260 msec from now 01-12 10:56:41.228 D/GeckoIdleService( 5429): SetTimerExpiryIfBefore: next timeout 3259 msec from now 01-12 10:56:41.228 D/GeckoIdleService( 5429): reset timer expiry to 3269 msec from now 01-12 10:56:44.498 D/GeckoIdleService( 5429): Get idle time: time since reset 180010 msec 01-12 10:56:44.499 D/GeckoIdleService( 5429): Idle timer callback: current idle time 180010 msec 01-12 10:56:44.499 D/GeckoIdleService( 5429): next timeout 4294967114989 msec from now 01-12 10:56:44.499 D/GeckoIdleService( 5429): SetTimerExpiryIfBefore: next timeout 4294967114989 msec from now 01-12 10:56:44.499 D/GeckoIdleService( 5429): reset timer expiry to 4294967114999 msec from now 01-12 10:56:44.499 D/GeckoIdleService( 5429): Idle timer callback: tell observer 0xd275a580 user is idle 01-12 10:56:44.499 D/GeckoIdleService( 5429): Notifying idle-daily observers 01-12 10:56:44.515 W/GeckoConsole( 5429): [JavaScript Error: "ReferenceError: dbConnection is not defined" {file: "resource://gre/modules/FormHistory.jsm" line: 407}] 01-12 10:56:44.516 D/GeckoIdleService( 5429): Remove observer 0xd275a580 (180 seconds), 0 remain idle 01-12 10:56:44.538 D/GeckoIdleService( 5429): Storing last idle time as 1421089004 01-12 10:56:44.571 D/GeckoIdleService( 5429): Register idle observer 0xd6aa34c0 for 300 seconds 01-12 10:56:44.571 D/GeckoIdleService( 5429): Register: adjusting next switch from -1 to 300 seconds 01-12 10:56:44.571 D/GeckoIdleService( 5429): next timeout 119917 msec from now 01-12 10:56:44.571 D/GeckoIdleService( 5429): SetTimerExpiryIfBefore: next timeout 119917 msec from now 01-12 10:56:44.571 D/GeckoIdleService( 5429): reset timer expiry to 119927 msec from now
This happens if init happens to fail: 01-12 10:53:40.551 W/GeckoConsole( 5429): [JavaScript Error: "NS_ERROR_FILE_READ_ONLY: Component returned failure code: 0x80520013 (NS_ERROR_FILE_READ_ONLY) [mozIStorageConnection.createTable]" {file: "resource://gre/modules/FormHistory.jsm" line: 468}] 01-12 10:53:40.571 W/GeckoConsole( 5429): [JavaScript Error: "uncaught exception: Initialization failed"] 01-12 10:53:40.572 W/GeckoConsole( 5429): [JavaScript Error: "NS_ERROR_XPC_JS_THREW_STRING: Initialization failed'Initialization failed' when calling method: [nsILoginManagerStorage::initialize]" {file: "chrome://browser/content/browser.js" line: 1760}] It'd be nice to do something more graceful here.
Severity: normal → S3
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.