Function name incorrect (nsIWebBrowserChrome::sizeBrowserTo)

RESOLVED WONTFIX

Status

RESOLVED WONTFIX
17 years ago
6 years ago

People

(Reporter: steve, Assigned: endico)

Tracking

Details

(URL)

(Reporter)

Description

17 years ago
nsIWebBrowserChrome::sizeBrowserTo should be nsIWebBrowserChrome::SizeBrowserTo

Note the capital 'S' on size. Someone should check the case correctness of all
functions in the docs.

Updated

16 years ago
Blocks: 143387

Comment 1

16 years ago
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.
(Reporter)

Comment 2

16 years ago
Not important.
Status: NEW → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → WONTFIX
Component: Mozilla Developer → Documentation Requests
Product: Documentation → Mozilla Developer Center
Component: Documentation Requests → Documentation
Product: Mozilla Developer Network → Mozilla Developer Network
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.