Closed Bug 393707 Opened 17 years ago Closed 16 years ago

Landing 389634 broke building without XUL

Categories

(Core :: DOM: Core & HTML, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9

People

(Reporter: romaxa, Assigned: romaxa)

References

Details

Attachments

(1 file, 1 obsolete file)

Comment on attachment 278235 [details] [diff] [review]
Fast fix with 

This is the wrong fix.  The right fix is for this not to be MOZ_XUL.  See also bug 391100 comment 8.
Attachment #278235 - Flags: review?(bzbarsky) → review-
Hmmm... I would glad to see that bug, but there are Access Denied
I didn't realize that promptservice was only built ifdef MOZ_XUL. You could just move nsAutoWindowStateHelper to its own file to fix this bug.
May be it would be better move it inside nsPrompt.h|cpp files?
That's where it used to be, it got moved out to fix bug 389634
So, was nsWindowWatcher.cpp the wrong place to move it to, or was there a problem with how it was moved?
it was moved to nsPromptService.cpp, not to nsWindowWatcher.cpp. And yeah, it looks like that was not a good place to move it to. see comment 3.
Assignee: nobody → romaxa
Attachment #278235 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #297552 - Flags: review?
Attachment #297552 - Flags: review? → review?(bzbarsky)
I won't get to this until June.  Please ask someone else for review.
Comment on attachment 297552 [details] [diff] [review]
Fixed according to comment #3

Olli, could you check this patch?
Attachment #297552 - Flags: review?(bzbarsky) → review?(Olli.Pettay)
Comment on attachment 297552 [details] [diff] [review]
Fixed according to comment #3

This just moves code to a better place. r=me
Attachment #297552 - Flags: review?(Olli.Pettay) → review+
Comment on attachment 297552 [details] [diff] [review]
Fixed according to comment #3

Moves XUL-only code to its own file.
Attachment #297552 - Flags: approval1.9?
Comment on attachment 297552 [details] [diff] [review]
Fixed according to comment #3

a1.9=beltzner
Attachment #297552 - Flags: approval1.9? → approval1.9+
Keywords: checkin-needed
mozilla/embedding/components/windowwatcher/src/Makefile.in 	1.29
mozilla/embedding/components/windowwatcher/src/nsAutoWindowStateHelper.cpp 	1.1
mozilla/embedding/components/windowwatcher/src/nsAutoWindowStateHelper.h 	1.1
mozilla/embedding/components/windowwatcher/src/nsPromptService.cpp 	1.39
mozilla/embedding/components/windowwatcher/src/nsPromptService.h 	1.15
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9
Blocks: 671688
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: