Closed Bug 452383 Opened 16 years ago Closed 16 years ago

Permission denied on all DOM methods

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 434522

People

(Reporter: nico_debeissat, Unassigned)

References

Details

(Keywords: dom2)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1

I load a XML document from my domain, with function xml.load(fname).
Then I try to access its content, lots of functions I used with firefox 2 are not allowed any more :
property element.attributes
document.normalizeDocument()
property node.nodeType

How can I use XML if I can not do anything with javascript ?

Reproducible: Always

Steps to Reproduce:
1. load a XML document from your domain
2. try to access propery element.attributes on a markup of your XML
Actual Results:  
Permission denied...

Expected Results:  
I would like to have an array of the attributes of that element.

I worked with Firefox 2.
Keywords: dom2
Version: unspecified → Trunk
Probably a duplicate of bug 434522.
Depends on: 434522
Component: Security → DOM
Product: Firefox → Core
QA Contact: firefox → general
Is this still a problem with current trunk builds?
No, it has been corrected since version 3.0.2. Thx
That's not really trunk, but good enough.  ;)
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.