Broken link to "ContractID"

RESOLVED FIXED

Status

Developer Documentation
Add-ons
P5
normal
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: Franz Sarmiento, Assigned: wbamberg)

Tracking

Details

(URL)

(Reporter)

Description

4 years ago
:: Developer Documentation Request

      Request Type: Correction
     Gecko Version: unspecified
 Technical Contact: 

:: Details

Reading this article: https://developer.mozilla.org/en/docs/Components.classes The first sentence, the link to ContractID which is https://developer.mozilla.org/en/ContractID leads to a 404.

It suggested a search, the first result was this link: https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsIClassInfo/contractID
In that link, it points to: https://developer.mozilla.org/en-US/docs/XPCOM_Interface_Reference/nsIClassInfo#Attributes
Which I found was also broken.

Comment 1

4 years ago
I would like to add that once I got to this 404, clicking on "File a bug" also didn't work. So that's another bug.

Comment 2

4 years ago
(In reply to Greg from comment #1)
> I would like to add that once I got to this 404, clicking on "File a bug"
> also didn't work. So that's another bug.

(That's using Firefox 32.0 beta1).
Redirected https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsIClassInfo/contractID to
https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsIClassInfo
Assignee: eshepherd → wbamberg
Status: UNCONFIRMED → RESOLVED
Last Resolved: 4 years ago
Component: MDN User Docs → Add-ons
Resolution: --- → FIXED

Comment 4

4 years ago
Thanks Florian! However, it's not very clear in the new link what a ContractID is (to me), why it's needed, and what the point of it is given there's another "ClassID".

Also, what are the built-in ContractIDs? Why is there also a "Service" providers list and why are three (or more) of these types of "IDs" necessary? https://developer.mozilla.org/en-US/docs/Mozilla/JavaScript_code_modules/Services.jsm

Also, when is mozilla going to get rid of ContractIDs, ClassIDs, Services, etc. and just have a single class metaphor like NodeJS does it?
You need to log in before you can comment on or make changes to this bug.