Closed Bug 52013 Opened 24 years ago Closed 24 years ago

Double sets of frames being generated from document.write

Categories

(Core :: Layout, defect, P3)

x86
Windows 98
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: patoche.smart+mozilla, Assigned: harishd)

References

()

Details

(Whiteboard: [nsbeta3+])

Attachments

(5 files)

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; m18) Gecko/20000909
BuildID:    2000090908

Click on one of the drop down boxes there and see that the display is totally wrong.

Reproducible: Always
Is it the same is the pics I attach later? There already was such a bug, bit I 
can't find it...
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached image pic
This http://bugzilla.mozilla.org/show_bug.cgi?id=48557
pointing to http://www.uk.sage.com/home/Product_Info/qualifier.asp
doesn't seem to be the same at all to me.
Patrick
Dividing up Claytons bugs to triage
Assignee: clayton → rods
No, it's a different than 48557, I just saw it this week, but we were having a 
tough time reproducing it.
The original summary "drop down boxes display wrong" has been changed. There is 
a bug that the comboboxes display in the wrong place but this is because there 
are two sets of frames for each piece of content and really bad things happen. 

Once this gets fixed and if the comboboxes are still displaying incorrectly, 
then feel free to pass back.

The entire document is being created via document writes, and seems like whoever 
kicks off the process where the frames are getting created may be doing it 
twice. This could be loosely related to Bug 52057. I also have seen this bug 
floating around before, but I could reproduce it, so one of them is a dup.

I am not sure who to send this bug to so I will start with the content sink 
folks. This is extrememly bad, nominating for nsbeta3 and rtm
Assignee: rods → harishd
Keywords: nsbeta3, rtm
Summary: drop down boxes display wrong → Double sets of frames being generated from document.write
Attached file Reduced test case
Content model for the above test case:

html@031A0348 refcount=3<
  head@031A0258 refcount=2<
    title@031DE1A8 refcount=2<
      Text@031DE130 refcount=2<Virgin Express TakeFlight Online>
    >
    Text@031DEB00 refcount=2<\n>
    script@031DFBD8 language=JavaScript refcount=2<
      Text@031DF9D0 refcount=2<\r\n<!-- HIDE\r\nfunction w(s) {\r\ndocument.writ
e(s)\r\n}\r\nw("</HEAD>") \r\nw("<BODY>")\r\nw("<FORM NAME='myForm' METHOD='post
' ACTION='list.cgi'>")\r\nw("<center> ")\r\n\r\n\r\nw("<TABLE>")\r\nw("<TR><TD>"
) \r\n\r\nvar destMessage = 'Choose Your Destination' \r\nw("<SELECT>")\r\nw("<O
PTION VALUE='SNNIE'>Option 1")\r\nw("</SELECT>")\r\n\r\nw("</FONT></TD>")\r\nw("
</TABLE>")\r\nw("</FORM>")\r\n>
    >
  >
  body@031E33B8 refcount=3<
    form@0321B95C name=myForm method=Post action=list.cgi refcount=3<
    >
    center@0321BD98 refcount=4<
      Text@0321A190 refcount=4< >
      table@0321B688 refcount=10<
        tbody@0321B2C8 refcount=4<
          tr@0321B218 refcount=4<
            td@0321B0BC refcount=6<
              select@0321CE5C refcount=10<
                option@0321C998 value=SNNIE -moz-option-selected= refcount=5<
                  Text@0321C720 refcount=4<Option 1>
                >
              >
            >
          >
        >
      >
      Text@03228040 refcount=3<\n>
    >
  >
>
Status: NEW → ASSIGNED
Blocks: 52606
*** Bug 52737 has been marked as a duplicate of this bug. ***
Giving bug back to Rod  to solve sink re-entrant problem. 
Assignee: harishd → rods
Status: ASSIGNED → NEW
harish, back to you. Vidur just came up with a content sink fix for this.
Assignee: rods → harishd
Marking nsbeta3+...
Whiteboard: [nsbeta3+]
*** Bug 53077 has been marked as a duplicate of this bug. ***
Patch is in.... MArking FIXED.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
*** Bug 52606 has been marked as a duplicate of this bug. ***
Fixed in the Sept 29th build.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: