[xul-interop] Is this a Xul/Xulrunner bug?

Tom Brito <[email protected]> Fri, 29 Oct 2010 15:01:29 -0200
Newsgroups gmane.comp.lang.xul.general
Message-ID <[email protected]>
--===============6794442971168217703==
Content-Type: multipart/alternative; boundary=0016e659f7fe30779e0493c46afc

--0016e659f7fe30779e0493c46afc
Content-Type: text/plain; charset=ISO-8859-1

I have a very simple Xul app that shows a browser component, and with CRTL+L
you can type a new URL to go.

But, for some reason (I'm starting to think it's some Xul bug), the xml is
not recognizing the browser element. The error is:

> Error: browser.loadURI is not a function Source File:
> chrome://test/content/test.xml Line: 15


*My test.xul:*

*
<?xml version="1.0" encoding="UTF-8"?>**
**<!-- Bindings -->
**<?xml-stylesheet href="chrome://test/content/test.css" type="text/css"?>**
**<!-- TV Desktop -->
**<window id="testWindowID" title="Test" width="640" height="480"
**    xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
**
**    <browser id="browserID" type="content" src="http://www.google.com.br/"
flex="1" />**
**</window>

*

*My test.css*
**

*#browserID { -moz-binding: url("chrome://test/content/test.xml#test"); }*

*My test.xml (the XBL):*

<?xml version="1.0"?>

<bindings xmlns="http://www.mozilla.org/xbl"
         xmlns:xbl="http://www.mozilla.org/xbl"
         xmlns:xul="
http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
    <binding id="test">
        <handlers>
            <handler event="keypress" modifiers="control"
keycode="DOM_VK_L">
                <![CDATA[
                    var url = window.prompt('URL address:','');
                    dump("url = " + url + "\n");
                    var browser = document.getElementById("browserID");
                    dump("element = " + browser.nodeName + "\n");
                    browser.loadURI(url);
                ]]>
            </handler>
        </handlers>
    </binding>
</bindings>


So strange...



*
Wellington B. de Carvalho
*

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

<meta http-equiv=3D"content-type" content=3D"text/html; charset=3Dutf-8"><s=
pan class=3D"Apple-style-span" style=3D"font-family: Arial, &#39;Liberation=
 Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 14px; border-coll=
apse: collapse; line-height: 18px; "><p style=3D"margin-top: 0px; margin-ri=
ght: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-r=
ight: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; b=
order-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; b=
order-style: initial; border-color: initial; font-size: 14px; vertical-alig=
n: baseline; background-image: initial; background-attachment: initial; bac=
kground-origin: initial; background-clip: initial; background-color: transp=
arent; clear: both; word-wrap: break-word; background-position: initial ini=
tial; background-repeat: initial initial; ">

I have a very simple Xul app that shows a browser component, and with CRTL+=
L you can type a new URL to go.</p><p style=3D"margin-top: 0px; margin-righ=
t: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-rig=
ht: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; bor=
der-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; bor=
der-style: initial; border-color: initial; font-size: 14px; vertical-align:=
 baseline; background-image: initial; background-attachment: initial; backg=
round-origin: initial; background-clip: initial; background-color: transpar=
ent; clear: both; word-wrap: break-word; background-position: initial initi=
al; background-repeat: initial initial; ">

But, for some reason (I&#39;m starting to think it&#39;s some Xul bug), the=
 xml is not recognizing the browser element. The error is:</p><font class=
=3D"Apple-style-span" face=3D"arial"><blockquote class=3D"gmail_quote" styl=
e=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0=
.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border=
-left-style: solid; padding-left: 1ex; ">

Error: browser.loadURI is not a function Source File: chrome://test/content=
/test.xml Line: 15</blockquote><div>=A0</div><span class=3D"Apple-style-spa=
n" style=3D"border-collapse: separate; line-height: normal; font-size: smal=
l;"><b>My test.xul:</b></span></font><br>

</span><blockquote class=3D"webkit-indent-blockquote" style=3D"margin: 0 0 =
0 40px; border: none; padding: 0px;"><span class=3D"Apple-style-span" style=
=3D"font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, s=
ans-serif; font-size: 14px; border-collapse: collapse; line-height: 18px; "=
><strong style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; m=
argin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px;=
 padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-=
bottom-width: 0px; border-left-width: 0px; border-style: initial; border-co=
lor: initial; font-size: 14px; vertical-align: baseline; background-image: =
initial; background-attachment: initial; background-origin: initial; backgr=
ound-clip: initial; background-color: transparent; "><span class=3D"Apple-s=
tyle-span" style=3D"border-collapse: separate; font-family: arial; line-hei=
ght: normal; font-size: small; "><span class=3D"Apple-style-span" style=3D"=
font-weight: normal;"><br>

&lt;?xml version=3D&quot;1.0&quot; encoding=3D&quot;UTF-8&quot;?&gt;</span>=
</span></strong></span><span class=3D"Apple-style-span" style=3D"font-famil=
y: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; fon=
t-size: 14px; border-collapse: collapse; line-height: 18px; "><strong style=
=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0p=
x; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left:=
 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: =
0px; border-left-width: 0px; border-style: initial; border-color: initial; =
font-size: 14px; vertical-align: baseline; background-image: initial; backg=
round-attachment: initial; background-origin: initial; background-clip: ini=
tial; background-color: transparent; "><span class=3D"Apple-style-span" sty=
le=3D"border-collapse: separate; font-family: arial; line-height: normal; f=
ont-size: small; "><span class=3D"Apple-style-span" style=3D"font-weight: n=
ormal;"><br>

</span></span></strong></span><span class=3D"Apple-style-span" style=3D"fon=
t-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-ser=
if; font-size: 14px; border-collapse: collapse; line-height: 18px; "><stron=
g style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-l=
eft: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; paddin=
g-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-=
width: 0px; border-left-width: 0px; border-style: initial; border-color: in=
itial; font-size: 14px; vertical-align: baseline; background-image: initial=
; background-attachment: initial; background-origin: initial; background-cl=
ip: initial; background-color: transparent; "><span class=3D"Apple-style-sp=
an" style=3D"border-collapse: separate; font-family: arial; line-height: no=
rmal; font-size: small; "><span class=3D"Apple-style-span" style=3D"font-we=
ight: normal;">&lt;!-- Bindings --&gt;<br>

</span></span></strong></span><span class=3D"Apple-style-span" style=3D"fon=
t-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-ser=
if; font-size: 14px; border-collapse: collapse; line-height: 18px; "><stron=
g style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-l=
eft: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; paddin=
g-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-=
width: 0px; border-left-width: 0px; border-style: initial; border-color: in=
itial; font-size: 14px; vertical-align: baseline; background-image: initial=
; background-attachment: initial; background-origin: initial; background-cl=
ip: initial; background-color: transparent; "><span class=3D"Apple-style-sp=
an" style=3D"border-collapse: separate; font-family: arial; line-height: no=
rmal; font-size: small; "><span class=3D"Apple-style-span" style=3D"font-we=
ight: normal;">&lt;?xml-stylesheet href=3D&quot;chrome://test/content/test.=
css&quot; type=3D&quot;text/css&quot;?&gt;</span></span></strong></span><sp=
an class=3D"Apple-style-span" style=3D"font-family: Arial, &#39;Liberation =
Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 14px; border-colla=
pse: collapse; line-height: 18px; "><strong style=3D"margin-top: 0px; margi=
n-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; paddi=
ng-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0p=
x; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0p=
x; border-style: initial; border-color: initial; font-size: 14px; vertical-=
align: baseline; background-image: initial; background-attachment: initial;=
 background-origin: initial; background-clip: initial; background-color: tr=
ansparent; "><span class=3D"Apple-style-span" style=3D"border-collapse: sep=
arate; font-family: arial; line-height: normal; font-size: small; "><span c=
lass=3D"Apple-style-span" style=3D"font-weight: normal;"><br>

</span></span></strong></span><span class=3D"Apple-style-span" style=3D"fon=
t-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-ser=
if; font-size: 14px; border-collapse: collapse; line-height: 18px; "><stron=
g style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-l=
eft: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; paddin=
g-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-=
width: 0px; border-left-width: 0px; border-style: initial; border-color: in=
itial; font-size: 14px; vertical-align: baseline; background-image: initial=
; background-attachment: initial; background-origin: initial; background-cl=
ip: initial; background-color: transparent; "><span class=3D"Apple-style-sp=
an" style=3D"border-collapse: separate; font-family: arial; line-height: no=
rmal; font-size: small; "><span class=3D"Apple-style-span" style=3D"font-we=
ight: normal;">&lt;!-- TV Desktop --&gt;<br>

</span></span></strong></span><span class=3D"Apple-style-span" style=3D"fon=
t-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-ser=
if; font-size: 14px; border-collapse: collapse; line-height: 18px; "><stron=
g style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-l=
eft: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; paddin=
g-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-=
width: 0px; border-left-width: 0px; border-style: initial; border-color: in=
itial; font-size: 14px; vertical-align: baseline; background-image: initial=
; background-attachment: initial; background-origin: initial; background-cl=
ip: initial; background-color: transparent; "><span class=3D"Apple-style-sp=
an" style=3D"border-collapse: separate; font-family: arial; line-height: no=
rmal; font-size: small; "><span class=3D"Apple-style-span" style=3D"font-we=
ight: normal;">&lt;window id=3D&quot;testWindowID&quot; title=3D&quot;Test&=
quot; width=3D&quot;640&quot; height=3D&quot;480&quot;<br>

</span></span></strong></span><span class=3D"Apple-style-span" style=3D"fon=
t-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-ser=
if; font-size: 14px; border-collapse: collapse; line-height: 18px; "><stron=
g style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-l=
eft: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; paddin=
g-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-=
width: 0px; border-left-width: 0px; border-style: initial; border-color: in=
itial; font-size: 14px; vertical-align: baseline; background-image: initial=
; background-attachment: initial; background-origin: initial; background-cl=
ip: initial; background-color: transparent; "><span class=3D"Apple-style-sp=
an" style=3D"border-collapse: separate; font-family: arial; line-height: no=
rmal; font-size: small; "><span class=3D"Apple-style-span" style=3D"font-we=
ight: normal;">=A0=A0 =A0xmlns=3D&quot;<a href=3D"http://www.mozilla.org/ke=
ymaster/gatekeeper/there.is.only.xul">http://www.mozilla.org/keymaster/gate=
keeper/there.is.only.xul</a>&quot;&gt;</span></span></strong></span><span c=
lass=3D"Apple-style-span" style=3D"font-family: Arial, &#39;Liberation Sans=
&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 14px; border-collapse:=
 collapse; line-height: 18px; "><strong style=3D"margin-top: 0px; margin-ri=
ght: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-r=
ight: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; b=
order-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; b=
order-style: initial; border-color: initial; font-size: 14px; vertical-alig=
n: baseline; background-image: initial; background-attachment: initial; bac=
kground-origin: initial; background-clip: initial; background-color: transp=
arent; "><span class=3D"Apple-style-span" style=3D"border-collapse: separat=
e; font-family: arial; line-height: normal; font-size: small; "><span class=
=3D"Apple-style-span" style=3D"font-weight: normal;"><br>

</span></span></strong></span><span class=3D"Apple-style-span" style=3D"fon=
t-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-ser=
if; font-size: 14px; border-collapse: collapse; line-height: 18px; "><stron=
g style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-l=
eft: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; paddin=
g-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-=
width: 0px; border-left-width: 0px; border-style: initial; border-color: in=
itial; font-size: 14px; vertical-align: baseline; background-image: initial=
; background-attachment: initial; background-origin: initial; background-cl=
ip: initial; background-color: transparent; "><span class=3D"Apple-style-sp=
an" style=3D"border-collapse: separate; font-family: arial; line-height: no=
rmal; font-size: small; "><span class=3D"Apple-style-span" style=3D"font-we=
ight: normal;">=A0=A0 =A0&lt;browser id=3D&quot;browserID&quot; type=3D&quo=
t;content&quot; src=3D&quot;<a href=3D"http://www.google.com.br/">http://ww=
w.google.com.br/</a>&quot; flex=3D&quot;1&quot; /&gt;</span></span></strong=
></span><span class=3D"Apple-style-span" style=3D"font-family: Arial, &#39;=
Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 14px; b=
order-collapse: collapse; line-height: 18px; "><strong style=3D"margin-top:=
 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top:=
 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-to=
p-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-lef=
t-width: 0px; border-style: initial; border-color: initial; font-size: 14px=
; vertical-align: baseline; background-image: initial; background-attachmen=
t: initial; background-origin: initial; background-clip: initial; backgroun=
d-color: transparent; "><span class=3D"Apple-style-span" style=3D"border-co=
llapse: separate; font-family: arial; line-height: normal; font-size: small=
; "><span class=3D"Apple-style-span" style=3D"font-weight: normal;"><br>

</span></span></strong></span><span class=3D"Apple-style-span" style=3D"fon=
t-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-ser=
if; font-size: 14px; border-collapse: collapse; line-height: 18px; "><stron=
g style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-l=
eft: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; paddin=
g-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-=
width: 0px; border-left-width: 0px; border-style: initial; border-color: in=
itial; font-size: 14px; vertical-align: baseline; background-image: initial=
; background-attachment: initial; background-origin: initial; background-cl=
ip: initial; background-color: transparent; "><span class=3D"Apple-style-sp=
an" style=3D"border-collapse: separate; font-family: arial; line-height: no=
rmal; font-size: small; "><span class=3D"Apple-style-span" style=3D"font-we=
ight: normal;">&lt;/window&gt;<br>

<br></span></span></strong></span></blockquote><span class=3D"Apple-style-s=
pan" style=3D"font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sa=
ns&#39;, sans-serif; font-size: 14px; border-collapse: collapse; line-heigh=
t: 18px; "><strong style=3D"margin-top: 0px; margin-right: 0px; margin-bott=
om: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bo=
ttom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0p=
x; border-bottom-width: 0px; border-left-width: 0px; border-style: initial;=
 border-color: initial; font-size: 14px; vertical-align: baseline; backgrou=
nd-image: initial; background-attachment: initial; background-origin: initi=
al; background-clip: initial; background-color: transparent; "><span class=
=3D"Apple-style-span" style=3D"border-collapse: separate; font-family: aria=
l; line-height: normal; font-size: small; ">My test.css</span></strong></sp=
an><div>

<span class=3D"Apple-style-span" style=3D"font-family: Arial, &#39;Liberati=
on Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 14px; border-co=
llapse: collapse; line-height: 18px; "><strong style=3D"margin-top: 0px; ma=
rgin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; pa=
dding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width:=
 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width:=
 0px; border-style: initial; border-color: initial; font-size: 14px; vertic=
al-align: baseline; background-image: initial; background-attachment: initi=
al; background-origin: initial; background-clip: initial; background-color:=
 transparent; "><span class=3D"Apple-style-span" style=3D"border-collapse: =
separate; font-family: arial; line-height: normal; font-size: small; "></sp=
an></strong></span><br>

<blockquote class=3D"webkit-indent-blockquote" style=3D"margin: 0 0 0 40px;=
 border: none; padding: 0px;"><span class=3D"Apple-style-span" style=3D"fon=
t-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-ser=
if; font-size: 14px; border-collapse: collapse; line-height: 18px; "><p sty=
le=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: =
0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-lef=
t: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width=
: 0px; border-left-width: 0px; border-style: initial; border-color: initial=
; font-size: 14px; vertical-align: baseline; background-image: initial; bac=
kground-attachment: initial; background-origin: initial; background-clip: i=
nitial; background-color: transparent; clear: both; word-wrap: break-word; =
background-position: initial initial; background-repeat: initial initial; "=
>

<strong style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; ma=
rgin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; =
padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-b=
ottom-width: 0px; border-left-width: 0px; border-style: initial; border-col=
or: initial; font-size: 14px; vertical-align: baseline; background-image: i=
nitial; background-attachment: initial; background-origin: initial; backgro=
und-clip: initial; background-color: transparent; font-weight: bold; backgr=
ound-position: initial initial; background-repeat: initial initial; "><span=
 class=3D"Apple-style-span" style=3D"border-collapse: separate; font-family=
: arial; font-weight: normal; line-height: normal; font-size: small; ">#bro=
wserID { -moz-binding: url(&quot;chrome://test/content/test.xml#test&quot;)=
; }</span></strong></p>

</span></blockquote><p style=3D"margin-top: 0px; margin-right: 0px; margin-=
bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; paddin=
g-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width=
: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: init=
ial; border-color: initial; font-size: 14px; vertical-align: baseline; back=
ground-image: initial; background-attachment: initial; background-origin: i=
nitial; background-clip: initial; background-color: transparent; clear: bot=
h; word-wrap: break-word; font-family: Arial, &#39;Liberation Sans&#39;, &#=
39;DejaVu Sans&#39;, sans-serif; border-collapse: collapse; line-height: 18=
px; ">

<span class=3D"Apple-style-span" style=3D"border-collapse: separate; font-f=
amily: arial; line-height: normal; font-size: small; "><b>My test.xml (the =
XBL):</b></span></p><blockquote class=3D"webkit-indent-blockquote" style=3D=
"margin: 0 0 0 40px; border: none; padding: 0px;">

&lt;?xml version=3D&quot;1.0&quot;?&gt;</blockquote><blockquote class=3D"we=
bkit-indent-blockquote" style=3D"margin: 0 0 0 40px; border: none; padding:=
 0px;"><span class=3D"Apple-style-span" style=3D"font-family: Arial, &#39;L=
iberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 14px; bo=
rder-collapse: collapse; line-height: 18px; "><font class=3D"Apple-style-sp=
an" face=3D"arial"><span class=3D"Apple-style-span" style=3D"border-collaps=
e: separate; line-height: normal; font-size: small;">&lt;bindings xmlns=3D&=
quot;<a href=3D"http://www.mozilla.org/xbl">http://www.mozilla.org/xbl</a>&=
quot;<br>

</span></font></span><span class=3D"Apple-style-span" style=3D"font-family:=
 Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-=
size: 14px; border-collapse: collapse; line-height: 18px; "><font class=3D"=
Apple-style-span" face=3D"arial"><span class=3D"Apple-style-span" style=3D"=
border-collapse: separate; line-height: normal; font-size: small;">=A0=A0 =
=A0 =A0 =A0 xmlns:xbl=3D&quot;<a href=3D"http://www.mozilla.org/xbl">http:/=
/www.mozilla.org/xbl</a>&quot;<br>

</span></font></span><span class=3D"Apple-style-span" style=3D"font-family:=
 Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-=
size: 14px; border-collapse: collapse; line-height: 18px; "><font class=3D"=
Apple-style-span" face=3D"arial"><span class=3D"Apple-style-span" style=3D"=
border-collapse: separate; line-height: normal; font-size: small;">=A0=A0 =
=A0 =A0 =A0 xmlns:xul=3D&quot;<a href=3D"http://www.mozilla.org/keymaster/g=
atekeeper/there.is.only.xul">http://www.mozilla.org/keymaster/gatekeeper/th=
ere.is.only.xul</a>&quot;&gt;</span></font></span><span class=3D"Apple-styl=
e-span" style=3D"font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu=
 Sans&#39;, sans-serif; font-size: 14px; border-collapse: collapse; line-he=
ight: 18px; "><font class=3D"Apple-style-span" face=3D"arial"><span class=
=3D"Apple-style-span" style=3D"border-collapse: separate; line-height: norm=
al; font-size: small;"><br>

</span></font></span><span class=3D"Apple-style-span" style=3D"font-family:=
 Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-=
size: 14px; border-collapse: collapse; line-height: 18px; "><font class=3D"=
Apple-style-span" face=3D"arial"><span class=3D"Apple-style-span" style=3D"=
border-collapse: separate; line-height: normal; font-size: small;">=A0=A0 =
=A0&lt;binding id=3D&quot;test&quot;&gt;<br>

</span></font></span><span class=3D"Apple-style-span" style=3D"font-family:=
 Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-=
size: 14px; border-collapse: collapse; line-height: 18px; "><font class=3D"=
Apple-style-span" face=3D"arial"><span class=3D"Apple-style-span" style=3D"=
border-collapse: separate; line-height: normal; font-size: small;">=A0=A0 =
=A0 =A0 =A0&lt;handlers&gt;<br>

</span></font></span><span class=3D"Apple-style-span" style=3D"font-family:=
 Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-=
size: 14px; border-collapse: collapse; line-height: 18px; "><font class=3D"=
Apple-style-span" face=3D"arial"><span class=3D"Apple-style-span" style=3D"=
border-collapse: separate; line-height: normal; font-size: small;">=A0=A0 =
=A0 =A0 =A0 =A0 =A0&lt;handler event=3D&quot;keypress&quot; modifiers=3D&qu=
ot;control&quot; keycode=3D&quot;DOM_VK_L&quot;&gt;<br>

</span></font></span><span class=3D"Apple-style-span" style=3D"font-family:=
 Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-=
size: 14px; border-collapse: collapse; line-height: 18px; "><font class=3D"=
Apple-style-span" face=3D"arial"><span class=3D"Apple-style-span" style=3D"=
border-collapse: separate; line-height: normal; font-size: small;">=A0=A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0&lt;![CDATA[<br>

</span></font></span><span class=3D"Apple-style-span" style=3D"font-family:=
 Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-=
size: 14px; border-collapse: collapse; line-height: 18px; "><font class=3D"=
Apple-style-span" face=3D"arial"><span class=3D"Apple-style-span" style=3D"=
border-collapse: separate; line-height: normal; font-size: small;">=A0=A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0var url =3D window.prompt(&#39;URL addre=
ss:&#39;,&#39;&#39;);<br>

</span></font></span><span class=3D"Apple-style-span" style=3D"font-family:=
 Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-=
size: 14px; border-collapse: collapse; line-height: 18px; "><font class=3D"=
Apple-style-span" face=3D"arial"><span class=3D"Apple-style-span" style=3D"=
border-collapse: separate; line-height: normal; font-size: small;">=A0=A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0dump(&quot;url =3D &quot; + url + &quot;=
\n&quot;);<br>

</span></font></span><span class=3D"Apple-style-span" style=3D"font-family:=
 Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-=
size: 14px; border-collapse: collapse; line-height: 18px; "><font class=3D"=
Apple-style-span" face=3D"arial"><span class=3D"Apple-style-span" style=3D"=
border-collapse: separate; line-height: normal; font-size: small;">=A0=A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0var browser =3D document.getElementById(=
&quot;browserID&quot;);<br>

</span></font></span><span class=3D"Apple-style-span" style=3D"font-family:=
 Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-=
size: 14px; border-collapse: collapse; line-height: 18px; "><font class=3D"=
Apple-style-span" face=3D"arial"><span class=3D"Apple-style-span" style=3D"=
border-collapse: separate; line-height: normal; font-size: small;">=A0=A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0dump(&quot;element =3D &quot; + browser.=
nodeName + &quot;\n&quot;);<br>

</span></font></span><span class=3D"Apple-style-span" style=3D"font-family:=
 Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-=
size: 14px; border-collapse: collapse; line-height: 18px; "><font class=3D"=
Apple-style-span" face=3D"arial"><span class=3D"Apple-style-span" style=3D"=
border-collapse: separate; line-height: normal; font-size: small;">=A0=A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0browser.loadURI(url);<br>

</span></font></span><span class=3D"Apple-style-span" style=3D"font-family:=
 Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-=
size: 14px; border-collapse: collapse; line-height: 18px; "><font class=3D"=
Apple-style-span" face=3D"arial"><span class=3D"Apple-style-span" style=3D"=
border-collapse: separate; line-height: normal; font-size: small;">=A0=A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0]]&gt;<br>

</span></font></span><span class=3D"Apple-style-span" style=3D"font-family:=
 Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-=
size: 14px; border-collapse: collapse; line-height: 18px; "><font class=3D"=
Apple-style-span" face=3D"arial"><span class=3D"Apple-style-span" style=3D"=
border-collapse: separate; line-height: normal; font-size: small;">=A0=A0 =
=A0 =A0 =A0 =A0 =A0&lt;/handler&gt;<br>

</span></font></span><span class=3D"Apple-style-span" style=3D"font-family:=
 Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-=
size: 14px; border-collapse: collapse; line-height: 18px; "><font class=3D"=
Apple-style-span" face=3D"arial"><span class=3D"Apple-style-span" style=3D"=
border-collapse: separate; line-height: normal; font-size: small;">=A0=A0 =
=A0 =A0 =A0&lt;/handlers&gt;</span></font></span><span class=3D"Apple-style=
-span" style=3D"font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu =
Sans&#39;, sans-serif; font-size: 14px; border-collapse: collapse; line-hei=
ght: 18px; "><font class=3D"Apple-style-span" face=3D"arial"><span class=3D=
"Apple-style-span" style=3D"border-collapse: separate; line-height: normal;=
 font-size: small;"><br>

</span></font></span><span class=3D"Apple-style-span" style=3D"font-family:=
 Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-=
size: 14px; border-collapse: collapse; line-height: 18px; "><font class=3D"=
Apple-style-span" face=3D"arial"><span class=3D"Apple-style-span" style=3D"=
border-collapse: separate; line-height: normal; font-size: small;">=A0=A0 =
=A0&lt;/binding&gt;</span></font></span><span class=3D"Apple-style-span" st=
yle=3D"font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;=
, sans-serif; font-size: 14px; border-collapse: collapse; line-height: 18px=
; "><font class=3D"Apple-style-span" face=3D"arial"><span class=3D"Apple-st=
yle-span" style=3D"border-collapse: separate; line-height: normal; font-siz=
e: small;"><br>

</span></font></span><span class=3D"Apple-style-span" style=3D"font-family:=
 Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-=
size: 14px; border-collapse: collapse; line-height: 18px; "><font class=3D"=
Apple-style-span" face=3D"arial"><span class=3D"Apple-style-span" style=3D"=
border-collapse: separate; line-height: normal; font-size: small;">&lt;/bin=
dings&gt;</span></font></span></blockquote>

<div><br></div><div>So strange...</div><div><br></div><div><br></div><div><=
br></div><i><div style=3D"text-align:left"><span style=3D"font-style:normal=
"><i>Wellington B. de Carvalho</i></span></div></i><br>
</div>

--0016e659f7fe30779e0493c46afc--


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

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
--===============6794442971168217703==
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

--===============6794442971168217703==--