[xul-interop] Twitter is the only page not loading in Xul browser

Tom Brito <[email protected]> Wed, 3 Nov 2010 10:00:11 -0200
Newsgroups gmane.comp.lang.xul.general
Message-ID <[email protected]>
--===============5307773570279914548==
Content-Type: multipart/alternative; boundary=0016367fb44fc656cd049424c914

--0016367fb44fc656cd049424c914
Content-Type: text/plain; charset=ISO-8859-1

For some reason, twitter is the only page that does not load with:

 browser.loadURI(url);

The jsconsole says:

Security Error: Content at http://twitter.com/ may not load data from
chrome://browser/content/browser.xul.


Controversially, it loads just fine if I put "twitter.com" in the browser
tag's src attribute. But does not if I try from the javascript with
loadURI() method.

Any idea why just twitter is not loading? Any other page works fine.


[]s

*
Wellington B. de Carvalho
*

--0016367fb44fc656cd049424c914
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

For some reason, twitter is the only page that does not load with:<div><br>=
<div>=A0<font class=3D"Apple-style-span" face=3D"&#39;courier new&#39;, mon=
ospace">browser.loadURI(url);</font><br clear=3D"all"><div><br></div><div>T=
he jsconsole says:</div>

<div><br></div></div></div><blockquote class=3D"webkit-indent-blockquote" s=
tyle=3D"margin: 0 0 0 40px; border: none; padding: 0px;"><div><div><div>Sec=
urity Error: Content at <a href=3D"http://twitter.com/">http://twitter.com/=
</a> may not load data from chrome://browser/content/browser.xul.</div>

</div></div></blockquote><div><div><div><br></div><div>Controversially, it =
loads just fine if I put &quot;<a href=3D"http://twitter.com">twitter.com</=
a>&quot; in the browser tag&#39;s src attribute. But does not if I try from=
 the javascript with loadURI() method.</div>

<div><br></div><div>Any idea why just twitter is not loading? Any other pag=
e works fine.</div><div><br></div><div><br></div><div>[]s</div><div><br></d=
iv><i><div style=3D"text-align:left"><span style=3D"font-style:normal"><i>W=
ellington B. de Carvalho</i></span></div>

</i><br>
</div></div>

--0016367fb44fc656cd049424c914--


--===============5307773570279914548==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Achieve Improved Network Security with IP and DNS Reputation.
Defend against bad network traffic, including botnets, malware, 
phishing sites, and compromised hosts - saving your company time, 
money, and embarrassment.   Learn More! 
http://p.sf.net/sfu/hpdev2dev-nov
--===============5307773570279914548==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
XUL News Wire      - http://xulnews.com
XUL Job Postings   - http://xuljobs.com
Open XUL Alliance - http://xulalliance.org  
_______________________________________________
xul-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xul-talk

--===============5307773570279914548==--