#177 Javascript error. Cannot find function addEventListener

open
nobody
None
5
5 days ago
2010-10-07
No

Lobo 0.98.4
Go to http://www.gscottolson.com/blackbirdjs/
get exception:

07.10.2010 16:41:11 org.lobobrowser.html.domimpl.HTMLScriptElementImpl processScript
WARNING: Javascript error at http://www.gscottolson.com/js/blackbirdjs-1.0/blackbird.js:264: TypeError: Cannot find function addEventListener. (http://www.gscottolson.com/js/blackbirdjs-1.0/blackbird.js#264)
org.mozilla.javascript.EcmaError: TypeError: Cannot find function addEventListener. (http://www.gscottolson.com/js/blackbirdjs-1.0/blackbird.js#264)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3229)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3219)
at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3235)
at org.mozilla.javascript.ScriptRuntime.typeError1(ScriptRuntime.java:3247)
at org.mozilla.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3307)
at org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:1991)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:2932)
at script.addEvent(http://www.gscottolson.com/js/blackbirdjs-1.0/blackbird.js:264)
at script(http://www.gscottolson.com/js/blackbirdjs-1.0/blackbird.js:310)
at script(http://www.gscottolson.com/js/blackbirdjs-1.0/blackbird.js:10)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2251)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:161)
at org.lobobrowser.html.js.SecurityControllerImpl$1.run(SecurityControllerImpl.java:44)
at java.security.AccessController.doPrivileged(Native Method)
at org.lobobrowser.html.js.SecurityControllerImpl.callWithDomain(SecurityControllerImpl.java:48)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2240)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:161)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:340)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2758)
at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:172)
at org.mozilla.javascript.Context.evaluateString(Context.java:1132)
at org.lobobrowser.html.domimpl.HTMLScriptElementImpl.processScript(HTMLScriptElementImpl.java:192)
at org.lobobrowser.html.domimpl.HTMLScriptElementImpl.setUserData(HTMLScriptElementImpl.java:110)
at org.lobobrowser.html.parser.HtmlParser.parseToken(HtmlParser.java:755)
at org.lobobrowser.html.parser.HtmlParser.parseToken(HtmlParser.java:678)
at org.lobobrowser.html.parser.HtmlParser.parse(HtmlParser.java:537)
at org.lobobrowser.html.parser.HtmlParser.parse(HtmlParser.java:507)
at org.lobobrowser.html.domimpl.HTMLDocumentImpl.load(HTMLDocumentImpl.java:386)
at org.lobobrowser.primary.clientlets.html.HtmlClientlet.processImpl(HtmlClientlet.java:164)
at org.lobobrowser.primary.clientlets.html.HtmlClientlet.process(HtmlClientlet.java:79)
at org.lobobrowser.request.ClientletRequestHandler.processResponse(ClientletRequestHandler.java:115)
at org.lobobrowser.request.RequestEngine.processHandler(RequestEngine.java:856)
at org.lobobrowser.request.RequestEngine.access$1(RequestEngine.java:713)
at org.lobobrowser.request.RequestEngine$RequestHandlerTask$1.run(RequestEngine.java:1026)
at java.security.AccessController.doPrivileged(Native Method)
at org.lobobrowser.request.RequestEngine$RequestHandlerTask.run(RequestEngine.java:1033)
at org.lobobrowser.util.SimpleThreadPool$ThreadRunnable.run(SimpleThreadPool.java:127)
at java.lang.Thread.run(Thread.java:619)
07.10.2010 16:41:11 com.steadystate.css.parser.SACParser declaration
WARNING: declaration(): http://www.gscottolson.com/js/blackbirdjs-1.0/blackbird.css: Skipping declaration due to: Encountered "." (kinds=[9]) at line 11, column 68.
Was expecting one of:
<S> ...
"," ...
"/" ...
"+" ...
"-" ...
"=" ...
<HASH> ...
<STRING> ...
")" ...
<URI> ...
"inherit" ...
<EMS> ...
<EXS> ...
<LENGTH_PX> ...
<LENGTH_CM> ...
<LENGTH_MM> ...
<LENGTH_IN> ...
<LENGTH_PT> ...
<LENGTH_PC> ...
<ANGLE_DEG> ...
<ANGLE_RAD> ...
<ANGLE_GRAD> ...
<TIME_MS> ...
<TIME_S> ...
<FREQ_HZ> ...
<FREQ_KHZ> ...
<DIMEN> ...
<PERCENTAGE> ...
<NUMBER> ...
"rgb(" ...
<FUNCTION> ...
<IDENT> ...
<UNICODERANGE> ...
.
07.10.2010 16:41:11 com.steadystate.css.parser.SACParser declaration
WARNING: declaration(): http://www.gscottolson.com/js/blackbirdjs-1.0/blackbird.css: Skipping declaration due to: Encountered "." (kinds=[9]) at line 11, column 130.
Was expecting one of:
<S> ...
"," ...
"/" ...
"+" ...
"-" ...
"=" ...
<HASH> ...
<STRING> ...
")" ...
<URI> ...
"inherit" ...
<EMS> ...
<EXS> ...
<LENGTH_PX> ...
<LENGTH_CM> ...
<LENGTH_MM> ...
<LENGTH_IN> ...
<LENGTH_PT> ...
<LENGTH_PC> ...
<ANGLE_DEG> ...
<ANGLE_RAD> ...
<ANGLE_GRAD> ...
<TIME_MS> ...
<TIME_S> ...
<FREQ_HZ> ...
<FREQ_KHZ> ...
<DIMEN> ...
<PERCENTAGE> ...
<NUMBER> ...
"rgb(" ...
<FUNCTION> ...
<IDENT> ...
<UNICODERANGE> ...
.
07.10.2010 16:41:11 com.steadystate.css.parser.SACParser declaration
WARNING: declaration(): http://www.gscottolson.com/js/blackbirdjs-1.0/blackbird.css: Skipping declaration due to: Encountered "." (kinds=[9]) at line 13, column 62.
Was expecting one of:
<S> ...
"," ...
"/" ...
"+" ...
"-" ...
"=" ...
<HASH> ...
<STRING> ...
")" ...
<URI> ...
"inherit" ...
<EMS> ...
<EXS> ...
<LENGTH_PX> ...
<LENGTH_CM> ...
<LENGTH_MM> ...
<LENGTH_IN> ...
<LENGTH_PT> ...
<LENGTH_PC> ...
<ANGLE_DEG> ...
<ANGLE_RAD> ...
<ANGLE_GRAD> ...
<TIME_MS> ...
<TIME_S> ...
<FREQ_HZ> ...
<FREQ_KHZ> ...
<DIMEN> ...
<PERCENTAGE> ...
<NUMBER> ...
"rgb(" ...
<FUNCTION> ...
<IDENT> ...
<UNICODERANGE> ...
.
07.10.2010 16:41:11 com.steadystate.css.parser.SACParser declaration
WARNING: declaration(): http://www.gscottolson.com/js/blackbirdjs-1.0/blackbird.css: Skipping declaration due to: Encountered "." (kinds=[9]) at line 13, column 123.
Was expecting one of:
<S> ...
"," ...
"/" ...
"+" ...
"-" ...
"=" ...
<HASH> ...
<STRING> ...
")" ...
<URI> ...
"inherit" ...
<EMS> ...
<EXS> ...
<LENGTH_PX> ...
<LENGTH_CM> ...
<LENGTH_MM> ...
<LENGTH_IN> ...
<LENGTH_PT> ...
<LENGTH_PC> ...
<ANGLE_DEG> ...
<ANGLE_RAD> ...
<ANGLE_GRAD> ...
<TIME_MS> ...
<TIME_S> ...
<FREQ_HZ> ...
<FREQ_KHZ> ...
<DIMEN> ...
<PERCENTAGE> ...
<NUMBER> ...
"rgb(" ...
<FUNCTION> ...
<IDENT> ...
<UNICODERANGE> ...
.
07.10.2010 16:41:11 com.steadystate.css.parser.SACParser declaration
WARNING: declaration(): http://www.gscottolson.com/js/blackbirdjs-1.0/blackbird.css: Skipping declaration due to: Encountered "." (kinds=[9]) at line 15, column 65.
Was expecting one of:
<S> ...
"," ...
"/" ...
"+" ...
"-" ...
"=" ...
<HASH> ...
<STRING> ...
")" ...
<URI> ...
"inherit" ...
<EMS> ...
<EXS> ...
<LENGTH_PX> ...
<LENGTH_CM> ...
<LENGTH_MM> ...
<LENGTH_IN> ...
<LENGTH_PT> ...
<LENGTH_PC> ...
<ANGLE_DEG> ...
<ANGLE_RAD> ...
<ANGLE_GRAD> ...
<TIME_MS> ...
<TIME_S> ...
<FREQ_HZ> ...
<FREQ_KHZ> ...
<DIMEN> ...
<PERCENTAGE> ...
<NUMBER> ...
"rgb(" ...
<FUNCTION> ...
<IDENT> ...
<UNICODERANGE> ...
.
07.10.2010 16:41:11 com.steadystate.css.parser.SACParser declaration
WARNING: declaration(): http://www.gscottolson.com/js/blackbirdjs-1.0/blackbird.css: Skipping declaration due to: Encountered "." (kinds=[9]) at line 15, column 214.
Was expecting one of:
<S> ...
"," ...
"/" ...
"+" ...
"-" ...
"=" ...
<HASH> ...
<STRING> ...
")" ...
<URI> ...
"inherit" ...
<EMS> ...
<EXS> ...
<LENGTH_PX> ...
<LENGTH_CM> ...
<LENGTH_MM> ...
<LENGTH_IN> ...
<LENGTH_PT> ...
<LENGTH_PC> ...
<ANGLE_DEG> ...
<ANGLE_RAD> ...
<ANGLE_GRAD> ...
<TIME_MS> ...
<TIME_S> ...
<FREQ_HZ> ...
<FREQ_KHZ> ...
<DIMEN> ...
<PERCENTAGE> ...
<NUMBER> ...
"rgb(" ...
<FUNCTION> ...
<IDENT> ...
<UNICODERANGE> ...
.
07.10.2010 16:41:11 com.steadystate.css.parser.SACParser declaration
WARNING: declaration(): http://www.gscottolson.com/js/blackbirdjs-1.0/blackbird.css: Skipping declaration due to: Encountered "." (kinds=[9]) at line 17, column 78.
Was expecting one of:
<S> ...
"," ...
"/" ...
"+" ...
"-" ...
"=" ...
<HASH> ...
<STRING> ...
")" ...
<URI> ...
"inherit" ...
<EMS> ...
<EXS> ...
<LENGTH_PX> ...
<LENGTH_CM> ...
<LENGTH_MM> ...
<LENGTH_IN> ...
<LENGTH_PT> ...
<LENGTH_PC> ...
<ANGLE_DEG> ...
<ANGLE_RAD> ...
<ANGLE_GRAD> ...
<TIME_MS> ...
<TIME_S> ...
<FREQ_HZ> ...
<FREQ_KHZ> ...
<DIMEN> ...
<PERCENTAGE> ...
<NUMBER> ...
"rgb(" ...
<FUNCTION> ...
<IDENT> ...
<UNICODERANGE> ...
.
07.10.2010 16:41:11 com.steadystate.css.parser.SACParser declaration
WARNING: declaration(): http://www.gscottolson.com/js/blackbirdjs-1.0/blackbird.css: Skipping declaration due to: Encountered "." (kinds=[9]) at line 17, column 227.
Was expecting one of:
<S> ...
"," ...
"/" ...
"+" ...
"-" ...
"=" ...
<HASH> ...
<STRING> ...
")" ...
<URI> ...
"inherit" ...
<EMS> ...
<EXS> ...
<LENGTH_PX> ...
<LENGTH_CM> ...
<LENGTH_MM> ...
<LENGTH_IN> ...
<LENGTH_PT> ...
<LENGTH_PC> ...
<ANGLE_DEG> ...
<ANGLE_RAD> ...
<ANGLE_GRAD> ...
<TIME_MS> ...
<TIME_S> ...
<FREQ_HZ> ...
<FREQ_KHZ> ...
<DIMEN> ...
<PERCENTAGE> ...
<NUMBER> ...
"rgb(" ...
<FUNCTION> ...
<IDENT> ...
<UNICODERANGE> ...
.
07.10.2010 16:41:12 com.steadystate.css.parser.SACParser styleRuleDeclarations
WARNING: styleRule(): http://www.gscottolson.com/blackbirdjs/bb_home.css: Skipping declaration: Encountered "*" (kinds=[12]) at line 21, column 96.
Was expecting one of:
<S> ...
"}" ...
";" ...
<IDENT> ...
.
07.10.2010 16:41:12 com.steadystate.css.parser.SACParser styleRuleDeclarations
WARNING: styleRule(): http://www.gscottolson.com/blackbirdjs/bb_home.css: Skipping declaration: Encountered "*" (kinds=[12]) at line 28, column 119.
Was expecting one of:
<S> ...
"}" ...
";" ...
<IDENT> ...
.

Discussion