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)
Tracking
()
VERIFIED
WORKSFORME
People
(Reporter: waterson, Assigned: jst)
References
()
Details
(Whiteboard: [bugscape: 7514])
Attachments
(1 file)
6.38 KB,
patch
|
Details | Diff | Splinter Review |
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.
Reporter | ||
Updated•23 years ago
|
Reporter | ||
Comment 1•23 years ago
|
||
Reporter | ||
Comment 2•23 years ago
|
||
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
Reporter | ||
Comment 3•23 years ago
|
||
Make that ``innerHTML'', as opposed to inner_t_HTML. ;-)
Comment 4•23 years ago
|
||
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.
Reporter | ||
Comment 5•23 years ago
|
||
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
Comment 6•23 years ago
|
||
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
Updated•23 years ago
|
Summary: page loads, then vanishes → commercialsource.com - page loads, then vanishes
Updated•23 years ago
|
Keywords: topembed
Summary: commercialsource.com - page loads, then vanishes → WRMB: commercialsource.com - page loads, then vanishes
Whiteboard: [bugscape: 7514]
Updated•23 years ago
|
Summary: WRMB: commercialsource.com - page loads, then vanishes → commercialsource.com - page loads, then vanishes
Whiteboard: [bugscape: 7514] → [bugscape: 7514][wrmb]
Comment 7•23 years ago
|
||
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
Comment 8•23 years ago
|
||
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()
Comment 10•23 years ago
|
||
since this is not an evang bug, setting qa to default
QA Contact: zach → stummala
Comment 11•23 years ago
|
||
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
Comment 12•23 years ago
|
||
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 → ---
Comment 14•23 years ago
|
||
Page looks the same to me in Mozilla0.9.7 and in IE5 on win2k. Worksforme?
Assignee | ||
Comment 15•23 years ago
|
||
WORKSFORME.
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → WORKSFORME
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.
Description
•