I'm not sure if this is an issue with zombie or a problem with either my install or these sites, but I'm getting very long and unclear errors when I try to visit Google, Wikipedia, or the W3C Validation Service. I was trying to verify that I had installed zombie correctly and was able to write a test on something that (I thought) would work before moving on to a new project.
Each produces what looks to be a javascript error. Here's the one for the validation service (I can supply the other ones if requested. I think Google may have an illegal character.):
Zombie: GET http://validator.w3.org/
Zombie: GET http://validator.w3.org/ => 200
Zombie: GET scripts/mootools.js
Zombie: GET scripts/w3c-validator.js
Zombie: GET http://www.w3.org/QA/Tools/don_prog.js
Zombie: GET scripts/mootools.js => 200
Zombie: Running script from /scripts/mootools.js
Zombie: TypeError: Cannot set property 'constructor' of undefined, at new <anonymous> (/scripts/mootools.js:3:374)
Cannot set property 'constructor' of undefined
Zombie: GET scripts/w3c-validator.js => 200
Zombie: Running script from /scripts/w3c-validator.js
Zombie: TypeError: Object [object Context] has no method 'addEvent', at /scripts/w3c-validator.js:177:8
13 Jan 23:05:25 - The onerror handler
on target
{ frames: [ [Circular] ]
, contentWindow: [Circular]
, window: [Circular]
, self: [Circular]
, location: [Getter/Setter]
, addEventListener: [Function]
, dispatchEvent: [Function]
, browser: [Getter]
, cookies: [Getter]
, sessionStorage: [Getter]
, localStorage: [Getter]
, setTimeout: [Function]
, setInterval: [Function]
, clearTimeout: [Function]
, clearInterval: [Function]
, perform: [Function]
, wait: [Function]
, request: [Function]
, history: [Getter]
, XMLHttpRequest: [Function]
, JSON: {}
, onerror: [Function]
, Image: [Function]
, _document:
{ _childNodes: [ [Object], [Object] ]
, _version: 2179
, _children:
{ '0': [Circular]
, '1': [Circular]
, _element: [Circular]
, _query: [Function]
, _version: 2179
, _snapshot: [Circular]
, _length: 2
}
, _nodeValue: null
, _parentNode: null
, _ownerDocument: [Circular]
, _attributes:
{ _nodes: {}
, _length: 0
, _ownerDocument: null
, _readonly: false
, _parentNode: [Circular]
}
, _nodeName: '#document'
, _readonly: false
, style: { position: 'static' }
, _tagName: '#document'
, _contentType: 'text/html'
, _doctype: null
, _implementation: { _ownerDocument: undefined, _features: [Object] }
, _documentElement: [Circular]
, _ids:
{ banner: [Object]
, title: [Object]
, logo: [Object]
, tagline: [Object]
, frontforms: [Object]
, tabset_tabs: [Object]
, fields: [Object]
, 'validate-by-uri': [Object]
, uri: [Object]
, extra_opt_uri: [Object]
, toggleiconURI: [Object]
, 'uri-charset': [Object]
, 'uri-fbc': [Object]
, 'uri-doctype': [Object]
, 'uri-fbd': [Object]
, urigroup_no: [Object]
, urigroup_yes: [Object]
, 'uri-ss': [Object]
, 'uri-st': [Object]
, 'uri-outline': [Object]
, 'uri-No200': [Object]
, 'uri-verbose': [Object]
, 'validate-by-upload': [Object]
, uploaded_file: [Object]
, extra_opt_upload: [Object]
, 'upload-charset': [Object]
, 'upload-fbc': [Object]
, 'upload-doctype': [Object]
, 'upload-fbd': [Object]
, uploadgroup_no: [Object]
, uploadgroup_yes: [Object]
, 'upload-ss': [Object]
, 'upload-st': [Object]
, 'upload-outline': [Object]
, 'upload-No200': [Object]
, 'upload-verbose': [Object]
, 'validate-by-input': [Object]
, fragment: [Object]
, extra_opt_direct: [Object]
, direct_prefill_no: [Object]
, choice_full: [Object]
, 'direct-doctype': [Object]
, 'direct-fbd': [Object]
, direct_prefill_yes: [Object]
, choice_frag: [Object]
, directfill_doctype_html401: [Object]
, directfill_doctype_xhtml10: [Object]
, directgroup_no: [Object]
, directgroup_yes: [Object]
, 'direct-ss': [Object]
, 'direct-st': [Object]
, 'direct-outline': [Object]
, 'direct-No200': [Object]
, 'direct-verbose': [Object]
, don_program: [Object]
, menu: [Object]
, footer: [Object]
, activity_logos: [Object]
, support_logo: [Object]
, version_info: [Object]
}
, _URL: 'http://validator.w3.org/'
, _documentRoot: 'http:/'
, _queue: { paused: false, tail: [Object], push: [Function] }
, readyState: 'complete'
, createWindow: [Function]
, _parentWindow: [Circular]
, _sessionStorage:
{ length: [Getter]
, key: [Function]
, getItem: [Function]
, setItem: [Function]
, removeItem: [Function]
, clear: [Function]
, dump: [Function]
}
, _localStorage:
{ length: [Getter]
, key: [Function]
, getItem: [Function]
, setItem: [Function]
, removeItem: [Function]
, clear: [Function]
, dump: [Function]
}
, window: [Circular]
, uid: 2
, html: [Circular]
, '$family': { name: 'document' }
}
, uid: 1
, Element: [Function: $empty]
, '$family': { name: 'window' }
, _vars:
[ [ 'pageXOffset', 0 ]
, [ 'pageYOffset', 0 ]
, [ 'screenX', 0 ]
, [ 'screenY', 0 ]
, [ 'screenLeft', 0 ]
, [ 'screenTop', 0 ]
, [ 'scrollX', 0 ]
, [ 'scrollY', 0 ]
, [ 'scrollTop', 0 ]
, [ 'scrollLeft', 0 ]
]
}
threw error
{ message: 'Uncaught, unspecified \'error\' event.'
, stack: [Getter/Setter]
}
handling event
{ _eventType: 'HTMLEvents'
, _type: 'error'
, _bubbles: true
, _cancelable: false
, _target:
{ frames: [ [Circular] ]
, contentWindow: [Circular]
, window: [Circular]
, self: [Circular]
, location: [Getter/Setter]
, addEventListener: [Function]
, dispatchEvent: [Function]
, browser: [Getter]
, cookies: [Getter]
, sessionStorage: [Getter]
, localStorage: [Getter]
, setTimeout: [Function]
, setInterval: [Function]
, clearTimeout: [Function]
, clearInterval: [Function]
, perform: [Function]
, wait: [Function]
, request: [Function]
, history: [Getter]
, XMLHttpRequest: [Function]
, JSON: {}
, onerror: [Function]
, Image: [Function]
, _document:
{ _childNodes: [Object]
, _version: 2179
, _children: [Object]
, _nodeValue: null
, _parentNode: null
, _ownerDocument: [Circular]
, _attributes: [Object]
, _nodeName: '#document'
, _readonly: false
, style: [Object]
, _tagName: '#document'
, _contentType: 'text/html'
, _doctype: null
, _implementation: [Object]
, _documentElement: [Object]
, _ids: [Object]
, _URL: 'http://validator.w3.org/'
, _documentRoot: 'http:/'
, _queue: [Object]
, readyState: 'complete'
, createWindow: [Function]
, _parentWindow: [Circular]
, _sessionStorage: [Object]
, _localStorage: [Object]
, window: [Circular]
, uid: 2
, html: [Circular]
, '$family': [Object]
}
, uid: 1
, Element: [Function: $empty]
, '$family': { name: 'window' }
, _vars:
[ [Object]
, [Object]
, [Object]
, [Object]
, [Object]
, [Object]
, [Object]
, [Object]
, [Object]
, [Object]
]
}
, _currentTarget: null
, _eventPhase: 2
, _timeStamp: null
, _preventDefault: false
, _stopPropagation: false
, error:
{ message: [Getter/Setter]
, stack: [Getter/Setter]
, type: 'undefined_method'
, arguments: [ 'addEvent', [Circular] ]
}
}
Zombie: GET http://www.w3.org/QA/Tools/don_prog.js => 200
Zombie: Running script from /QA/Tools/don_prog.js
Zombie: GET http://api.flattr.com/js/0.6/load.js?mode=auto
Zombie: GET http://api.flattr.com/js/0.6/load.js?mode=auto => 200
Zombie: Running script from /js/0.6/load.js
So, is it ok to ignore these and assume that I can start a greenfield project and use zombie for testing?
Thanks.