Closed
Bug 273319
Opened 21 years ago
Closed 21 years ago
[FIXr]Eliminate nsIWebShell and nsIWebShellContainer
Categories
(Core :: DOM: Navigation, defect, P1)
Tracking
()
RESOLVED
FIXED
mozilla1.8alpha6
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
Details
Attachments
(1 file, 2 obsolete files)
252.93 KB,
patch
|
Details | Diff | Splinter Review |
Once bug 272471 is fixed, it should be pretty simple to eliminate nsIWebShell
and nsIWebShellContainer. The comments that bug's patch adds to nsIWebShell
describe what needs to be done.
![]() |
Assignee | |
Updated•21 years ago
|
Priority: -- → P1
Target Milestone: --- → mozilla1.8alpha6
![]() |
Assignee | |
Comment 1•21 years ago
|
||
We'll want to kill nsIWebShellServices too, I think. Probably a separate bug...
![]() |
Assignee | |
Comment 2•21 years ago
|
||
Another note to self -- nsIXULCommand seems unused.
![]() |
Assignee | |
Comment 3•21 years ago
|
||
I field bug 273812 on fixing the mac widget code to not use nsIDocShell (I'm
switching it to that from nsIWebShell).
![]() |
Assignee | |
Comment 4•21 years ago
|
||
![]() |
Assignee | |
Comment 5•21 years ago
|
||
Attachment #168318 -
Attachment is obsolete: true
![]() |
Assignee | |
Comment 6•21 years ago
|
||
Comment on attachment 168319 [details] [diff] [review]
With nsIWebShell.h actually removed
What do you guys think? Basic changes are:
1) Switch things like viewer and mac menu code to nsIDocShell instead.
2) Remove some dead code in viewer.
3) Switch mailnews off of nsIWebShellContainer.
I did verify that cached compose windows work fine in the build with this
patch.
Attachment #168319 -
Flags: superreview?(jst)
Attachment #168319 -
Flags: review?(cbiesinger)
![]() |
Assignee | |
Updated•21 years ago
|
Summary: Eliminate nsIWebShell and nsIWebShellContainer → [FIX]Eliminate nsIWebShell and nsIWebShellContainer
Comment 7•21 years ago
|
||
Comment on attachment 168319 [details] [diff] [review]
With nsIWebShell.h actually removed
Very nice cleanup! sr=jst
Attachment #168319 -
Flags: superreview?(jst) → superreview+
Comment 8•21 years ago
|
||
Comment on attachment 168319 [details] [diff] [review]
With nsIWebShell.h actually removed
xpcom/tests/SizeTest06.cpp
a kinda pointless change, this won't compile anyway :-) but sure.
webshell/tests/viewer/nsBrowserWindow.cpp 9
-// nsAutoString theString(theURL);
-// mApp->ViewSource(theString);
//XXX Find out how the string is allocated, and perhaps delete it...
unsure what the comment refers to, but maybe to theString? in which case, it
should be deleted together with the commented-out code...
stopping before xpfe/appshell/src/nsWebShellWindow.cpp, will finish the review
tomorrow...
Comment 9•21 years ago
|
||
Comment on attachment 168319 [details] [diff] [review]
With nsIWebShell.h actually removed
(I only skimmed the mac menu changes, assuming they are basically
s/DocShell/WebShell/g)
+nsWebShellWindow::GetDocShell(nsIDocShell *& aDocShell)
hmm, maybe that signature should be changed at some point to use the more
common nsIDocShell** parameter type
Attachment #168319 -
Flags: review?(cbiesinger) → review+
![]() |
Assignee | |
Comment 10•21 years ago
|
||
webshellwindow may need extra smacking too.... I'd rather move us to
nsWebBrowser and kill off webshellwindow, really.
I'll land this when I get back.
Summary: [FIX]Eliminate nsIWebShell and nsIWebShellContainer → [FIXr]Eliminate nsIWebShell and nsIWebShellContainer
![]() |
Assignee | |
Comment 11•21 years ago
|
||
Attachment #168319 -
Attachment is obsolete: true
![]() |
Assignee | |
Comment 12•21 years ago
|
||
Fixed on trunk.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Comment 13•21 years ago
|
||
note that this broke beos; should be fixed now with
http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=mozilla/widget/src/beos&command=DIFF_FRAMESET&file=Makefile.in&rev1=1.46&rev2=1.47&root=/cvsroot
(a REQUIRES change)
Comment 14•21 years ago
|
||
fwiw this also broke os/2
http://bonsai.mozilla.org/cvslog.cgi?file=mozilla%2Fwidget%2Fsrc%2Fos2%2FMakefile.in&rev=1.60
You need to log in
before you can comment on or make changes to this bug.
Description
•