#8875 closed bug (invalid)
Permission denied to access property 'nodeType'
Reported by: | Owned by: | ||
---|---|---|---|
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;
Change History (8)
comment:1 Changed 12 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
comment:2 Changed 12 years ago by
comment:3 Changed 12 years ago by
Resolution: | duplicate |
---|---|
Status: | closed → reopened |
comment:4 Changed 12 years ago by
Owner: | set to Rudi Feijo <rudibr@…> |
---|---|
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.
comment:5 Changed 12 years ago by
Component: | unfiled → core |
---|
This may very well be a duplicate of #7500
comment:6 Changed 12 years ago by
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.
comment:8 Changed 12 years ago by
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.
Duplicate of #7709.