• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Firefox: uncaught exception: Permission denied to get property Window.timerId

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In general, here's what I have:

1. A document with an anchor tag in it. This document contains a reference to an external js file. There are no js functions built into the document.

2. When the link is clicked, a js function is called to create a new window, keeping a handle to it in a global reference. The click action also fires off an Ajax request.

3. The function that receives the Ajax response adds a FORM to the document in the second window, targeting the response to itself (the second window). (Creating a new window in advance of the Ajax request/reponse is done to avoid a popup blocker.)

Both windows/pages are on the same domain. No JS functions exist in the window opened in step #2 above.

My problem is that the following Javascript error is given -- but only in Firefox (ver 1.5.0.11):

"uncaught exception: Permission denied to get property Window.timerId"

Firefox does not provide a statement # for the error, and I've been unable to catch it with a try/catch block.

My global variable for the second window is defined like this:



Smattered throughout a few different functions in the external js file are the following various references to the "ssoWindow" object:



The code WORKS just fine. It's just that it shows a Javascript error in the lower right corner when run on FireFox. When run from IE 7, it runs fine and with no Javascript errors.

One other clue: the only time the error shows up is when the process flows through using a GET -- which hints that it might be related to the following statement (but I don't think I could trap the error there):




If you know what might be causing this problem, please let me know. Thanks.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is window.timerID part of your script or a framework?

Eric
 
permaculture is largely about replacing oil with people. And one tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic