Bug 1609873 Comment 2 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

(In reply to Johann Hofmann [:johannh] from comment #1)
> I don't think there's any dependency on this being an xhtml file, so this could be a good first bug, right, Tim?

There's no dependency on being an XHTML file, so yes :)

The steps to fix this bug would be:
- removing `<?xml version="1.0" encoding="UTF-8"?>`
- (optional, but would be nice to do here too), removing the `type` attribute from those lines https://searchfox.org/mozilla-central/source/browser/components/privatebrowsing/content/aboutPrivateBrowsing.xhtml#12-14
- running `hg mv browser/components/privatebrowsing/content/aboutPrivateBrowsing.xhtml browser/components/privatebrowsing/content/aboutPrivateBrowsing.html`
(In reply to Johann Hofmann [:johannh] from comment #1)
> I don't think there's any dependency on this being an xhtml file, so this could be a good first bug, right, Tim?

There's no dependency on being an XHTML file, so yes :)

The steps to fix this bug would be:
- removing `<?xml version="1.0" encoding="UTF-8"?>`
- (optional, but would be nice to do here too), removing the `type` attribute from those lines https://searchfox.org/mozilla-central/source/browser/components/privatebrowsing/content/aboutPrivateBrowsing.xhtml#12-14
- running `hg mv browser/components/privatebrowsing/content/aboutPrivateBrowsing.xhtml browser/components/privatebrowsing/content/aboutPrivateBrowsing.html`

EDIT: forgot one step:
- In browser/components/about/AboutRedirector.cpp and browser/components/privatebrowsing/jar.mn, aboutPrivateBrowsing.xhtml needs to be replaced with aboutPrivateBrowsing.html

Back to Bug 1609873 Comment 2