Closed
Bug 300674
Opened 19 years ago
Closed 18 years ago
Crash with Print Preview with this testcase [@ 0x00000009 - nsCSSFrameConstructor::ReinsertContent]
Categories
(Core :: Print Preview, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: martijn.martijn, Unassigned)
Details
(Keywords: crash, testcase)
Crash Data
Attachments
(3 files)
This is a follow-up from bug 299107. The testcase I'll attach shows that it is still possible to crash Mozilla on print preview in a way that is similar to bug 299107
| Reporter | ||
Comment 1•19 years ago
|
||
Updated•19 years ago
|
Component: Printing → Print Preview
Comment 3•19 years ago
|
||
Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b3) Gecko/20050711 SeaMonkey/1.0a Talkback TB7466175H
Comment 4•19 years ago
|
||
Summary: Crash with Print Preview with this testcase → Crash with Print Preview with this testcase [@ 0x00000009 - nsCSSFrameConstructor::ReinsertContent]
Comment 5•19 years ago
|
||
Yeah, the problem here is that the DOM we're print previewing gets modified. We need to prevent that from happening is all.
Comment 7•19 years ago
|
||
We rewrite print preview to not suck? :( Seriously, short of cloning the DOM for print preview or modifying various code to deal with print preview's little idiosyncrasies, I'm not sure what we can do. :(
Comment 8•19 years ago
|
||
Testcase does not crash for me using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060621 Minefield/3.0a1 ID:2006062104 [cairo]
| Reporter | ||
Comment 9•19 years ago
|
||
Yeah, I also don't crash anymore with current trunk build. However the iframe disappears suddenly in print preview, which it shouldn't do. You shouldn't be able to modify the dom during print preview and that is still possible. I could imagine it would still be possible to create a similar testcase that still crashes.
Comment 10•18 years ago
|
||
also no crash for me in Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9a6pre) Gecko/20070613 Minefield/3.0a6pre ID:2007061304 [cairo] Martijn, do you see still this crash ?
| Reporter | ||
Comment 11•18 years ago
|
||
Yeahu, worksforme too. I'll mark this bug worksforme, then. I kept this open for comment 5, that said "the DOM we're print previewing gets modified. We need to prevent that from happening is all." But according to roc you should be able to modify the dom on print preview.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
Comment 12•18 years ago
|
||
Er... we should? Why, exactly? I don't buy that. Modifying it _before_ print preview is fine, but not while print preview is up, imo.
Comment 13•18 years ago
|
||
(In reply to comment #12) > Modifying it _before_ print preview is fine, but not while print preview is up, > imo. There's two issues here: one is that print preview shouldn't be dynamically modifiable, and the second is that we shouldn't crash when dynamic changes happen in paginated contexts. For the first issue, there's really only one way to fix that correctly, and that's to clone the document before print preview. Unfortunately, we can't clone HTML documents at the moment, so it's kinda difficult to fix. I think there's another bug on that, but I don't know the number off the top of my head. The other issue is that we should be able to handle dynamic changes in paginated contexts without crashing. At the moment, we can generally handle that smoothly, although I think there might be some issues with tables.
What Eli said... what I meant when I talked to Martijn is that we should be able to tolerate DOM changes in paginated contexts, so DOM changes in print preview shouldn't crash the browser. That does not mean we should allow those changes...
Updated•13 years ago
|
Crash Signature: [@ 0x00000009 - nsCSSFrameConstructor::ReinsertContent]
You need to log in
before you can comment on or make changes to this bug.
Description
•