Closed Bug 460633 Opened 16 years ago Closed 14 years ago

Display Profile Data give a empty page

Categories

(Other Applications Graveyard :: Venkman JS Debugger, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nightwend, Assigned: ma1)

Details

Attachments

(1 file, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3

Display Profile Data give an empty page.
I create a patch to make it work again.


Reproducible: Always

Steps to Reproduce:
1.Open Javascript Debugger
2.Collect Profile data
3.Display Profile Data
Actual Results:  
An empty page

Expected Results:  
A profile data page

This function works in FF 2.x. But has issue in FF 3.x.
A patch to add a delay after open the black page before write data to it
In Fx 3.6.6, the blank window is accompanied by a security error in the console:

Error: uncaught exception: [Exception... "Security error"  code: "1000" nsresult: "0x805303e8 (NS_ERROR_DOM_SECURITY_ERR)"  location: "<unknown>"]

It appears to be thrown from line 1762 of venkman-commands.js:
w.wrappedJSObject.document.open();
specifically, .open() is the culprit. 

The patch from Comment 1 doesn't help.
This patch works around the problem by opening the whole output as a data: URI.
Notice that the embedded images are broken, but it seems to be an entirely different bug.
Assignee: rginda → g.maone
Attachment #343770 - Attachment is obsolete: true
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #456206 - Flags: review?
Comment on attachment 456206 [details] [diff] [review]
Patch fixing this issue

r=me, thanks!
Attachment #456206 - Flags: review? → review+
changeset:   652:643dc681cea8
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Product: Other Applications → Other Applications Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: