Display Profile Data give a empty page

RESOLVED FIXED

Status

Other Applications
Venkman JS Debugger
RESOLVED FIXED
9 years ago
7 years ago

People

(Reporter: wind, Assigned: mao)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 1 obsolete attachment)

(Reporter)

Description

9 years ago
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.
(Reporter)

Comment 1

9 years ago
Created attachment 343770 [details]
A patch to add a delay after open the black page before write data to it

A patch to add a delay after open the black page before write data to it

Comment 2

7 years ago
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.
(Assignee)

Comment 3

7 years ago
Created attachment 456206 [details] [diff] [review]
Patch fixing this issue

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 4

7 years ago
Comment on attachment 456206 [details] [diff] [review]
Patch fixing this issue

r=me, thanks!
Attachment #456206 - Flags: review? → review+

Comment 5

7 years ago
changeset:   652:643dc681cea8
Status: ASSIGNED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.