Closed
Bug 621174
Opened 14 years ago
Closed 14 years ago
String.prototype seems broken in FF 4.0 B8
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 610973
People
(Reporter: urkle, Unassigned)
Details
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b8) Gecko/20100101 Firefox/4.0b8
Build Identifier: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b8) Gecko/20100101 Firefox/4.0b8
I have a web application where I modify the prototype of String to include a "sprintf" style method.. such that 'Count %d'.sprintf(cuontVariable) will result in 'Count 234'.
With FF 4 b7 I noticed one page in the application didn't like using the .sprintf call but the rest of the application was fine.. (they were globally in an included script file and thus executed directly on load).
Now with B8 the entire application no longer works as ALL instances of .sprintf do not work. It is as though the prototype changes had not occurred.
I am working on trying to build up a smaller test case to recreate the issue and will update the bug. But this makes FF 4 B8 completely useless with the web application I'm developing for my company.
Reproducible: Always
Steps to Reproduce:
Will provide test case in the next day or two with steps to recreate.
Updated•14 years ago
|
Assignee: nobody → general
Component: General → JavaScript Engine
Product: Firefox → Core
QA Contact: general → general
Version: unspecified → Trunk
Comment 1•14 years ago
|
||
Could this be bug 610973?
Comment 2•14 years ago
|
||
Hard to say without a testcase!
Reporter | ||
Comment 3•14 years ago
|
||
I believe it is the same.. Closing as duplicate.. Once I disabled firebug, everything worked flawlessly. :( I'll make sure the Firebug developers know of this issue.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•