[General] Opera Debugging Thread
philmaker at gmail.com
Wed May 6 14:39:11 CEST 2009
Opera has a significant problem with polygons and SVGPointList.
When points is set inside lively.scene.Polygon.setVertices(), numberOfItems
always remains at zero.
I've tried a couple of things but no luck yet. I've tried calling
consolidate on the SVGPointList after points get set. But I don't know
what consolidate does actually. ;-) And I've tried instead using
points.appendItem(svgPoint). No luck there yet.
var svgPoint = new SVGPoint(p.x, p.y);
(All of this is with document.documentURI fixed, skipMostExamples:
true, skipAllExamples: true)
Also, this is how to disable caching in Opera.
Doesn't seem to work - but that's how you do it.
On Tue, May 5, 2009 at 5:25 PM, Philip Weaver <philmaker at gmail.com> wrote:
> LIvely SVG does load and run in Opera <http://www.opera.com/browser/>. The
> morph menu works. :-) These are some starting points if you will continue to
> test in Opera <http://www.opera.com/browser/>.
> - document.baseURI needs to be changed to document.documentURI
> - In localconfig.js or defaultconfig.js you can set the following as a
> starting point
> - skipMostExamples: true,
> - skipAllExamples: true,
> - the svg canvas loads with a very condensed height. Until there's a
> proper solution for that you can set a fixed canvas height in index.xhtml
> while continuing to test:
> - <svg id="canvas" width="100%" height="800" ......
> On Tue, May 5, 2009 at 4:51 PM, Philip Weaver <philmaker at gmail.com> wrote:
>> I dabbled testing in Opera a bit and these are some notes in case any
>> other Lively users can also debug in Opera...
>> - Opera does not support console.log but instead
>> supports: opera.postError (http://dev.opera.com/forums/topic/231622)
>> - opera.postError will hopefully help with debugging
>> - first: document.baseURI needs to be changed to document.documentURI
>> - undefined values are occasionally being passed to Base.js:rect()
>> - so probably need to tweak defaultconfig.js inside localconfig.js to
>> load portions of the examples just a bit at a time
>> On Tue, May 5, 2009 at 2:02 PM, Dan Ingalls <Dan.Ingalls at sun.com> wrote:
>>> Anyone want to earn a silver star by getting Opera to run Lively
>>> Kernel? Partial credit will also be awarded for making enough
>>> progress to be clear about what more is needed.
>>> - Dan
>>> General mailing list
>>> General at livelykernel.sunlabs.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lively-kernel