зеркало из https://github.com/mozilla/gecko-dev.git
ec75a11133
- this automated test is now a complete example for how to test an ajax web application in an automated fashion. M dom/classes/org/mozilla/dom/NodeImpl.java M dom/jni/org_mozilla_dom_NodeImpl.cpp - implement getTextContent() from DOM level 3. M webclient/build-tests.xml - add cardemoTest to unit test list as a place-holder until I can write a testcase that doesn't require the public Internet. A webclient/classes_spec/org/mozilla/mcp/AjaxListener.java - New class. Docs forthcoming. M webclient/classes_spec/org/mozilla/mcp/MCP.java - new methods to support complete ajax automated testing. M webclient/src_moz/AjaxListener.cpp M webclient/src_moz/AjaxListener.h - add mIsObserving flag. From our dtor, make sure to remove ourselves from the EmbedProgress. M webclient/src_moz/EmbedProgress.cpp M webclient/src_moz/EmbedProgress.h - We need to add ourselves as an observer both from SetCapturePageInfo and SetEventRegistration. M webclient/src_moz/NativeBrowserControl.cpp - Unit testing found a bug! We can't call mWindow->ReleaseChildren() until after we remove ourself as a listener. |
||
---|---|---|
.. | ||
Makefile.in | ||
javaDOMEventsGlobals.cpp | ||
javaDOMEventsGlobals.h | ||
javaDOMGlobals.cpp | ||
javaDOMGlobals.h | ||
nativeDOMProxyListener.cpp | ||
nativeDOMProxyListener.h | ||
org_mozilla_dom_AttrImpl.cpp | ||
org_mozilla_dom_CharacterDataImpl.cpp | ||
org_mozilla_dom_DOMAccessor.cpp | ||
org_mozilla_dom_DOMImplementationImpl.cpp | ||
org_mozilla_dom_DocumentImpl.cpp | ||
org_mozilla_dom_DocumentTypeImpl.cpp | ||
org_mozilla_dom_ElementImpl.cpp | ||
org_mozilla_dom_EntityImpl.cpp | ||
org_mozilla_dom_NamedNodeMapImpl.cpp | ||
org_mozilla_dom_NodeImpl.cpp | ||
org_mozilla_dom_NodeListImpl.cpp | ||
org_mozilla_dom_NotationImpl.cpp | ||
org_mozilla_dom_ProcessingInstructionImpl.cpp | ||
org_mozilla_dom_TextImpl.cpp | ||
org_mozilla_dom_events_EventImpl.cpp | ||
org_mozilla_dom_events_MouseEventImpl.cpp | ||
org_mozilla_dom_events_UIEventImpl.cpp |