Closed Bug 134764 Opened 23 years ago Closed 23 years ago

blank page displayed

Categories

(Tech Evangelism Graveyard :: Other, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 141442

People

(Reporter: jstrand1, Assigned: momoi)

References

()

Details

It appears that cookies are not being handled properly on this page.  Opera is
able to get through the below code and display the form.

Version 0.9.9 of mozilla from Debian sid (galeon also affected).

Here are the contents of the page:

<script language="JavaScript" src="sp_common.js"></SCRIPT> <script>
window.onload = function()
		{
			var ModelId = GetCookie("SoftpaqModelId", 0);
			var OsId = GetCookie("SoftpaqOsId", 0);
			
			document.CookieForm.Model.value = ModelId;
			document.CookieForm.Os.value = OsId;
			
			document.CookieForm.submit();
		}
	</SCRIPT>
<form id="CookieForm" name="CookieForm" method="post" action="/falco/sp_list.asp">
<input type="hidden" name="Identifier" value="CookieForm" />
<input type="hidden" id="Model" name="Model"></input>
<input type="hidden" id="Os"  name="Os"></input>
<input type="hidden" id="State" name="State" value="2"></input>
</form>
Javascript console complains about two things:

Error: uncaught exception: Permission denied to set property Window.openDialog
Error: GetCookie is not defined

sp_common.js attempts to define the function openDialog, which is used
internally by Mozilla.  the result is that GetCookie, defined later in the same
file is not seen, so the script embedded in the HTML doesn't work either.

==> evangelism
Assignee: rogerl → momoi
Status: UNCONFIRMED → NEW
Component: JavaScript Engine → The Americas
Ever confirmed: true
Product: Browser → Tech Evangelism
QA Contact: pschwartau → jonrubin
Version: other → unspecified
We're changing things so openDialog will be redefinable.  Marking dup of the
relevant bug.

*** This bug has been marked as a duplicate of 141442 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
v
Status: RESOLVED → VERIFIED
-> Other
Component: The Americas → Other
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.