Closed Bug 399417 Opened 18 years ago Closed 15 years ago

window.open() followed with window.print() does not work

Categories

(Firefox :: General, defect)

2.0 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: zdenek.hrib, Unassigned)

Details

Attachments

(2 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; cs; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; cs; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7 this jscript IS NOT working: var wnd = window.open("page.html",'somewnd',''); wnd.print(); after choosing the priter and pressing OK, it will show up an error that page was modified and can not be printed and I should try it again. (I have Czech language version so I do not know the exact english words of this error) this jscript IS working: var wnd = window.open("page.html",'somewnd',''); wnd.alert("now printing"); wnd.print(); Reproducible: Always Steps to Reproduce: 1.open the example.html page 2.press Print button on the page 3.choose a printer and press OK Actual Results: shows up an error that page was modified and can not be printed and I should try it again Expected Results: print the page in the new window/panel
I can confirm this for Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.8.1.20) Gecko/20081217 Firefox/2.0.0.20 ID:2008121709. This is WFM using Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.19) Gecko/2010031422 Firefox/3.0.19 ID:2010031422 and newer.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
Version: unspecified → 2.0 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: