Closed Bug 13706 Opened 25 years ago Closed 25 years ago

[PP]Dogfood[BLOCKER] Links fail in Child window Mac and Linux Apprunner

Categories

(Core :: XPCOM, defect, P1)

PowerPC
Mac System 8.5
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: gerardok, Assigned: danm.moz)

References

()

Details

(Whiteboard: [PDT+])

Attachments

(4 files)

Overview Description: If you open a form in a child window, it fails to submit
the form data to the server. It happens with the POST and GET methods from
Apprunner only. Viewer works fine.

Regression from 4.x.

Steps to Reproduce:
1) Click on the URL provided and verify you have access to the cgi script. It
will respond as "Welcome to Bubblegum Server!".

If you cannot access to bubblegum, download the attached cgi script and put it
on a web server directory with cgi execution privileges.

2) Download the attached testcase, or create an HTML file with the following
contents:

<HTML>
<HEADER>
<TITLE>Parent Window</TITLE>
</HEADER>
<BODY>
<SCRIPT>
window.open('form.html', 'childw');
</SCRIPT>
</BODY>
</HTML>

3) Download the attached 'form.html' file, or create an HTML file with the
following contents:

<HTML>
<HEAD>
<TITLE>Form Submission from Child Window</TITLE>
</HEAD>
<BODY>

<FORM ACTION="http://bubblegum/gerardok/cgi/cgitest.cgi" METHOD="post">
<INPUT TYPE="text" NAME="myname">
<INPUT TYPE="submit">
</FORM>

</BODY>
</HTML>

4) Load the testcase in the browser. It would open a child window with form.html
in it.

5) Type in 'foo' in the text input and click on the submit button.

Actual Results: The form data is not sent; no server response.

Expected Results: Form data sent to the server and it would be displayed right
below Bubblegum's greeting Msg.

Build ID & Platform Bug Found: 1999-09-09-08-M10 MacOS build

Additional Builds and Platforms Tested On: 1999-08-30-01-M10 Linux build

Additional Information: It works fine on Viewer on all platforms, and on Win32
Apprunner too.
Attached file testcase
Attached file Form.html
Attached file cgi script
Priority: P3 → P1
QA Contact: desale → gerardok
This is preventing automated test cases from running on Apprunner, on MacOS and
Linux. They can run on Viever though, but that won't be enough for beta. Updated
priority and QA contact.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Works on 9/14/1999 build.
Status: RESOLVED → REOPENED
I can still see the described failure on Linux 1999-09-15-08-M11 and Mac
1999-09-14-09-M11 builds. Vidur, are you running Apprunner on MacOS/Linux?
Resolution: FIXED → ---
Assignee: vidur → pollmann
Status: REOPENED → NEW
Reassigning to pollmann. We looked at it together on Linux and see the
problem. It's not DOM related, so I'm moving it off my bug list.
Assignee: pollmann → danm
Summary: [PP][BLOCKER] Apprunner Forms fail to send data from Child window → [PP][BLOCKER] Links fail in Child window Mac and Linux Apprunner
Clicked links are not followed in a child window either.  I'm going to attach a
test case momentarily.

After debugging this with Vidur, we notice that the form submission got as far
as putting a link click event on the PL_EventQueue, but that the event never got
taken off.

I noticed after some further debugging that all link click events in the child
window are put on a different event queue than events in the parent window.  But
this other event queue is never checked.

This is specific to non-Windows platforms, I think.  CC'ing Pav, Ramiro, Pierre,
and Patrick as I'm sure you guys have more of a clue about event queues on Linux
and Mac than I do.  Giving the bug to Danm as word of the locals has it that you
are the expert on event queues.
Attached file Test case
Blocks: 11349
are childwindows modal?  i know there is a problem with popups in modal
dialogs.  dunno if this is related.
Target Milestone: M11
targetting m11, p1. This is blocking QA browser automation, which we need to get
to dogfood ASAP
Summary: [PP][BLOCKER] Links fail in Child window Mac and Linux Apprunner → [PP]Dogfood[BLOCKER] Links fail in Child window Mac and Linux Apprunner
Putting on dogfood radar.
Whiteboard: [PDT+]
Putting on [PDT+] radar.
Status: NEW → RESOLVED
Closed: 25 years ago25 years ago
Component: DOM Level 0 → Threading
Resolution: --- → FIXED
Works like a charm with today's build, Mac and Linux. Judging from pollmann's comments above (9/19/99)
this bug should have been cleared up when bugs 9625 & 15856 were fixed. Calling it done.
Status: RESOLVED → VERIFIED
works fine. verified with 14th's commercial build.
ok
Moving all threading bugs to XPCOM. See bug 160356.
Component: Threading → XPCOM
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: