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)

1.8 Branch
x86
Windows XP
defect

Tracking

()

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?
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?
This bug needs steps to reproduce. Not much we can do about it without those.
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
(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
I don't get an exception when I load that...
(In reply to comment #6) > I don't get an exception when I load that... > what build id and os are you using?
Linux, trunk build from source pulled at MOZ_CO_DATE="Mon May 29 13:46:12 CDT 2006"
(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?
Not really -- no Windows around until at least a few weeks from now at best.
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.
(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.
It's not like we can give a source file for JS code Flash just runs...
This is really annoying. brendan on IRC said he was getting this, too. Need somebody to figure out why it is happening.
Flags: blocking1.8.1.1?
Keywords: helpwanted
Version: Trunk → 1.8 Branch
Flags: blocking1.9?
(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
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-
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>
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!
Nice to have, but not a blocker.
Flags: blocking1.9? → blocking1.9-
Assignee: general → nobody
QA Contact: ian → general
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
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.