If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

[WFM]crash in print preview (framesets involved)

VERIFIED WORKSFORME

Status

()

Core
Print Preview
VERIFIED WORKSFORME
16 years ago
16 years ago

People

(Reporter: Alexandru Savulov, Assigned: rods (gone))

Tracking

({crash})

Trunk
mozilla1.0
x86
Windows 2000
crash
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(2 attachments)

(Reporter)

Description

16 years ago
there is a bad html on that site (<font><select>...) and is crashing only in
print preview.

Here is the debug information:

nsPresContext::LoadImage(const nsString& aURL,
                         nsIFrame* aTargetFrame,
                         imgIRequest **aRequest)
{
...
    if (content) {
      nsCOMPtr<nsIDocument> document;
      rv = content->GetDocument(*getter_AddRefs(document));
      if (NS_FAILED(rv)) return rv;

      nsCOMPtr<nsIScriptGlobalObject> globalScript;
>>>>  rv = document->GetScriptGlobalObject(getter_AddRefs(globalScript));
      if (NS_FAILED(rv)) return rv;

>>>> is where the crash occurs.

I will attach a reduced test case...
(Reporter)

Comment 1

16 years ago
Created attachment 70375 [details]
needed frame (here is the bad HTML)
(Reporter)

Comment 2

16 years ago
Created attachment 70376 [details]
the frameset that has to be loaded in print preview

Steps to reproduce:

Open the frameset attachment and goto Print Preview
(Reporter)

Comment 3

16 years ago
added KW crash.

( i camed across this crash as I tesded the test URL's from bug 100336 )
Keywords: crash
(Reporter)

Comment 4

16 years ago
sorry , i ment bug 110336
(Assignee)

Comment 5

16 years ago
Strange, but it is working for me today.
Status: NEW → ASSIGNED
Summary: crash in print preview (framesets involved) → [WFM]crash in print preview (framesets involved)
Target Milestone: --- → mozilla1.0
(Reporter)

Comment 6

16 years ago
hmmm... WFM too with todays 2002022005. I tested then with a previous one -
2002021803 - and in that one is crashing... Something must have changed since.

Comment 7

16 years ago
marking WFM..please REOPEN if you have a problem again...
Status: ASSIGNED → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → WORKSFORME

Comment 8

16 years ago
verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.