Closed Bug 42340 Opened 24 years ago Closed 24 years ago

[mac] HTML comments appear in the page

Categories

(Core :: DOM: HTML Parser, defect, P3)

PowerPC
Mac System 8.5
defect

Tracking

()

VERIFIED DUPLICATE of bug 42270

People

(Reporter: pierre, Assigned: rickg)

Details

(Keywords: platform-parity, regression, Whiteboard: Fix in hand.)

Attachments

(2 files)

Reproduced with today's M17 optimized build (2000-06-12 @ 20h00) and with a debug 
build pulled around 4pm the same day:
- Quit the app if it is running already.
- Launch, wait for the default Mozilla page to display.
- Click the Bugzilla button in the toolbar or enter http://bugzilla.mozilla.org/.
==> The top part of the page displays the following HTML comment all in a single 
block (ie. no linefeeds):
*********
The contents of this file are subject to the Mozilla Public License Version 1.1 
(the "license"); you may not use this file except in compliance with the license. 
You may obtain a copy of the license at http://www.mozilla.org/MPL/ Software 
distributed under the license is distributed on an "AS IS" basis, WITHOUT 
WARRANTY OF ANY KIND, either express or implied. See the license for the specific 
language governing rights and limitations under the license. The Original Code is 
the Bugzilla Bug Tracking System. The Initial Developer of the Original Code is 
Netscape Communications Corporation. Portions created by Netscape are Copyright 
(C) 1998 Netscape Communications Corporation. All Rights Reserved. 
Contributor(s): Terry Weissman, terry@mozilla.org Matthew Thomas, 
mpt@mailandnews.com -->
********

Now the weird things:
- It happens on the Mac but not on Win98 (I did not check on unix).
- If you look at the source, the comment which is displayed is not even the first 
comment in the file.
- It only happens the first time you visit the Buggzilla page. You can launch the 
app and even surf a little bit, go to Bugzilla and the bug is there. Then it 
can't be reproduced until you quit the app.
- It's very unfortunate but it doesn't happen if you load a copy of the Bugzilla 
page saved on your local disk.
Keywords: pp, regression
Attached image screen snapshot
I landed a fix last night which should have corrected this. Please retry.
Status: NEW → ASSIGNED
Sorry, the bug is still there in today's daily build (2000-06-13 08:00).

harish: please take a look. The bugzilla.mozilla page is using html 3.2 as it's 
doctype, so I don't think this is related to the strictDTD.
Assignee: rickg → harishd
Status: ASSIGNED → NEW
Nominating for nsbeta2 ( bugzilla looks bad ). The fix is trivial..and safe.
Status: NEW → ASSIGNED
Whiteboard: Fix in hand.
Reassigning bug to rickg.
Assignee: harishd → rickg
Status: ASSIGNED → NEW
yet another dup.

*** This bug has been marked as a duplicate of 42270 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: