Closed
Bug 1015700
Opened 11 years ago
Closed 9 years ago
Permission denied to call method Location.toString
Categories
(Firefox :: Untriaged, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: alexforever86, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.114 Safari/537.36
Steps to reproduce:
When I tried to embed a Facebook video in iframe, this error occurred in Firefox.
The error occur when I included the following HTML code in my page.
<iframe width="720" height="1280" frameborder="0" src="https://www.facebook.com/video/embed?video_id=627802933963417">
Actual results:
Console error with message 'Permission denied to call method Location.toString' occurred for each iframe with embedded Facebook video. There is no problem with playing video at all. The new Firefox version get freezed for few seconds some time. I suspect whether this is the reason. The issue is only for firefox and produced no such error in Chrome.
Expected results:
The underlying reason for producing the console error should be fixed and there should't be any error displayed in browser console.
Reporter | ||
Updated•11 years ago
|
OS: Windows 7 → Linux
![]() |
||
Comment 1•11 years ago
|
||
The oldest open bug with this in the summary: bug 385676.
QA Whiteboard: [bugday-20140609]
![]() |
||
Comment 2•11 years ago
|
||
http://jsfiddle.net/983mz/ does not produce such an exception for me. Does it produce it for you?
If not, can you please provide a link to a web page that _does_ produce the exception for you?
Flags: needinfo?(alexforever86)
Comment 3•11 years ago
|
||
Error: Permission denied to access property 'toString'
var name = window.opener;
This is the error I get on Citbank India website on logging into Internet banking portal.
![]() |
||
Comment 4•11 years ago
|
||
> This is the error I get on Citbank India website on logging into Internet banking portal.
That would make sense if window.opener is a cross-origin window, yes. The window.name setter converts its argument to a string, but you're not allowed to convert a cross-origin object to a string.
That has nothing to do with this bug as filed, which is about a totally different exception message.
Comment 5•9 years ago
|
||
I will close this bug due to lack of response by the reporter.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Flags: needinfo?(alexforever86)
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•