Closed Bug 92373 Opened 23 years ago Closed 23 years ago

WRMB: commercialsource.com - page loads, then vanishes

Categories

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

PowerPC
Mac System 9.x
defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: waterson, Assigned: jst)

References

()

Details

(Whiteboard: [bugscape: 7514])

Attachments

(1 file)

It looks like there's an IFRAME or that's ``accidentally'' reloading in the main 
content area. I found this page from looking at bugscape bug number 7514.
Status: NEW → ASSIGNED
Keywords: correctness
Priority: -- → P3
Target Milestone: --- → mozilla0.9.4
The relevant part of the test case here is:

  function MM_setTextOfLayer(objName,x,newText) { //v3.0
    if ((obj=MM_findObj(objName))!=null) with (obj)
      if (navigator.appName=='Netscape') {
        document.write(unescape(newText)); document.close();
      }
      else innerHTML = unescape(newText);
  }
The problem here is that it's testing the |appName| property, and picking up
``Mozilla'' instead of ``Netscape''. (If I hack the test case to look for
``Mozilla'' as the appname, it works.)

I'm not familiar enough with the |innertHTML| property to know if the <div>
element (which is what's returned from |MM_findObject()|) should have this
property. (I suspect not, since I couldn't find the string in either the DOM1 or
DOM2 specs.) If it _is_ supposed to have this property, then perhaps we have a
scoping problem with the |with| keyword?

Reassigning to evangelism for now, cc'ing brendan and jst who may be able to
comment on the DOM and JS better than I. (Should we just implement |innertHTML|
on <div> elements?)
Assignee: waterson → bclary
Status: ASSIGNED → NEW
Component: Browser-General → Evangelism
QA Contact: doronr → zach
Make that ``innerHTML'', as opposed to inner_t_HTML. ;-)
innerHTML is an IE extension that was added to Mozilla in response to very high
interested by web developers who are much more confortable with creating and
assigning strings of HTML rather than using the raw DOM.
Okay, in that case, I'll kick this over to jst to triage. jst, is it reasonable
to be setting |innerHTML| on a <div> element?
Assignee: bclary → jst
All Evangelism Bugs are now in the Product Tech Evangelism. See bug 86997 for
details.
Component: Evangelism → US English
Product: Browser → Tech Evangelism
Target Milestone: mozilla0.9.4 → ---
Version: other → unspecified
Summary: page loads, then vanishes → commercialsource.com - page loads, then vanishes
Keywords: topembed
Summary: commercialsource.com - page loads, then vanishes → WRMB: commercialsource.com - page loads, then vanishes
Whiteboard: [bugscape: 7514]
Blocks: 64833
Summary: WRMB: commercialsource.com - page loads, then vanishes → commercialsource.com - page loads, then vanishes
Whiteboard: [bugscape: 7514] → [bugscape: 7514][wrmb]
seems like this is not an evang bug, moving it out of evang product group
Component: English: US → DOM HTML
Product: Tech Evangelism → Browser
Version: unspecified → other
since this is not an evang bug, readding WRMB to summary
Summary: commercialsource.com - page loads, then vanishes → WRMB: commercialsource.com - page loads, then vanishes
Whiteboard: [bugscape: 7514][wrmb] → [bugscape: 7514]
i think this is an evang candidate. iirc you aren't supposed to call 
document.close()
since this is not an evang bug, setting qa to default
QA Contact: zach → stummala
The page no longer vanishes.  It now loads up but displays the "Member
Directory", Commercial Properties", etc. text headings stacked one underneath
the other on the top left of the page rather than showing them in the red
backgrounded banner across the page.  This is more a layout problem now and Beth
tells me that that is being tracked in another bug.  Marking this one as worksforme.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
the page does not render properly. i am investigating this bug. the menu items
do not display properly looks more like a evangalism to me.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
removing topembed
Keywords: topembed
Page looks the same to me in Mozilla0.9.7 and in IE5 on win2k. Worksforme?
WORKSFORME.
Status: REOPENED → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → WORKSFORME
verified worksforme build 2002-03-18-09
Status: RESOLVED → VERIFIED
Component: DOM: HTML → DOM: Core & HTML
QA Contact: stummala → general
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: