M dist/mcp-test/src/test/java/cardemo/CarDemoTest.java

- Underpinnings for "clickElementWithId"

M dom/jni/Makefile.in

- depend on layout, for nsIBoxObject.  Thanks smaug.

M dom/jni/javaDOMGlobals.h

- copy over WC_ITOA macro

M dom/jni/org_mozilla_dom_ElementImpl.cpp

- add support for special attributes screenX, screenY, clientX, clientY

M webclient/build-tests.xml

- compile the CarDemoTest

M webclient/classes_spec/org/mozilla/mcp/MCP.java

- add getElementInCurrentPageById()

M webclient/test/automated/src/classes/org/mozilla/webclient/DOMTest.java

- exercise new features in dom ElementImpl.


git-svn-id: svn://10.0.0.236/trunk@221363 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
edburns%acm.org
2007-03-06 03:28:47 +00:00
parent 9f43a14fe9
commit 24cfaeb00e
7 changed files with 194 additions and 20 deletions

View File

@@ -107,5 +107,13 @@ class JavaDOMGlobals {
static nsString* GetUnicode(JNIEnv *env,
jstring str);
};
#if defined(XP_UNIX) || defined(XP_MAC) || defined(XP_BEOS)
#define DOM_ITOA(intVal, buf, radix) sprintf(buf, "%d", intVal)
#else
#include <stdlib.h>
#define DOM_ITOA(intVal, buf, radix) itoa(intVal, buf, radix)
#endif
#endif /* __JavaDOMGlobals_h__ */