Closed Bug 426584 Opened 16 years ago Closed 16 years ago

nsIRDFService.GetDataSource does not recognize rdf:history

Categories

(Core Graveyard :: History: Global, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: waka, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9b5) Gecko/2008032620 Firefox/3.0b5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9b5) Gecko/2008032620 Firefox/3.0b5

Using getdatasource to obtain an rdf:history throws an NS_ERROR_FACTORY_NOT_REGISTERED

Reproducible: Always

Steps to Reproduce:
1. Grab a javascript debugger (venkman)
2. var RDF = Components.classes["@mozilla.org/rdf/rdf-service;1"].getService(Components.interfaces.nsIRDFService);
3. var historyDS = RDF.GetDataSource('rdf:history');
Actual Results:  
Exception... "Component returned failure code: 0x80040154 (NS_ERROR_FACTORY_NOT_REGISTERED) [nsIRDFService.GetDataSource]" nsresult: "0x80040154 (NS_ERROR_FACTORY_NOT_REGISTERED)" location: "JS frame :: chrome://venkman/content/venkman-eval.js :: con_eval :: line 50" data: no


Behavior occurs in firefox 3 beta 5 at least. Behavior not found in 2.0.0.12
Flags: blocking-firefox3?
Version: unspecified → Trunk
Component: History → History: Global
Flags: blocking-firefox3?
Product: Firefox → Core
QA Contact: history → history.global
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.