Closed
Bug 80301
Opened 24 years ago
Closed 23 years ago
Netscape 6.0 drops values when constructing JavaScript on the fly from ASP pages
Categories
(Core :: Networking: HTTP, defect)
Tracking
()
People
(Reporter: hgodbole, Assigned: neeti)
References
()
Details
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)
BuildID: 20010131
When an ASP page tries to send a custom JavaScript out to Netscape by
substituting ASP variables in the JavaScript, Netscape 6 drops the ASP
variable's value.
for e.g. document.form1.<%=lsFieldName%>.value
where the lsFieldName variable is an ASP variable.
What the view source in Netscape 6 shows is:
document.form1..value
The ASP variable substitution is completely ignored.
Viewing the HTTP sends and gets by a packet sniffer shows that the HTML and
Javascript is getting sent out correctly from IIS.
Reproducible: Always
Steps to Reproduce:
As given above
Actual Results: The variable value dosent get substituted in the javascript
Expected Results: the variable should have put its value in the string
document.form1.AccountCode1.value
even
var somestring
somestring = document.form1.<%=lsFieldName%>.value;
does not work.
Comment 1•24 years ago
|
||
Browser, not engine. Reassigning to Networking:HTTP component -
Assignee: rogerl → neeti
Component: Javascript Engine → Networking: HTTP
QA Contact: pschwartau → tever
Comment 2•23 years ago
|
||
Poster, please report bugs here that can only be confirmed with a current
mozilla nightly build, Netscape 6 is based off of this software and these
versions are more current than what is released in the Netscape branded release
,please download a copy here http://ftp.mozilla.org/pub/mozilla/nightly/latest/
and post back here if you find the problem still exists or does not exist.
Reporter could you give a url? It's impossible to test without a testcase.
Could you attach the example page?
one that is on the server,
one that is sent to NS6 (before NS6 recieves it),
one that is gotten by doing a saved as in NS6 and
one that is gotten via view source (copy & paste)
Another thing, it would be good if you can download Mozilla 0.9.2 to test and
see if it is still there. NS6 is 6 months old.
Comment 5•23 years ago
|
||
This is caused by "view source" refetching from the server. We don't repost
form varibles, and something like this is exactly what happens in that case.
*** This bug has been marked as a duplicate of 55583 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•