Hi all,
I've been testing an small script that just renders a "layout" of an application. It works just fine in most of the browsers but not in Opera. I have tested it in the following browsers:
- On Windows:
-- Firefox 3.6
-- Google Chrome 4.1.249.1036
-- Internet Explorer 8
-- Safari 4.0.4
-- Opera 10.51 (*)
- On Linux:
- Firefox 3.6
- Chromium 5.0.307.11
- Opera 10.10 - Build 4742 (*)
(*) In both versions of Opera 10, on Windows and Linux the script fails.
Attached you'll find the index.html page with the script. I have set the creation of the application parts in the load event, based on a suggestion of the isc Log window.
Reading the release notes of SmartClient 7.0rc2 [1] it says "Opera Beta". What does that mean?
I enabled the Exception stack trace in Opera. The problem is on line 749 of the minified version of ISC_Core.js, it seems in that is in the Browser detection part (but I'm not sure).
Any ideas on how to solve the problem? Will SmartClient version 7.0 "final" officially support Opera?
Any ideas on how I can help to solve this issue?
[1] http://www.smartclient.com/docs/7.0rc2/docs/readme.html
Best Regards,
Iván
I've been testing an small script that just renders a "layout" of an application. It works just fine in most of the browsers but not in Opera. I have tested it in the following browsers:
- On Windows:
-- Firefox 3.6
-- Google Chrome 4.1.249.1036
-- Internet Explorer 8
-- Safari 4.0.4
-- Opera 10.51 (*)
- On Linux:
- Firefox 3.6
- Chromium 5.0.307.11
- Opera 10.10 - Build 4742 (*)
(*) In both versions of Opera 10, on Windows and Linux the script fails.
Attached you'll find the index.html page with the script. I have set the creation of the application parts in the load event, based on a suggestion of the isc Log window.
Reading the release notes of SmartClient 7.0rc2 [1] it says "Opera Beta". What does that mean?
I enabled the Exception stack trace in Opera. The problem is on line 749 of the minified version of ISC_Core.js, it seems in that is in the Browser detection part (but I'm not sure).
Code:
Inline script thread Error: name: TypeError message: Statement on line 749: Cannot convert undefined or null to Object stacktrace: Line 749 of linked script file://localhost/home/iperdomo/tmp/opera-test/isomorphic/system/modules/ISC_Core.js var _7=isc.Browser.isIE&&isc.Browser.version>6;var _8=_1.callee;var _9=[];var _10=true;if(_3==null)_3=Number.MAX_VALUE;var _11=0;while(_8!=null&&_1!=null&&_11<_3){if(_7){if(_9.contains(_8)){_5.add(" ** recursed on "+isc.Func.getName(_8,true));break} Line 1759 of linked script file://localhost/home/iperdomo/tmp/opera-test/isomorphic/system/modules/ISC_Core.js this.logWarn("negative or zero area: height: "+this.getHeight()+", width: "+this.getWidth()+", refusing to draw"+this.getStackTrace(),"drawing");return false} Line 1769 of linked script file://localhost/home/iperdomo/tmp/opera-test/isomorphic/system/modules/ISC_Core.js function(_1){if(isc.$cv)arguments.$cw=this;if(!this.readyToDraw())return this;if(this.overflow==isc.Canvas.AUTO)this.getTabIndex();if(this.logIsInfoEnabled(this.$n2)){this.logInfo("draw(): drawing "+this.Class+(this.parentElement?" with parent: "+this.parentElement:"")+(!isc.Page.isLoaded()?" before page load":"")+(this.logIsDebugEnabled(this.$n2)?this.getStackTrace():""),this.$n2)} Line 29 of inline#2 script in file://localhost/home/iperdomo/tmp/opera-test/index.html: In function setup appObj.layout.draw(); Line 32 of inline#2 script in file://localhost/home/iperdomo/tmp/opera-test/index.html setup(myApp); Event thread: load Error: name: TypeError message: Statement on line 749: Cannot convert undefined or null to Object stacktrace: Line 749 of linked script file://localhost/home/iperdomo/tmp/opera-test/isomorphic/system/modules/ISC_Core.js var _7=isc.Browser.isIE&&isc.Browser.version>6;var _8=_1.callee;var _9=[];var _10=true;if(_3==null)_3=Number.MAX_VALUE;var _11=0;while(_8!=null&&_1!=null&&_11<_3){if(_7){if(_9.contains(_8)){_5.add(" ** recursed on "+isc.Func.getName(_8,true));break} Line 1759 of linked script file://localhost/home/iperdomo/tmp/opera-test/isomorphic/system/modules/ISC_Core.js this.logWarn("negative or zero area: height: "+this.getHeight()+", width: "+this.getWidth()+", refusing to draw"+this.getStackTrace(),"drawing");return false} Line 1769 of linked script file://localhost/home/iperdomo/tmp/opera-test/isomorphic/system/modules/ISC_Core.js function(_1){if(isc.$cv)arguments.$cw=this;if(!this.readyToDraw())return this;if(this.overflow==isc.Canvas.AUTO)this.getTabIndex();if(this.logIsInfoEnabled(this.$n2)){this.logInfo("draw(): drawing "+this.Class+(this.parentElement?" with parent: "+this.parentElement:"")+(!isc.Page.isLoaded()?" before page load":"")+(this.logIsDebugEnabled(this.$n2)?this.getStackTrace():""),this.$n2)} Line 29 of inline#2 script in file://localhost/home/iperdomo/tmp/opera-test/index.html: In function setup appObj.layout.draw(); Line 2 of eval script ){setup(myApp); Line 1084 of linked script file://localhost/home/iperdomo/tmp/opera-test/isomorphic/system/modules/ISC_Core.js if(isc.isA.Function(_9.action)){_6=(_9.action(_1,_3)!=false)}else{var _10=_9.action;if(_10.destroyed){_4[i]=null;continue} Line 1110 of linked script file://localhost/home/iperdomo/tmp/opera-test/isomorphic/system/modules/ISC_Core.js return(isc.Page.handleEvent(null,isc.EH.LOAD)!=false)}else{try{return(isc.Page.handleEvent(null,isc.EH.LOAD)!=false)}catch(e){isc.Log.$am(e);throw e;}}} ... Line 1403 of linked script file://localhost/home/iperdomo/tmp/opera-test/isomorphic/system/modules/ISC_Core.js if(isc.Browser.isIE)_2=this.getWindow().event;this.$h1(this.$jy[_2.type]||_2.type);if(!isc.Browser.isMoz){var _3=_1.call(this,_2)}else{try{var _3=_1.call(this,_2)}catch(e){isc.Log.$am(e);throw e;}} Line 2 of eval script ){var returnVal=arguments.callee.$ch.isc.EH.dispatch(arguments.callee.$j2,event);if(returnVal==false)event.preventDefault();else if(returnVal==isc.EH.STOP_BUBBLING)event.stopPropogation();return returnVal; ...
Any ideas on how I can help to solve this issue?
[1] http://www.smartclient.com/docs/7.0rc2/docs/readme.html
Best Regards,
Iván
Comment