Closed
Bug 1167831
Opened 10 years ago
Closed 9 years ago
Document for XMLHttpRequest is wrong
Categories
(Developer Documentation Graveyard :: API: DOM, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: litimetal, Assigned: sheppy)
References
Details
(Whiteboard: [specification][type:bug])
What did you do?
================
Visit https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest#init%28%29
What happened?
==============
Non-standard methods
init()
Initializes the object for use from C++ code.
Warning: This method must not be called from JavaScript.
[noscript] void init(
in nsIPrincipal principal,
in nsIScriptContext scriptContext,
in nsPIDOMWindow ownerWindow
);
What should have happened?
==========================
In dom/base/nsIXMLHttpRequest.idl
[noscript] void init(in nsIPrincipal principal,
in nsIScriptContext scriptContext,
in nsIGlobalObject globalObject,
in nsIURI baseURI,
[optional] in nsILoadGroup loadGroup);
Is there anything else we should know?
======================================
Updated•10 years ago
|
Product: Mozilla Developer Network → Developer Documentation
Assignee | ||
Comment 1•10 years ago
|
||
The point here is that there are new arguments added to the init() method that are not yet documented.
Assignee | ||
Updated•10 years ago
|
Component: General → API: DOM
Assignee | ||
Comment 2•10 years ago
|
||
I'll work on this. I will also rework this page into a modern layout documentation set based on MDN's current style guide.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → eshepherd
Assignee | ||
Comment 5•9 years ago
|
||
Updated the init() documentation here: https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest#init%28%29 with the missing information.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Flags: needinfo?(eshepherd)
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•