зеркало из https://github.com/mozilla/pjs.git
c6a7b92d3b
a cue from Doron Rosenberg in #developers and looked at the Eclipse ATF project's XHRObserver.java. This was my first look at java code that uses the java xpcom bridge, and I'm very impressed. Once I get webclient 2.0 done, I'll definately rewrite as much as possible of the mozilla implementation using the java xpcom bridge. For now, I'm going to continue to crank with my "on-demand hand coded JNI C++" approach. I think I can get results pretty quickly with this. For example, just yesterday I learned that the regular nsIWebProgressListener doesn't get notifications on Ajax requests, and now I see a way to do it (thanks to Doron). Here is the work in progress. A webclient/src_moz/AjaxListener.cpp A webclient/src_moz/AjaxListener.h M logging.properties - set "ALL" for MCP level M dist/mcp-test/src/test/java/cardemo/CarDemoTest.java - Cause an Ajax transaction to happen M webclient/classes_spec/org/mozilla/mcp/MCP.java - log messages for outgoing HTTP requests M webclient/src_moz/EmbedProgress.cpp M webclient/src_moz/EmbedProgress.h - Leverage new AjaxListener class M webclient/src_moz/Makefile.in - add xmlextras, to include nsIXMLHttpRequest. |
||
---|---|---|
.. | ||
mcp-test/src | ||
netbeans | ||
non-ide | ||
build.xml | ||
webclient-dist.xml |