Closed Bug 282200 Opened 20 years ago Closed 19 years ago

xpfe/appshell cleanup

Categories

(Core :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bryner, Assigned: bryner)

Details

Attachments

(2 files)

Before starting on bug 21296, I decided to clean up all of the unnecessary crap
in WebShellWindow/XULWindow.
Attached patch patchSplinter Review
The cleanup here is pretty across-the-board, ranging from removing unused
members to removing redundant code to eliminating nsIWebShellWindow entirely.
Attachment #174279 - Flags: superreview?(bzbarsky)
Attachment #174279 - Flags: review?(danm.moz)
Comment on attachment 174279 [details] [diff] [review]
diff -w for easier reviewing

>Index: xpfe/appshell/public/nsIAppShellService.idl
>-   * @param aShowWindow the window remains invisible if PR_FALSE.
>-   * @param aLoadDefaultPage controls whether the window should try to
>-   *                         load a default content page on its own.

It's worth documenting that the newly-created window will not be visible until
it's manually shown, I think....

sr=bzbarsky with that.	Good to see this cleanup!
Attachment #174279 - Flags: superreview?(bzbarsky) → superreview+
Comment on attachment 174279 [details] [diff] [review]
diff -w for easier reviewing

Wow. So much cruft. By the way I happened to notice you can just get rid of
this local variable, rather than moving it

@@ -359,6 +347,8 @@ nsAppShellService::JustCreateTopWindow(n
       }  
     }

+  PRBool intrinsicallySized = PR_FALSE;
+
Attachment #174279 - Flags: review?(danm.moz) → review+
checked in.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Component: XP Miscellany → General
QA Contact: brendan → general
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: