Changeset 1233 for trunk/autoquest-htmlmonitor/src/main/java/de
- Timestamp:
- 06/27/13 17:12:41 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-htmlmonitor/src/main/java/de/ugoe/cs/autoquest/htmlmonitor/HtmlMonitorServlet.java
r1228 r1233 182 182 ("could not parse incoming data --> discarding it (" + e.toString() + ")"); 183 183 } 184 185 // this must be done to prevent firefox from notifying the "element not found" error 186 response.setContentType("text/plain"); 187 response.getOutputStream().write(' '); 184 188 } 185 189 … … 223 227 else { 224 228 messageListener.handleMessage(clientInfos, guiStructure, events); 229 Console.println 230 ("handled message of " + clientInfos.getClientId() + " (" + 231 clientInfos.getWebAppId() + "; " + events.length + " events)"); 225 232 } 226 233 } … … 516 523 } 517 524 else if ("onchange".equals(eventType)) { 518 // "input_password" don't have a selectedValue 519 if (domPath.contains("input_password")) { 520 result = 521 (coordinates == null) && (key == null) && 522 (scrollPosition == null) && (selectedValue == null); 523 } 524 else { 525 result = 526 (coordinates == null) && (key == null) && 527 (scrollPosition == null) && (selectedValue != null); 528 } 529 525 // onchange events may have and may also not have a selected value. In the second 526 // case it means, that null was selected 527 result = (coordinates == null) && (key == null) && (scrollPosition == null); 530 528 } 531 529 else if ("onkeypress".equals(eventType) || "onkeydown".equals(eventType) ||
Note: See TracChangeset
for help on using the changeset viewer.