[BUG] Browser class-side methods

Eddie Cottongim cottonsqueak at earthlink.net
Sun Sep 8 01:56:30 UTC 2002


There are a number of class-side methods in Browser to instantiate a
browser. Inspecting each of these:

Browser new
Browser newOnCategory: 'Morphic-Kernel'
Browser fullOnClass: Morph
Browser fullOnClass: Morph selector: #delete
Browser newOnClass: Morph
Browser newOnClass: Morph label: 'Moo'
Browser newOnClass: Morph label: #delete
Browser openBrowser

returns the Browser class for all but the first, which returns a new Browser
instance. newOnClass: looks like it attempts to return the new Browser
instance, but does not due to another method returning the class Browser.

Shouldn't all of these return either the Browser or SystemWindow instance
that was created? (I'd prefer the former).

Eddie





More information about the Squeak-dev mailing list