Closed Bug 814622 Opened 7 years ago Closed 7 years ago

window.location.constructor throws "too much recursion" error

Categories

(Core :: XPConnect, defect)

17 Branch
x86_64
Windows Server 2008
defect
Not set

Tracking

()

RESOLVED FIXED

People

(Reporter: bponomarenko, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.14 Safari/537.17

Steps to reproduce:

Execut in console 
window.location.constructor


Actual results:

"too much recursion" error thrown


Expected results:

Expected something like "function String() { [native code] }"
Component: Untriaged → General
OS: Windows 7 → Windows Server 2008
It looks like fixed in Firefox 20, no?

[18:28:41.984] window.location.constructor
[18:28:41.988] [object Location]
Boris, can you reproduce this issue on Firefox 18?
Flags: needinfo?(bponomarenko)
It has been freshly fixed:

m-c
bad=2012-11-22
good=2012-11-23
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=20ec9014f220&tochange=d8e4f06198dc

Suspected bug:
Bug 808608 - Remove same-compartment Location security wrappers
Component: General → XPConnect
Flags: needinfo?(bponomarenko)
Product: Firefox → Core
Currently I'm on release branch and there are no fresh updates. So the latest version I can get is 17 for now.

(In reply to Ioana Budnar [QA] from comment #2)
> Boris, can you reproduce this issue on Firefox 18?
Yes, I still can reproduce it on 

"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0"

(In reply to Ioana Budnar [QA] from comment #2)
> Boris, can you reproduce this issue on Firefox 18?
The fix is in Firefox 20, not 18.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.