Side navigation
#8875 closed bug (invalid)
Opened April 14, 2011 02:33PM UTC
Closed April 14, 2011 04:18PM UTC
Last modified March 14, 2012 06:35PM UTC
Permission denied to access property 'nodeType'
Reported by: | Rudi Feijo <rudibr@gmail.com> | Owned by: | Rudi Feijo <rudibr@gmail.com> |
---|---|---|---|
Priority: | undecided | Milestone: | 1.next |
Component: | core | Version: | 1.4.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Problem with jquery 1.4.2 with FF4
The offending line 84 on jquery-1.4.2.js :
if ( selector.nodeType ) {
My code wich resulted in the error :
if(window.opener) {
var target_window = window.opener;
} else {
var target_window = window;
}
changing the href here caused the crash :
$(target_window.location).attr('href', data.projectURL);
workaround was manual js : target_window.location.href =
data.projectURL;
Attachments (0)
Change History (8)
Changed April 14, 2011 02:41PM UTC by comment:1
resolution: | → duplicate |
---|---|
status: | new → closed |
Changed April 14, 2011 02:42PM UTC by comment:3
resolution: | duplicate |
---|---|
status: | closed → reopened |
Changed April 14, 2011 02:43PM UTC by comment:4
owner: | → Rudi Feijo <rudibr@gmail.com> |
---|---|
status: | reopened → pending |
Thanks for taking the time to contribute to the jQuery project by writing a bug report but there simply isn't enough information included in this report to understand what is going on.
We require that all bug reports include a valid reduced test case, which reproduces the issue you are experiencing, on http://jsfiddle.net. This enables us to more easily investigate this issue further.
So please report back with more information and a reproducible test case and we will be more than happy to further investigate this issue.
Changed April 14, 2011 03:54PM UTC by comment:5
component: | unfiled → core |
---|
This may very well be a duplicate of #7500
Changed April 14, 2011 04:18PM UTC by comment:6
resolution: | → invalid |
---|---|
status: | pending → closed |
Your workaround isn't a workaround, it's the way you *should* be setting a property on a Javascript object. There is no reason to use jQuery to do this, it just takes a lot longer and doesn't always work -- because it's not designed to work.
Changed April 14, 2011 04:45PM UTC by comment:7
// Handle everything which isn't a DOM element node
Changed April 14, 2011 06:05PM UTC by comment:8
I'm not sure what you're referring to "Handle everything which isn't a DOM element node", although it sounds like something that might've been a comment in the source at one time.
Regardless, this ticket reports on out-of-date version of jQuery against a case that jQuery doesn't claim to support.