Welcome to the { mindfrost82.com } forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Software > Mozilla Software > FireFox

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-17-2006, 08:59 AM
Jeff
 
Posts: n/a
FF1.5.0.1 Javascript: TOP sometimes becomes undefined

In FF1.5.0.1 I note an intermittent problem with javascript: TOP
sometimes becomes undefined.

top is a JavaScript global that represents the containing topmost window
(esp. useful from frames within a frameset). I have never seen it
undefined in either a fully or partially loaded page in any browser
since NS4.72 before.

Oddly, it is initially defined, but after clicking on links in the
frame, it becomes undefined.

The application JavaScript has been running ok since Netscape 4.72. :)

In more detail: I have a frameset, with four frames. Clicking on any of
a large number links in a frame, calls a javascript function which
either creates a new floating window, or updates the location of one of
the other frames, and returns false so that the link does not fire.

I can click on a links in the frame, and windows open or update
correctly, but after a few (5-8) clicks in the frame (that itself is NOT
changed), top becomes undefined.

We use FF in our Dev environment, so this is the first version of FF
where we have noted the problem - and yes, we were using the pre-release
betas as they became available.

I have been trying to construct a simple example that reliably
duplicates the problem, with no luck yet. Unfortunately, I have no
official remaining time budget for more investigation (three days so far
:() and we have had to move our dev environment to IE6.

Does anyone know of circumstances where FF JavaScript loses top?

Regards & thanks,
Jeff
Reply With Quote
  #2 (permalink)  
Old 02-17-2006, 09:23 AM
Gus Richter
 
Posts: n/a
Re: FF1.5.0.1 Javascript: TOP sometimes becomes undefined

Jeff wrote:
> In FF1.5.0.1 I note an intermittent problem with javascript: TOP
> sometimes becomes undefined.
>
> top is a JavaScript global that represents the containing topmost window
> (esp. useful from frames within a frameset). I have never seen it
> undefined in either a fully or partially loaded page in any browser
> since NS4.72 before.
>
> Oddly, it is initially defined, but after clicking on links in the
> frame, it becomes undefined.
>
> The application JavaScript has been running ok since Netscape 4.72. :)
>
> In more detail: I have a frameset, with four frames. Clicking on any of
> a large number links in a frame, calls a javascript function which
> either creates a new floating window, or updates the location of one of
> the other frames, and returns false so that the link does not fire.
>
> I can click on a links in the frame, and windows open or update
> correctly, but after a few (5-8) clicks in the frame (that itself is NOT
> changed), top becomes undefined.
>
> We use FF in our Dev environment, so this is the first version of FF
> where we have noted the problem - and yes, we were using the pre-release
> betas as they became available.
>
> I have been trying to construct a simple example that reliably
> duplicates the problem, with no luck yet. Unfortunately, I have no
> official remaining time budget for more investigation (three days so far
> :() and we have had to move our dev environment to IE6.
>
> Does anyone know of circumstances where FF JavaScript loses top?
>
> Regards & thanks,
> Jeff


My suggestion is to try this newsgroup:
mozilla.dev.tech.js-engine
on this server.

--
Gus
Reply With Quote
  #3 (permalink)  
Old 02-17-2006, 08:26 PM
Ron K.
 
Posts: n/a
Re: FF1.5.0.1 Javascript: TOP sometimes becomes undefined

T-bird Leader Jeff radioed the tower , on 2/17/2006 3:59 AM:

> In FF1.5.0.1 I note an intermittent problem with javascript: TOP
> sometimes becomes undefined.
>
> top is a JavaScript global that represents the containing topmost window
> (esp. useful from frames within a frameset). I have never seen it
> undefined in either a fully or partially loaded page in any browser
> since NS4.72 before.
>
> Oddly, it is initially defined, but after clicking on links in the
> frame, it becomes undefined.
>
> The application JavaScript has been running ok since Netscape 4.72. :)
>
> In more detail: I have a frameset, with four frames. Clicking on any of
> a large number links in a frame, calls a javascript function which
> either creates a new floating window, or updates the location of one of
> the other frames, and returns false so that the link does not fire.
>
> I can click on a links in the frame, and windows open or update
> correctly, but after a few (5-8) clicks in the frame (that itself is NOT
> changed), top becomes undefined.
>
> We use FF in our Dev environment, so this is the first version of FF
> where we have noted the problem - and yes, we were using the pre-release
> betas as they became available.
>
> I have been trying to construct a simple example that reliably
> duplicates the problem, with no luck yet. Unfortunately, I have no
> official remaining time budget for more investigation (three days so far
> :() and we have had to move our dev environment to IE6.
>
> Does anyone know of circumstances where FF JavaScript loses top?
>
> Regards & thanks,
> Jeff


Interesting and I think I have an example for your investigation.

Thunderbird 1.5 JS Console error:
Error: Expected end of value for property but found 'repeat-y'. Error in
parsing value for property 'list-style-image'. Declaration dropped.
Source File: chrome://editor/skin/EditorDialog.css
Line: 360

View source of offending code:
/* ::::: Publishing Progress ::::: */

..progressitem[progress="busy"] {
list-style-image: url("chrome://editor/skin/icons/progress-busy.gif")
repeat-y top;
}

This error is what I get from the Sky Pilot Classic theme running on Tbird
1.5 using the 02062006 build of SPC. On FF I have the 02112006 build and
that build stopped reporting JS errors with that build.

At least now I know what the use of top is in the cited line of code.

Please visit the group that Gus has suggested as this query is OT in this
user support group.

--
Ron K.
Don't be a fonted, it's just type casting.
Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Software > Mozilla Software > FireFox


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:45 PM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0


Sponsors:
MPAA | Share Prices | Car Credit | Credit Counseling | Loan



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114