Remove unimplemented registerExtensionPrefix API

This commit is contained in:
J. Ryan Stinnett 2021-05-08 23:06:53 +01:00
parent 9d0e1932dc
commit bea3b3d3b2
3 changed files with 0 additions and 10 deletions

View file

@ -173,10 +173,6 @@ FeedResult.prototype = {
headers: null,
uri: null,
stylesheet: null,
registerExtensionPrefix: function (ns, prefix) {
throw Cr.NS_ERROR_NOT_IMPLEMENTED;
},
};
// Implements nsIFeed, nsIFeedContainer

View file

@ -31,7 +31,6 @@ interface nsIFeedContainer : nsIFeedElementBase
* and accessing specific fields.
*
* Common namespaces are accessed using prefixes, like get("dc:subject");.
* See nsIFeedResult::registerExtensionPrefix.
*/
attribute nsIWritablePropertyBag2 fields;

View file

@ -56,9 +56,4 @@ interface nsIFeedResult : nsISupports {
* HTTP response headers that accompanied the feed.
*/
attribute nsIProperties headers;
/**
* Registers a prefix used to access an extension in the feed/entry
*/
void registerExtensionPrefix(in AString aNamespace, in AString aPrefix);
};