Closed
Bug 246422
Opened 20 years ago
Closed 20 years ago
Venkman profier doesn't change anonymous functions using the guessPattern RegExp
Categories
(Other Applications Graveyard :: Venkman JS Debugger, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: arielladog, Assigned: rginda)
Details
Attachments
(1 file)
267 bytes,
text/html
|
Details |
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040608 I changed the RegExp and was trying to figure out how long the JS was taking. I noticed that the function is correctly named with brackets around it under the loaded scripts panel; however, when you use the profiler, it just lists it as an anonymous function. Reproducible: Always Steps to Reproduce: 1. Take code like this: function myObj(){} myObj.prototype.meX = function(){return "muaha";} 2. Use this RegExp or something similar: \.(\w+)\s*[=]\s*$ 3. Open up the page with the script from step one. Load the JS Debugger. You'll see [meX] appropriately listed in the loaded scripts panel under your page as the name of the function. 4. Now start the profiler and reload the page. Save profile data. Actual Results: It lists a call to an anonymous function. Expected Results: Instead it should list [meX]
Reporter | ||
Comment 1•20 years ago
|
||
Reporter | ||
Updated•20 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Updated•20 years ago
|
Product: Core → Other Applications
Updated•6 years ago
|
Product: Other Applications → Other Applications Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•