raghavan.s | 4 Apr 08:47 2011
Picon

How to add listener for DomContentLoaded and Load event

Hi,

I posted this question in mozilla.dev.embedding and got no response.
Trying my luck here,

I am embedding xulrunner in a java application. The application will
launch new window with some URL to measure performance
metrics like DNS time, Connection time, Time to First byte , Time to
last byte, Start render time and document complete.

I used following code to launch the window:

nsIThread thread = threadMgr.getMainThread();

windowWatcher =
(nsIWindowWatcher)serviceManager.getServiceByContractID(" <at> mozilla.org/
embedcomp/window-watcher;1",nsIWindowWatcher.NS_IWINDOWWATCHER_IID);

nsIWindowWatcher watcherProxy =
(nsIWindowWatcher)proxy.getProxyForObject(thread,nsIWindowWatcher.NS_IWINDOWWATCHER_IID,windowWatcher,nsIProxyObjectManager.INVOKE_SYNC);

nsIDOMWindow window=watcherProxy.openWindow(null,
"about:blank","window1",
"chrome,centerscreen,resizable,width=1024,height=768", null);

nsIInterfaceRequestor ir = (nsIInterfaceRequestor)
window.queryInterface(nsIInterfaceRequestor.NS_IINTERFACEREQUESTOR_IID);

nsIWebNavigation webNav
=(nsIWebNavigation)ir.getInterface(nsIWebNavigation.NS_IWEBNAVIGATION_IID);
(Continue reading)

Sheppy | 6 Apr 20:10 2011
Picon

Wiki Wednesday (DOM) - April 6, 2011

Here are today's Wiki Wednesday articles! If you know about these
topics, please try to find a few minutes to look over these articles
that are marked as needing technical intervention and see if you can
fix them up. You can do so either by logging into the wiki and editing
the articles directly, or by emailing your notes, sample code, or
feedback to mdnwiki <at> mozilla.org.

Contributors to Wiki Wednesday will get recognition in next week's
Wiki Wednesday announcement. Thanks in advance for your help!

1) Midas ( http://mzl.la/etuzUS )
2) HTMLTableCaptionElement ( http://mzl.la/hPI31q )
3) HTMLQuoteElement ( http://mzl.la/gxUbC7 )
Sheppy | 13 Apr 20:52 2011
Picon

Wiki Wednesday (DOM) - April 13, 2011

Here are today's Wiki Wednesday articles! If you know about these
topics, please try to find a few minutes to look over these articles
that are marked as needing technical intervention and see if you can
fix them up. You can do so either by logging into the wiki and editing
the articles directly, or by emailing your notes, sample code, or
feedback to mdnwiki <at> mozilla.org.

Contributors to Wiki Wednesday will get recognition in next week's
Wiki Wednesday announcement. Thanks in advance for your help!

1) Plugin ( http://mzl.la/fTkhNx )
2) Focus management in HTML ( http://mzl.la/hs5xsd )
3) window.navigator ( http://mzl.la/e5ucTc )
Andrei Sch | 15 Apr 23:02 2011

Re: XPCNativeWrapper and getData (application/x-moz-node)

I'm having the same issue. "application/x-moz-node" doesn't pass nodes, it passes a sort of wrapper, and,
in case of "treeitem" elements, it passes empty string. Is it a bug?
Sheppy | 20 Apr 19:46 2011
Picon

Wiki Wednesday (DOM) - April 20, 2011

Here are today's Wiki Wednesday articles! If you know about these
topics, please try to find a few minutes to look over these articles
that are marked as needing technical intervention and see if you can
fix them up. You can do so either by logging into the wiki and editing
the articles directly, or by emailing your notes, sample code, or
feedback to mdnwiki <at> mozilla.org.

Contributors to Wiki Wednesday will get recognition in next week's
Wiki Wednesday announcement. Thanks in advance for your help!

Thanks to Nickolay for contributing last week.

1) HTMLAnchorElement ( http://mzl.la/gZfdYL )
2) HTMLQuoteElement ( http://mzl.la/gxUbC7 )
3) HTMLCanvasElement ( http://mzl.la/grmRja )
Sheppy | 27 Apr 20:33 2011
Picon

Wiki Wednesday (DOM) - April 27, 2011

Here are today's Wiki Wednesday articles! If you know about these
topics, please try to find a few minutes to look over these articles
that are marked as needing technical intervention and see if you can
fix them up. You can do so either by logging into the wiki and editing
the articles directly, or by emailing your notes, sample code, or
feedback to mdnwiki <at> mozilla.org.

Contributors to Wiki Wednesday will get recognition in next week's
Wiki Wednesday announcement. Thanks in advance for your help!

1) Gecko-Specific DOM Events ( http://mzl.la/h8qVh7 )
2) HTMLCanvasElement ( http://mzl.la/grmRja )
3) nsIDOMSimpleGestureEvent ( http://mzl.la/i0lebm )

Gmane