Closed
Bug 185438
Opened 22 years ago
Closed 21 years ago
document.Frmredir.submit(); problem
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
DUPLICATE
of bug 178258
People
(Reporter: bart.schelstraete, Unassigned)
References
()
Details
(Keywords: testcase)
Attachments
(1 file, 1 obsolete file)
160 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021213 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021213 I don't really know if it's a Mozilla problem, but when entering that site the page doesn't redirect to another page. The source of that page contains 'document.Frmredir.submit();' that doesn't seems to work Reproducible: Always Steps to Reproduce: 1.surf to www.skynet.be (http://www.skynet.be/index.html?new_lang=nl) (sorry , is a Dutch site) 2.In the left frame there are a few field , just below. 'Ik zoek op Easy.be' In 'Wie (naam,firma') enter for example 'schelstraete', In 'Waar' enter for example 'nevel' and press the 'Go' button 3. Another window will open Actual Results: Another page will open - like it should be - but it contains the text 'Indien deze pagina niet automatisch wordt doorgelinkt, klik dan hier'. Which mean: 'If this page doesn't automatically redirect, click here'. Expected Results: Mozilla should automatically redirect to the new page. Tested with build ID 2002121321. (linux build)
Reporter | ||
Comment 1•22 years ago
|
||
Link of the page that contains the redirect javascript: http://www.roularta.be/rd/redirect.asp
Summary: document.Frmredir.submit(); → document.Frmredir.submit(); problem
Comment 2•22 years ago
|
||
JS Console says: Error: document.Frmredir has no properties Source File: http://www.roularta.be/rd/redirect.asp Line: 31 the form works fine if the page has a <body> tag. ==> DOM 0 for further investigation. Evang if <body> is actually required in this case.
Assignee: rogerl → jst
Component: JavaScript Engine → DOM Level 0
QA Contact: pschwartau → desale
Comment 3•22 years ago
|
||
Comment 5•21 years ago
|
||
attachment 109344 [details] is not appropriate.
The <form> and <script> on www.skynet.be are inside <body>,
and <script> is previous to the form.
Attachment #109344 -
Attachment is obsolete: true
Comment 6•21 years ago
|
||
Changing to All. Old summary: document.Frmredir.submit(); problem New summary: document.forms has no properties if script is in body and previous to form Is this Evangelism issue? or dup of bug 178258 or bug 144780?
OS: Linux → All
Hardware: PC → All
Summary: document.Frmredir.submit(); problem → document.forms has no properties if script is in body and previous to form
Comment 7•21 years ago
|
||
> attachment 109344 [details] is not appropriate. it is certainly appropriate for this bug. the URL (redirect.asp) for this bug has NO <body> tag and has the <script> AFTER the <form>. the testcase you has never worked (even in NS4) and will probably never work because the script is processed before the <form> is parsed. The first testcase *does* work in NS4, although it has not worked in Mozilla, back to 0.9.7. If the fixing the testcase is WONTFIX, then this bug should be in Evang. BTW: the first skynet page (the one with the search form) doesn't work now. I filed bug 213155
Updated•21 years ago
|
Attachment #128062 -
Attachment is obsolete: true
Updated•21 years ago
|
Attachment #109344 -
Attachment is obsolete: false
Comment 8•21 years ago
|
||
> it is certainly appropriate for this bug. the URL (redirect.asp) for this bug > has NO <body> tag and has the <script> AFTER the <form>. Then, backing the summary and URL. If so, I think this is a dup of bug 178258, although I can't see that in http://www.roularta.be/rd/redirect.asp.
Summary: document.forms has no properties if script is in body and previous to form → document.Frmredir.submit(); problem
Comment 9•21 years ago
|
||
> If so, I think this is a dup of bug 178258 agreed > I can't see that in http://www.roularta.be/rd/redirect.asp. I get endless redirections going to the URL itself (cookie problem). I think it has to be opened from the search form (which no longer works). marking dupe *** This bug has been marked as a duplicate of 178258 ***
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•