Closed Bug 200245 Opened 21 years ago Closed 21 years ago

login to webpage does not work with Mozilla 1.4a

Categories

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

x86
Windows 2000
defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: tobias-mailings, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4a) Gecko/20030401
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4a) Gecko/20030401

Hello all-

with Mozilla 1.4a the login to club.tomorrow.de does not work properly. After
filling in username and password usually another windows opens, closes and then
the old window refresh and you are logged in. Now, the window opens but never
closes. After closing this windows manually and the reloading the club page I am
logged in. I have disabled all privacy related security features but it still
does not work.

Interesting enough, log out is working - the code is below as well.

Here is the code of the windows that pops up but does not close anymore.

<!-- Tomorrow-Internet-AG StoryServer 5.0 Wed Apr 02 10:41:16 2003 -->
<html>
<head></head>
<body>
<script language=javascript>
if (window.opener.parent) {
								window.opener.parent.location.replace('http://club.tomorrow.de/?');
							} else {
								window.opener.location.replace('http://club.tomorrow.de/?');
							};
window.close();
</script>
</body>
</html>


This is the log out script:
<!-- Tomorrow-Internet-AG StoryServer 5.0 Wed Apr 02 10:54:45 2003 -->
<html>
<head></head>
<body>
<!-- IVW VERSION="1.2" --><script LANGUAGE="JavaScript"><!--
		document.write("<img
src='http://tomorrow.ivwbox.de/cgi-bin/ivw/CP?r="+escape(document.referrer)+"'
width='1' height='1' border='0' align='right'>");
	// -->
	</SCRIPT><noscript><img SRC="http://tomorrow.ivwbox.de/cgi-bin/ivw/CP"
width="1" height="1" border="0" align="right"></noscript>
	<img SRC="/cgi-bin/ivw/CP/club/logout/?ord=20030402085445" width="1"
height="1"><script language=javascript>
window.opener.location.replace('http://club.tomorrow.de/');
				window.close();
				</script>
</body>
</html>

Reproducible: Always

Steps to Reproduce:
1. go to club.tomorrow.de
2. login
3. another windows open, should close and reload the parent window.

Actual Results:  
the new window does not close and the old window does not get reloaded.

Expected Results:  
close the window and reload the page

there is a bug 165417 and bug 174349 and bug 184618 that are related to the code
but I don't know if this is a dupe of those.
Java ? I can't see Java on this page
Assignee: ashuk → asa
Component: Java APIs for DOM → Browser-General
QA Contact: avm → asa
just tried the nightly Phoenix build and the login to the webpage does not work
properly with it too.
*** Bug 201305 has been marked as a duplicate of this bug. ***
just check the current Phoenix and Mozila nightlies, still doesn't work. Mark
this as blocking 1.4b-?
Flags: blocking1.4b?
Flags: blocking1.4b? → blocking1.4b-
assigning this to Javascript because nothing happend so far and there is the
javascript tag used..... I would really appriciate if someone can check whats wrong!
The bug still exist in all current Mozilla and Phoenix nightly builds.
Thank you,
Tobias
Component: Browser-General → JavaScript Engine
Not a JS Engine issue; reassigning to DOM Level 0 for analysis.
They will know if bug 174349 and bug 184618 are related.

Tobias:

1. Do you know if this used to work in Mozilla at one time? Or never?

2. Are you getting any errors in Tools > Web Development > JavaScript Console?
   (be sure to clear it of any previous errors first)

3. If so, do you still have the bug when you create a new Mozilla profile?
   Launch Mozilla from a console prompt to bring up the Profile Manager:

        [(path to Mozilla)]./mozilla.exe -profilemanager

4. If so, would it be possible to set up a test account at the site,
   say with:
                      username = mozilla
                      password = bugzilla

   Thanks, that will make it easier to debug what's going wrong -
Assignee: asa → dom_bugs
Component: JavaScript Engine → DOM Level 0
QA Contact: asa → ashishbhatt
Thanks for your response. I have just downloaded the latest nightly build and 
it does seem to work for Mozilla as well as MFirebird now! Anyway, the answers 
to your questions below.

1. Do you know if this used to work in Mozilla at one time? Or never?
> it used to work ever. Just stopped working beginning of April. The last build 
I know where it did not work was from Mai 9th.

2. Are you getting any errors in Tools > Web Development > JavaScript Console?
   (be sure to clear it of any previous errors first)
> yes, there is one error: "Error: uncaught exception: Permission denied to get 
property Function.parent" 

3. If so, do you still have the bug when you create a new Mozilla profile?
   Launch Mozilla from a console prompt to bring up the Profile Manager:
        [(path to Mozilla)]./mozilla.exe -profilemanager
> tried this as well with the older non functional build but didn't help. Now, 
it is working with the latest build without creating a new profile.

Please let me know if you still want to see the login yourself...

Thank you,
Tobias
Tobias: thanks for this information! It looks like the problem was
the error you found in the JavaScript Console:

"Error: uncaught exception: Permission denied to get property Function.parent"

Since that has gone away with the new build, I'm going to resolve this bug
as "WORKSFORME". If the problem ever comes back, please reopen this; thanks -
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.