[x3d-public] [WWW-Vrml] *** COBWEB RELEASE ANNOUNCEMENT *** v1.24 Firefox OK, other browsers have cross-origin scripting errors

Don Brutzman brutzman at nps.edu
Tue Apr 12 10:42:48 PDT 2016


[cc: community]

Hi Holger.  I've updated the X3dToX3dom.xslt stylesheet and X3D-Edit to support your latest version 1.24.  Works great in Windows 7 in latest Firefox v45.0.1.

Conversion result attached.  Wondering if it is correct since failures are occurring in other web browsers.

Unfortunately, other browsers fail and have similar errors, apparently cross-origin scripting restrictions.

Console excerpts follow.  Please advise, am thinking this is a common problem that someone on the mail list may be able to help with.

============================================
Internet Explorer "Edge" gives the following console error:
DOM7011: The code on this page disabled back and forward caching. For more information, see: http://go.microsoft.com/fwlink/?LinkID=291337
File: HelloWorldCobweb.html

============================================
Chrome console reports a similar error:

Welcome to Cobweb X3D Browser 1.24:
          Current Graphics Renderer
                  Name: WebKit WebGL 1.0 (OpenGL ES 2.0 Chromium)
                  Shading language: WebGL GLSL ES 1.0 (OpenGL ES GLSL ES 1.0 Chromium)
          Rendering Properties
                  Antialiased: true
                  Color depth: 32 bits
                  Max clip planes: 6
                  Max lights: 8
                  Texture units: 16 / 32
                  Max texture size: 16384 × 16384 pixel
                  Max vertex uniform vectors: 1024
                  Max fragment uniform vectors: 1024
                  Max vertex attribs: 16

cobweb.min.js:11 XMLHttpRequest cannot load file:///C:/x3d-code/www.web3d.org/x3d/content/examples/HelloWorld.x3d. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.e.dataType.binary.e.dataType.send @ cobweb.min.js:11
cobweb.min.js:12 Couldn't load URL 'HelloWorld.x3d':
...
============================================

Opera also reports a similar error:

cobweb.min.js:32 Welcome to Cobweb X3D Browser 1.24:
          Current Graphics Renderer
                  Name: WebKit WebGL 1.0 (OpenGL ES 2.0 Chromium)
                  Shading language: WebGL GLSL ES 1.0 (OpenGL ES GLSL ES 1.0 Chromium)
          Rendering Properties
                  Antialiased: true
                  Color depth: 32 bits
                  Max clip planes: 6
                  Max lights: 8
                  Texture units: 16 / 32
                  Max texture size: 16384 × 16384 pixel
                  Max vertex uniform vectors: 1024
                  Max fragment uniform vectors: 1024
                  Max vertex attribs: 16

cobweb.min.js:11 XMLHttpRequest cannot load file:///C:/x3d-code/www.web3d.org/x3d/content/examples/HelloWorld.x3d. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.e.dataType.binary.e.dataType.send @ cobweb.min.js:11oe.extend.ajax @ cobweb.min.js:3e.extend.loadDocumentAsync @ cobweb.min.js:12e.extend.loadDocument @ cobweb.min.js:12e.extend.createX3DFromURL @ cobweb.min.js:12e.extend.loadURL @ cobweb.min.js:32e.extend.realize @ cobweb.min.js:32t.processInterests @ cobweb.min.js:3e.extend.processEvent @ cobweb.min.js:4e.processEvents @ cobweb.min.js:8e.extend.traverse @ cobweb.min.js:23
cobweb.min.js:12 Couldn't load URL 'HelloWorld.x3d':
cobweb.min.js:11 XMLHttpRequest cannot load file:///C:/x3d-code/www.web3d.org/x3d/content/examples/HelloWorld.x3d. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.e.dataType.binary.e.dataType.send @ cobweb.min.js:11oe.extend.ajax @ cobweb.min.js:3e.extend.loadDocumentAsync @ cobweb.min.js:12e.extend.loadDocumentError @ cobweb.min.js:12e.ajax.error @ cobweb.min.js:12h @ cobweb.min.js:2d.fireWith @ cobweb.min.js:2i @ cobweb.min.js:3i.onerror @ cobweb.min.js:11e.dataType.binary.e.dataType.send @ cobweb.min.js:11oe.extend.ajax @ cobweb.min.js:3e.extend.loadDocumentAsync @ cobweb.min.js:12e.extend.loadDocument @ cobweb.min.js:12e.extend.createX3DFromURL @ cobweb.min.js:12e.extend.loadURL @ cobweb.min.js:32e.extend.realize @ cobweb.min.js:32t.processInterests @ cobweb.min.js:3e.extend.processEvent @ cobweb.min.js:4e.processEvents @ cobweb.min.js:8e.extend.traverse @ cobweb.min.js:23
cobweb.min.js:12 Couldn't load URL 'C:/x3d-code/www.web3d.org/x3d/content/examples/HelloWorld.x3d':
cobweb.min.js:11 GET https://crossorigin.me/C:/x3d-code/www.web3d.org/x3d/content/examples/HelloWorld.x3d 500 ()e.dataType.binary.e.dataType.send @ cobweb.min.js:11oe.extend.ajax @ cobweb.min.js:3e.extend.loadDocumentAsync @ cobweb.min.js:12e.extend.loadDocumentError @ cobweb.min.js:12e.ajax.error @ cobweb.min.js:12h @ cobweb.min.js:2d.fireWith @ cobweb.min.js:2i @ cobweb.min.js:3i.onerror @ cobweb.min.js:11e.dataType.binary.e.dataType.send @ cobweb.min.js:11oe.extend.ajax @ cobweb.min.js:3e.extend.loadDocumentAsync @ cobweb.min.js:12e.extend.loadDocumentError @ cobweb.min.js:12e.ajax.error @ cobweb.min.js:12h @ cobweb.min.js:2d.fireWith @ cobweb.min.js:2i @ cobweb.min.js:3i.onerror @ cobweb.min.js:11e.dataType.binary.e.dataType.send @ cobweb.min.js:11oe.extend.ajax @ cobweb.min.js:3e.extend.loadDocumentAsync @ cobweb.min.js:12e.extend.loadDocument @ cobweb.min.js:12e.extend.createX3DFromURL @ cobweb.min.js:12e.extend.loadURL @ cobweb.min.js:32e.extend.realize @ cobweb.min.js
 :32t.pr

ocessInterests @ cobweb.min.js:3e.extend.processEvent @ cobweb.min.js:4e.processEvents @ cobweb.min.js:8e.extend.traverse @ cobweb.min.js:23
cobweb.min.js:12 Couldn't load URL 'https://crossorigin.me/C:/x3d-code/www.web3d.org/x3d/content/examples/HelloWorld.x3d':

============================================

On 4/4/2016 9:52 AM, Holger Seelig wrote:
> Cobweb X3D Browser, Version 1.23
>
> We finally released Cobweb version 1.23, now.  This is the first official release for Opera Browser, Google Chrome and Mozilla Firefox. We did not celebrate this remarkable event yet, but beer was already purchased and would be used this week for sure.
>
> I should say that Cobweb 1.23 took a lot of effort and we are proud to announce that the final result exceeded our expectations. The journey had just begun!
>
> We’ve gathered as much feedback about Cobweb 1.22 as possible from our users and eliminated many mistakes and crude points in the new release.  Cobweb is now ready for Opera and Chrome.  We are not inventing new functions.  Instead, the stable code base of Cobweb makes it possible to run in different browsers.
>
> Additionally we added three new examples to our website http://titania.create3000.de/cobweb/.  First, »Milkyway and Beyond« an example how to visualise huge scientific data of our universe.  Second, »FourmiEarth« processed data from the well known Fourmilab website, to display a pleasant view of our home planet.  Third, »Currencies« processes data of the currencies data of the European Central Bank, to show a nice animated graph of it. To do this we draw thick 3D lines using an Extrusion node.
>
> Visit Cobweb website now:
> http://titania.create3000.de/cobweb/
>
> Thank to all who helped us.


all the best, Don
-- 
Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman at nps.edu
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20160412/b6c0c241/attachment.html>


More information about the x3d-public mailing list