I tried upgrading my app to use the latest version of
Script.aculo.us,
but it spits out the following error:
C:\Source\temp\appfuse\test\web\web-tests.xml:28: Canoo
Webtest: R_1393.
Test failed.
Test step invoke
(C:\Source\temp\appfuse\test\web\login.xml:1: )
named "get Login Page" failed with
message "Step[invoke "get Login Page" (1/6)]: Script
error loading
page executing webtest at: invok
e TypeError: Cannot read property "prototype" from null
(http://localhost:9234/appfuse/scripts/prototype.js#1320)
Line 1320 is:
copy(Form.Methods, HTMLFormElement.prototype);
The full method is:
Element.addMethods = function(methods) {
Object.extend(Element.Methods, methods || {});
function copy(methods, destination) {
var cache = Element.extend.cache;
for (var property in methods) {
var value = methods[property];
destination[property] = cache.findOrStore(value);
}
}
if (typeof HTMLElement != 'undefined') {
copy(Element.Methods, HTMLElement.prototype);
copy(Form.Methods, HTMLFormElement.prototype);
[HTMLInputElement, HTMLTextAreaElement,
HTMLSelectElement].each(function(klass) {
copy(Form.Element.Methods, klass.prototype);
});
_nativeExtensions = true;
}
}
Also posted to Canoo WebTest mailing list, but got no
response:
http://www.nabble.com/Issues-with-build1393-and-1416-with-Script.aculo.us-1
.6.4-tf2412243.html
The version of HtmlUnit that WebTest uses is 1.9.
Marc Guillemot
None
1.8
Public
|
Date: 2007-06-05 09:43 I close this issue because latest version from head definitely works with |
|
Date: 2007-03-31 09:53 Hi. |
|
Date: 2007-03-30 07:21 Can you give a try to the latest source from SVN? Recent changes allow (at |
|
Date: 2007-02-20 09:57 I've tried the SVN version of htmlunit together with canoo. Now it dies |
|
Date: 2007-02-19 09:30 Current status (with the latest sources from SVN): 4 prototype unit tests |
|
Date: 2007-02-17 11:16 Hi. |
|
Date: 2006-11-13 10:22 Logged In: YES |
|
Date: 2006-11-13 09:50 Logged In: YES |
|
Date: 2006-11-13 09:45 Logged In: YES |
|
Date: 2006-11-10 17:15 Logged In: YES |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2007-06-05 09:43 | mguillem |
| resolution_id | None | 2007-06-05 09:43 | mguillem |
| assigned_to | nobody | 2007-06-05 09:43 | mguillem |
| close_date | - | 2007-06-05 09:43 | mguillem |
Copyright © 2009 SourceForge, Inc. All rights reserved. Terms of Use