Closed
Bug 666570
Opened 14 years ago
Closed 6 years ago
form submit followed by continuing document.writes in a newly opened window doesn't work right
Categories
(Core :: DOM: Core & HTML, defect, P5)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: moz.bugzilla, Unassigned)
References
()
Details
(Keywords: regression)
Attachments
(1 file)
1.32 KB,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:5.0) Gecko/20100101 Firefox/5.0
Build Identifier: Mozilla/5.0 (Windows NT 6.1; rv:5.0) Gecko/20100101 Firefox/5.0
Before the upgrade to FF 5.0 a webpage containing the script provided in the TestURL was working as a sharm.
After the upgrade, when you click on "open popup" it didnt generate the virtual webpage with document.write, it will only show everything is after the </script> tag, the problem is due to </script> tag inside the document.write function (I need to do it, for generate a popup form with autosubmit).
Reproducible: Always
Steps to Reproduce:
1. Click on Open popup
2. Give a look to the Popup Source page.
Actual Results:
Firefox will open a popup, and write inside everything is after the <script></script> tag is written.
Expected Results:
Firefox will open a popup, and write inside the popup the form and script for autosubmit it.
Tested on Win7 64bit and 32bit.
With Internet Explorer 8 and 9 it work as sharm.
![]() |
||
Comment 1•14 years ago
|
||
> Before the upgrade to FF 5.0
Upgrade from where?
Firefox 4 has the same behavior...
In any case, it looks like this page does a submit() while it's still being written to, then the following write() cancels the submit is my guess. Checking on that.
![]() |
||
Comment 2•14 years ago
|
||
The behavior here changed back in October 2010, in this range: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=178f26e21cfc&tochange=ad0a0be8be74
I'm guessing the culprit is the CreateAboutBlankContentViewer change mrbkap added, somehow...
Henri, do your about:blank changes affect this at all?
![]() |
||
Comment 3•14 years ago
|
||
And resummarizing and over to DOM.
Assignee: general → nobody
Status: UNCONFIRMED → NEW
Component: JavaScript Engine → DOM
Ever confirmed: true
Keywords: regression
QA Contact: general → general
Summary: </script> tag inside a document.write function. → form submit followed by continuing document.writes in a newly opened window doesn't work right
![]() |
||
Comment 4•14 years ago
|
||
Updated•14 years ago
|
OS: Windows 7 → All
Hardware: x86 → All
Version: unspecified → Trunk
Reporter | ||
Comment 5•14 years ago
|
||
(In reply to comment #1)
> > Before the upgrade to FF 5.0
>
> Upgrade from where?
From the automatic update of ff.
>
> Firefox 4 has the same behavior...
>
> In any case, it looks like this page does a submit() while it's still being
> written to, then the following write() cancels the submit is my guess.
> Checking on that.
I'v written it on Oct 2009, and I'v saw it still working some months ago.
That's why I thought it was due of FF 5.x upgrade.
But Yes, u'r right, with FF 4.0.1 it still did not work. So maybe FF 3.x I was using during the developing.
Comment 6•14 years ago
|
||
(In reply to comment #2)
> Henri, do your about:blank changes affect this at all?
It seems that they don't.
Comment 7•7 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046
Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.
If you have questions, please contact :mdaly.
Priority: -- → P5
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
![]() |
||
Comment 8•6 years ago
|
||
Worksforme, as far as I can tell. The popup tries to load "gw_vpopup.php".
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•