Closed Bug 360119 Opened 18 years ago Closed 18 years ago

identify and fix the XUL overlays using processing instruction inside the <overlay> element

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: asqueella, Assigned: asqueella)

References

Details

(Keywords: dev-doc-complete)

Attachments

(1 file, 3 obsolete files)

What about seamonkey, thunderbird, etc? Do they not have any files with this issue?
They probably do, but we don't have a component for "fix something in the whole tree", so I filed the bug here. I'll probably write something to check this automatically.
If this is something that authors have used often, and will now not work the same way, then you should also post a message to m.d.platform and the project_owners list.
Neil, sure. A quick script (looking for "<overlay" or ":overlay" before "<?") weirdly only finds hits in browser/ (of the whole tree). Some of these may be false positives, although that's not very likely: c:\mozilla\browser\base\content\downloadManagerOverlay.xul: FAIL c:\mozilla\browser\base\content\extensionsManagerOverlay.xul: FAIL c:\mozilla\browser\base\content\jsConsoleOverlay.xul: FAIL c:\mozilla\browser\base\content\macBrowserOverlay.xul: FAIL c:\mozilla\browser\base\content\softwareUpdateOverlay.xul: FAIL c:\mozilla\browser\base\content\viewSourceOverlay.xul: FAIL
Attached patch patch (obsolete) — Splinter Review
Unfortunately I can't test this, since I don't have a Mac.
Attachment #245330 - Flags: review?(mano)
Comment on attachment 245330 [details] [diff] [review] patch r=mano.
Attachment #245330 - Flags: review?(mano) → review+
Whiteboard: [checkin needed]
What about browser/base/content/macBrowserOverlay.xul ?
Attached patch With macBrowserOverlay.xul (obsolete) — Splinter Review
Indeed, it works much better including the one that crashes us at startup :)
Attachment #245330 - Attachment is obsolete: true
Attachment #245343 - Flags: review?(mano)
Probably need to move the xul-stylesheet PIs there too....
Comment on attachment 245343 [details] [diff] [review] With macBrowserOverlay.xul Oops, needed to move the stylesheets, too.
Attachment #245343 - Attachment is obsolete: true
Attachment #245343 - Flags: review?(mano)
Attached patch With macBrowserOverlay.xul v.2 (obsolete) — Splinter Review
With *all* of it, this time, I hope.
Attachment #245345 - Flags: review?(mano)
Whiteboard: [checkin needed]
Doesn't that last patch change the order of the overlay and stylesheets? I doubt that's really needed (or desirable).
Sigh. I was also putting them between the (#included) doctype and the <overlay> element, which whether or not it matters just isn't done.
Attachment #245345 - Attachment is obsolete: true
Attachment #245348 - Flags: review?(mano)
Attachment #245345 - Flags: review?(mano)
Comment on attachment 245348 [details] [diff] [review] With macBrowserOverlay.xul v.3 r=mano
Attachment #245348 - Flags: review?(mano) → review+
Checked in.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Phil, thanks for catching that!
Flags: blocking-firefox3.1?
??
what i can use this BUG
How can a bug that's already fixed block the release?
Flags: blocking-firefox3.1?
We could probably do with updating the examples on MDC to stop recommending this
Keywords: dev-doc-needed
Are there any specific examples in need of update?
Of course I can't find the one I copied from earlier now, but there is definitely some example there.
Found one case where this was done and changed it. Marking as doc-complete; if anyone finds other examples of this, fix 'em. :)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: