opera.general
[Top] [All Lists]

Re: cross-domain XMLHTTPRequest possible?

Subject: Re: cross-domain XMLHTTPRequest possible?
From: Tim Altman
Date: Wed, 28 Jun 2006 10:07:21 -0400
Newsgroups: opera.general
On Mon, 26 Jun 2006 22:30:42 -0500, rt lange <whiteywidow@xxxxxxxxx>
wrote:

>i currently have a page that only works in Firefox because i am requesting 
>a xml file from another domain. the domain is on my local network though - 
>it's from my tivo's webserver. 
>i wonder if it's possible in opera 9 to enable the cross-domain privilege 
>like i can in firefox. here's the code:
>var myXMLHTTPRequest = new XMLHttpRequest();
>netscape.security.PrivilegeManager.enablePrivilege('UniversalBrowserRead');
>myXMLHTTPRequest.open("GET", 'https://192.168.0.110/TiVoConnect?
>Command=QueryContainer&Container=%2FNowPlaying&Recurse=Yes', 
>true,'tivo',mak);

No, it's not.  You should see a security error in Opera's JS console
when you try to do that.  It could make sense to allow this for local
networks, though.  Would you please file a bug report?

-- 
Tim Altman
Core QA
Opera Software
Remove NO SPAM from e-mail address to reply

<Prev in Thread] Current Thread [Next in Thread>