Closed
Bug 282044
Opened 20 years ago
Closed 19 years ago
Print Preview crashes [@ nsPrintEngine::ReflowPrintObject ] when previewing a HTML document containing an XUL document
Categories
(Core :: Print Preview, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 289090
People
(Reporter: minghong, Unassigned)
References
Details
Attachments
(2 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Print Preview crashes when previewing a HTML document containing an XUL document, e.g. <?xml version="1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Print Preview</title> </head> <body> <object type="application/xhtml+xml" data="example.xul" width="640" height="480"/> </body> </html> It affects both Mozilla 1.8a6 and Firefox 1.0. Reproducible: Always Steps to Reproduce: 1. Create a simple hello world XUL document 2. Create a simple hello world HTML documemt containing this XUL document (using <object> or <iframe>) 3. Preview the HTML document Actual Results: The browser crashes! Expected Results: Ignore the XUL document (draw an empty rectangle); or politely tell me that XUL print preview is not supported yet (just use the dialog window shown when print previewing an XUL document). Not sure if it is really "critical", but the browser really crashes.
Comment 1•19 years ago
|
||
Please attach a XUL document (and an HTML document pointing to the XUL attachment) which shows the bug...
Reporter | ||
Comment 2•19 years ago
|
||
The content inside this XUL is not important to this bug.
Reporter | ||
Comment 3•19 years ago
|
||
Using object or frame makes no difference. Using XHTML or HTML makes no difference.
Comment 4•19 years ago
|
||
Worksforme with a current trunk build on Linux... Could you possibly test one on Windows?
Reporter | ||
Comment 5•19 years ago
|
||
Still crashes for Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050223 I got it from: http://ftp.mozilla.org/pub/mozilla.org/mozilla/nightly/latest-trunk/mozilla-i586-pc-msvc.zip
Comment 6•19 years ago
|
||
Well, it definetely crashes for me on print preview with the 20050323 trunk build. Talkback ID: TB4558555G nsPrintEngine::ReflowPrintObject [c:/builds/tinderbox/Fx-Trunk/WINNT_5.0_Depend/mozilla/layout/printing/nsPrintEngine.cpp, line 2821] nsPrintEngine::ReflowDocList [c:/builds/tinderbox/Fx-Trunk/WINNT_5.0_Depend/mozilla/layout/printing/nsPrintEngine.cpp, line 2525] nsPrintEngine::ReflowDocList [c:/builds/tinderbox/Fx-Trunk/WINNT_5.0_Depend/mozilla/layout/printing/nsPrintEngine.cpp, line 2536] nsPrintEngine::SetupToPrintContent [c:/builds/tinderbox/Fx-Trunk/WINNT_5.0_Depend/mozilla/layout/printing/nsPrintEngine.cpp, line 2335] nsPrintEngine::DocumentReadyForPrinting [c:/builds/tinderbox/Fx-Trunk/WINNT_5.0_Depend/mozilla/layout/printing/nsPrintEngine.cpp, line 2161] DocumentViewerImpl::PrintPreview [c:/builds/tinderbox/Fx-Trunk/WINNT_5.0_Depend/mozilla/layout/base/nsDocumentViewer.cpp, line 3245] XPTC_InvokeByIndex [c:/builds/tinderbox/Fx-Trunk/WINNT_5.0_Depend/mozilla/xpcom/reflect/xptcall/src/md/win32/xptcinvoke.cpp, line 102] XPCWrappedNative::CallMethod [c:/builds/tinderbox/Fx-Trunk/WINNT_5.0_Depend/mozilla/js/src/xpconnect/src/xpcwrappednative.cpp, line 2065] XPC_WN_CallMethod [c:/builds/tinderbox/Fx-Trunk/WINNT_5.0_Depend/mozilla/js/src/xpconnect/src/xpcwrappednativejsops.cpp, line 1287] js_Invoke [c:/builds/tinderbox/Fx-Trunk/WINNT_5.0_Depend/mozilla/js/src/jsinterp.c, line 1293] js_Interpret [c:/builds/tinderbox/Fx-Trunk/WINNT_5.0_Depend/mozilla/js/src/jsinterp.c, line 3568] js_Invoke [c:/builds/tinderbox/Fx-Trunk/WINNT_5.0_Depend/mozilla/js/src/jsinterp.c, line 1313] js_InternalInvoke [c:/builds/tinderbox/Fx-Trunk/WINNT_5.0_Depend/mozilla/js/src/jsinterp.c, line 1390] JS_CallFunctionValue [c:/builds/tinderbox/Fx-Trunk/WINNT_5.0_Depend/mozilla/js/src/jsapi.c, line 3804] nsJSContext::CallEventHandler [c:/builds/tinderbox/Fx-Trunk/WINNT_5.0_Depend/mozilla/dom/src/base/nsJSEnvironment.cpp, line 1384] nsGlobalWindow::RunTimeout [c:/builds/tinderbox/Fx-Trunk/WINNT_5.0_Depend/mozilla/dom/src/base/nsGlobalWindow.cpp, line 5192] nsGlobalWindow::TimerCallback [c:/builds/tinderbox/Fx-Trunk/WINNT_5.0_Depend/mozilla/dom/src/base/nsGlobalWindow.cpp, line 5553] nsAppStartup::Run [c:/builds/tinderbox/Fx-Trunk/WINNT_5.0_Depend/mozilla/toolkit/components/startup/src/nsAppStartup.cpp, line 145] main [c:/builds/tinderbox/Fx-Trunk/WINNT_5.0_Depend/mozilla/browser/app/nsBrowserApp.cpp, line 60] kernel32.dll + 0x1eb69 (0x77e5eb69) Two bugs with the same backtrace and that are still open: bug 248425 and bug 189814.
Summary: Print Preview crashes when previewing a HTML document containing an XUL document → Print Preview crashes [@ nsPrintEngine::ReflowPrintObject ] when previewing a HTML document containing an XUL document
Comment 7•19 years ago
|
||
Fixed in Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050406 Firefox/1.0+ Trunk *** This bug has been marked as a duplicate of 289090 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•