Open
Bug 313115
Opened 21 years ago
Updated 4 years ago
"uncaught exception" without source file in console
Categories
(Core :: DOM: Core & HTML, defect, P5)
Tracking
()
NEW
People
(Reporter: bugzilla, Unassigned)
Details
(Keywords: helpwanted)
I've seen this a couple of times in my console:
Error: uncaught exception: Permission denied to call method Location.toString
and I'm pretty sure it comes from a extension but I'm not sure which one.
Why isn't there a source and linenumber along with the exception?
Comment 1•20 years ago
|
||
Flashblock seems to trigger this. I *would* help to get a line number otherwise we are navigating in the dark here.
I also experience this. Using: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1 running Win-XT Pro SP2. What information can I give you to help figure out why there is no source or line number?
Comment 3•20 years ago
|
||
This bug needs steps to reproduce. Not much we can do about it without those.
| Reporter | ||
Comment 4•20 years ago
|
||
I can get the error using
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060530 Minefield/3.0a1
when I go to:
http://bsd.slashdot.org/article.pl?sid=06/05/31/126238&from=rss
| Reporter | ||
Comment 5•20 years ago
|
||
(In reply to comment #3)
> This bug needs steps to reproduce. Not much we can do about it without those.
>
I narrowed it down to:
http://gemal.dk/test/test22.html
Comment 6•20 years ago
|
||
I don't get an exception when I load that...
| Reporter | ||
Comment 7•20 years ago
|
||
(In reply to comment #6)
> I don't get an exception when I load that...
>
what build id and os are you using?
Comment 8•20 years ago
|
||
Linux, trunk build from source pulled at MOZ_CO_DATE="Mon May 29 13:46:12 CDT 2006"
| Reporter | ||
Comment 9•20 years ago
|
||
(In reply to comment #8)
> Linux, trunk build from source pulled at MOZ_CO_DATE="Mon May 29 13:46:12 CDT
> 2006"
>
perhaps this one is a windows only. I think perhaps it has something to do with flash. perhaps some js from flash?
could you try on a windoze?
Comment 10•20 years ago
|
||
Not really -- no Windows around until at least a few weeks from now at best.
Comment 11•20 years ago
|
||
I can reproduce, only happens if the flash movie is in an iframe. Could be FSCommand, since the console gets line 0, which would mean its being evaluated.
| Reporter | ||
Comment 12•20 years ago
|
||
(In reply to comment #11)
> I can reproduce, only happens if the flash movie is in an iframe. Could be
> FSCommand, since the console gets line 0, which would mean its being evaluated.
>
yeah. if you turn off the flash plugin you dont get the error.
Comment 13•20 years ago
|
||
It's not like we can give a source file for JS code Flash just runs...
Comment 14•20 years ago
|
||
This is really annoying. brendan on IRC said he was getting this, too. Need somebody to figure out why it is happening.
Updated•20 years ago
|
Flags: blocking1.9?
Comment 15•20 years ago
|
||
(In reply to comment #14)
> This is really annoying. brendan on IRC said he was getting this, too. Need
> somebody to figure out why it is happening.
Perhaps it's just a commonly made error on the web, that we now catch. Should we make it a silent failure? I don't think so.
Even if Flash is calling, we can do better. We could put a fake filename and line number together that spell "FlashPlayer did it" ;-).
/be
Comment 16•20 years ago
|
||
Not a security-update blocker. If it's annoying enough get us a reviewed, trunk-baked patch and we might consider it, but no promises.
Flags: blocking1.8.1.1? → blocking1.8.1.1-
Comment 17•20 years ago
|
||
The following is from bug 338630 comment 6 :
With the latest minefield (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.9a1) Gecko/20061102 Minefield/3.0a1) and the latest Flashblock this error
does not occur. [Error calling method on NPObject!]
With my test case:
<http://bugzilla.mozdev.org/attachment.cgi?id=3667&action=view>
I get the following error:
Error: uncaught exception: Permission denied to call method Location.toString
Which is bug 313115
With martijn's test case:
<http://wargers.org/mozilla/bug338630/mazda-test_iframe.html>
I don't get any errors.
The difference is that martijn has a <head></head>
Comment 18•19 years ago
|
||
This bug can be reproduced easily on Mozilla/5.0 (Macintosh; U; Intel Mac OS X; fr; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1,
<html>
<body>
<iframe width='800' height='600' src='http://youtube.com/watch?v=M9BON5nd8Fg'></iframe>
</body>
</html>
.. actually works with all the flash websites I could think of. Whenever there's a remote flash object in an iframe the exception is thrown which is pretty annoying.
Thanks for paying attention to that issue!
Updated•17 years ago
|
Assignee: general → nobody
QA Contact: ian → general
Comment 20•8 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046
Move all DOM bugs that haven't been updated in more than 3 years and has no one currently assigned to P5.
If you have questions, please contact :mdaly.
Priority: -- → P5
Updated•4 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•