jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ajaqu...@apache.org
Subject svn commit: r667351 - /incubator/jspwiki/trunk/tests/etc/selenium/readme.txt
Date Fri, 13 Jun 2008 05:13:19 GMT
Author: ajaquith
Date: Thu Jun 12 22:13:19 2008
New Revision: 667351

URL: http://svn.apache.org/viewvc?rev=667351&view=rev
Log:
Upgraded Selenium-RC jars to 1.0-beta1. Selenium still does not work with FireFox 3, unfortunately.
:( But hope springs eternal.

Modified:
    incubator/jspwiki/trunk/tests/etc/selenium/readme.txt

Modified: incubator/jspwiki/trunk/tests/etc/selenium/readme.txt
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/tests/etc/selenium/readme.txt?rev=667351&r1=667350&r2=667351&view=diff
==============================================================================
--- incubator/jspwiki/trunk/tests/etc/selenium/readme.txt (original)
+++ incubator/jspwiki/trunk/tests/etc/selenium/readme.txt Thu Jun 12 22:13:19 2008
@@ -90,75 +90,3 @@
 
 BUILD NOTES
 -----------
-	
-ARJ notes 10-Dec-2007:	
-Note: To get Selenium to work, Dirk patched the following two Selenium-core files, which
were re-injected into lib/selenium-server.jar:
-
-core/scripts/htmlutils.js
-
-OLD:
-function triggerEvent(element, eventType, canBubble, controlKeyDown, altKeyDown, shiftKeyDown,
metaKeyDown) {
-    canBubble = (typeof(canBubble) == undefined) ? true : canBubble;
-    if (element.fireEvent) {
-
-function triggerKeyEvent(element, eventType, keySequence, canBubble, controlKeyDown, altKeyDown,
shiftKeyDown, metaKeyDown) {
-    var keycode = getKeyCodeFromKeySequence(keySequence);
-    canBubble = (typeof(canBubble) == undefined) ? true : canBubble;
-    if (element.fireEvent) {
- 
-NEW:
-function triggerEvent(element, eventType, canBubble, controlKeyDown, altKeyDown, shiftKeyDown,
metaKeyDown) {
-    canBubble = (typeof(canBubble) == undefined) ? true : canBubble;
-
-    //if (element.fireEvent) {  
-    /* support for mootools patch Dirk Frederickx Dec 07*/
-	/* see http://forum.mootools.net/viewtopic.php?id=1639 */
-    if (element.ownerDocument.createEventObject) {
-
-function triggerKeyEvent(element, eventType, keySequence, canBubble, controlKeyDown, altKeyDown,
shiftKeyDown, metaKeyDown) {
-    var keycode = getKeyCodeFromKeySequence(keySequence);
-    canBubble = (typeof(canBubble) == undefined) ? true : canBubble;
-
-    //if (element.fireEvent) {  
-    /* support for mootools patch Dirk Frederickx Dec 07*/
-	/* see http://forum.mootools.net/viewtopic.php?id=1639 */
-    if (element.ownerDocument.createEventObject) {
-
-(the last line, "if (element.fireEvent" is what's replaced)
-
-
-core/scripts/selenium-browserbot.js
-
-OLD:
-BrowserBot.prototype.triggerMouseEvent = function(element, eventType, canBubble, clientX,
clientY) {
-    clientX = clientX ? clientX : 0;
-    clientY = clientY ? clientY : 0;
-
-    LOG.debug("triggerMouseEvent assumes setting screenX and screenY to 0 is ok");
-    var screenX = 0;
-    var screenY = 0;
-
-    canBubble = (typeof(canBubble) == undefined) ? true : canBubble;
-    if (element.fireEvent) {
-
-NEW:
-BrowserBot.prototype.triggerMouseEvent = function(element, eventType, canBubble, clientX,
clientY) {
-    clientX = clientX ? clientX : 0;
-    clientY = clientY ? clientY : 0;
-
-    LOG.debug("triggerMouseEvent assumes setting screenX and screenY to 0 is ok");
-    var screenX = 0;
-    var screenY = 0;
-
-    canBubble = (typeof(canBubble) == undefined) ? true : canBubble;
-    //if (element.fireEvent) {  
-    /* support for mootools patch Dirk Frederickx Dec 07*/
-	/* see http://forum.mootools.net/viewtopic.php?id=1639 */
-    if (element.ownerDocument.createEventObject) {
-
-(the last line, "if (element.fireEvent" is what's replaced)
-
-
-Commands to re-inject these files:
-cd tests/etc/selenium/selenium-core-0.8.3-patches
-jar -uvf ../../../../lib/selenium-server-0.9.2.jar core/scripts/selenium-browserbot.js core/scripts/htmlutils.js




Mime
View raw message