Closed
Bug 900103
Opened 12 years ago
Closed 12 years ago
Console injected objects don't inherit from window objects
Categories
(Firefox :: Untriaged, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: froidure_nicolas, Unassigned)
References
Details
Attachments
(1 file)
|
774 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31
Steps to reproduce:
We used a project named Jasper to create a small contest but it appeared to be impossible for Firefox users to play with it.
The user had to create a String object, pass it to a function declared in the window scope who test if the object was inheriting from String (obj instanceof String).
Actual results:
The function in the window scope does not recognize that the object has been build with the String constructor.
Expected results:
The function should recognize the object a a string.
I suggest you to give a quick look to the attached file to better understand.
Comment 1•12 years ago
|
||
Works for Me in Firefox23b10
http://hg.mozilla.org/releases/mozilla-beta/rev/0e3cb8907fef
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0 ID:20130729175331
This maybe fixed by Bug 783499
Updated•12 years ago
|
Attachment #783858 -
Attachment mime type: text/plain → text/html
Comment 2•12 years ago
|
||
false false false: 2013-04-09-03-08-55-mozilla-central-firefox-23.0a1.ru.linux-x86_64
true true true: 2013-04-10-06-59-39-mozilla-central-firefox-23.0a1.en-US.linux-x86_64
Comment 3•12 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•