Closed
Bug 301444
Opened 19 years ago
Closed 10 years ago
error NS_ERROR_FACTORY_NOT_REGISTERED occurs for API initPrintSettingsFromPrinter
Categories
(Core Graveyard :: GFX: Mac, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: hugh.liu, Unassigned)
References
Details
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 I'm a Firefox extension developer. Below is my code snippet: var printSettings; var PSSVC = Components.classes["@mozilla.org/gfx/printsettings-service;1"] .getService(Components.interfaces.nsIPrintSettingsService); printSettings = PSSVC.newPrintSettings; printSettings.printerName="MyPrinter"; PSSVC.initPrintSettingsFromPrinter(printSettings.printerName,printSettings); It runs well on Firefox 1.0+/Win & Linux, but does not work on Mac OS X 10.3. The error is [Exception... "Component returned failure code: 0x80040154 (NS_ERROR_FACTORY_NOT_REGISTERED) [nsIPrintSettingsService.initPrintSettingsFromPrinter]" nsresult: "0x80040154 (NS_ERROR_FACTORY_NOT_REGISTERED)" location: "JS frame :: chrome://catcher/context/cgicall.js :: anonymous :: line 184" data: no] Reproducible: Always Expected Results: No error occurs on Mac OS X 10.3, just the same as Windows/Linux
Updated•19 years ago
|
Assignee: nobody → joshmoz
Component: General → GFX: Mac
Product: Firefox → Core
QA Contact: general → mac
Version: unspecified → 1.7 Branch
| Assignee | ||
Updated•16 years ago
|
Product: Core → Core Graveyard
Comment 2•10 years ago
|
||
This bug has been buried in the graveyard and has not been updated in over 5 years. It is probably safe to assume that it will never be fixed, so resolving as WONTFIX. [Mass-change filter: graveyard-wontfix-2014-09-24]
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•