Closed Bug 622217 Opened 13 years ago Closed 13 years ago

Extending String.prototype DNW

Categories

(Core :: JavaScript Engine, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 610973

People

(Reporter: erikvvold, Unassigned)

Details

Attachments

(1 file)

When I use the html file here: https://gist.github.com/760601 in any browser any version, other than Minefield it works fine, when I use the file in Minefield however I get the following error:

"".erik is not a function
http://localhost:8500/mvapp-dev/testII.html
Line 8

If I then type the following code into the Firebug Console:
alert(typeof "".erik)

Then the alert is "function" which is expected.. so I'm very confused why I get the error above..
That file works fine for me.  What build are you seeing the problem in?  Do you still see the problem if you disable or uninstall Firebug?
Dup, seems to me, reopen if I marked over-hastily.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: