Closed Bug 362803 Opened 19 years ago Closed 18 years ago

nsIWebBrowserSetup lies about its abilities

Categories

(Core Graveyard :: Embedding: APIs, defect)

defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bugzilla-graveyard, Assigned: sheppy)

Details

(Keywords: dev-doc-complete, helpwanted)

Attachments

(1 file)

[12:29am] <bz> using nsIWebBrowserSetup would work [12:30am] <bz> on an existing webbrowser [12:30am] <cl> the IDL suggested otherwise [12:30am] <cl> but I'll play around with it some more. [12:30am] <bz> 43 * The nsIWebBrowserSetup interface allows certain properties of a new browser [12:30am] <bz> 44 * object to set before the browser window is opened. [12:30am] <bz> That part? [12:30am] <cl> yes. [12:30am] <bz> That's basically a lie. We should fix the documentation in that file, at least, so it isn't totally misleading. :)
Taking this; I take it that in reality the webbrowser needs to already be set up before setting up the properties?
Status: NEW → ASSIGNED
No. In reality, you can change the properties dynamically any time you want to. The IDL claims that you can't, but that's false.
Ah-ha! The quoted text in the IRC clipping here doesn't mention that part. Got it.
Whoops, this is talking about updating docs in an IDL file, which isn't something I can do.
Status: ASSIGNED → NEW
I guess I could submit a patch if someone else doesn't want to do it.
Here's a patch that rewords the description of nsIWebBrowserSetup.
Comment on attachment 255140 [details] [diff] [review] change description Looks good to me...
Attachment #255140 - Flags: superreview?(benjamin)
Attachment #255140 - Flags: review+
Attachment #255140 - Flags: superreview?(benjamin) → superreview+
Checked in. Eric, thanks for the fix!
Assignee: nobody → eshepherd
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Setting dev-doc-complete.
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: