Closed Bug 150448 Opened 23 years ago Closed 22 years ago

Function name incorrect (nsIWebBrowserChrome::sizeBrowserTo)

Categories

(Developer Documentation Graveyard :: General, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: steve, Assigned: endico)

References

()

Details

nsIWebBrowserChrome::sizeBrowserTo should be nsIWebBrowserChrome::SizeBrowserTo Note the capital 'S' on size. Someone should check the case correctness of all functions in the docs.
Blocks: 143387
The idl lists this method as sizeBrowserTo, not SizeBrowserTo, which conforms to the general idl standard. Note that the docs are based on the idl, *not* the C++ implementations. From nsIWebBrowserChrome.idl 109 /** 110 * Tells the chrome to size itself such that the browser will be the 111 * specified size. 112 * @param aCX new width of the browser 113 * @param aCY new height of the browser 114 */ 115 void sizeBrowserTo(in long aCX, in long aCY); Also, as a general note: this is exactly the sort of comment that belongs in the tracking bug for the API, 143387. Creating an entirely new bug and a dependency makes things much more complex than they need be.
Not important.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → WONTFIX
Component: Mozilla Developer → Documentation Requests
Product: Documentation → Mozilla Developer Center
Component: Documentation Requests → Documentation
Component: Documentation → General
Product: Mozilla Developer Network → Developer Documentation
You need to log in before you can comment on or make changes to this bug.