Closed
Bug 662570
Opened 14 years ago
Closed 11 months ago
WebGL demos relying on cross-domain textures will be broken by landing bug 656277
Categories
(Websites :: demos.mozilla.org, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: bjacob, Assigned: jay)
References
Details
Attachments
(1 obsolete file)
Sadly, we will probably land very soon the patch in bug 656277, blocking cross-domain textures in WebGL.
The plan is to add the possibility of relaxing this with CORS, but that hasn't been implemented yet.
As a result, some WebGL-using Mozilla demos are broken:
Completely broken:
* 360 degree video --- the videos are hosted on a different origin, so no video is shown anymore. The script keeps running, which means that exceptions are caught.
Severely broken:
* Globe Twitter --- the blue globe is still working and responding to mouse input, but the part that paints Twitter avatars is completely broken, as it was using tainted Canvas2D's as textures. Uncaught exception here. Might work if we don't throw.
Slightly broken:
* Flight of the Navigator --- it mostly still works, but some of the TV screens on the buildings are now black, as they were showing cross-origin pictures/video. Some other pictures/videos still work, like the videos of Mozilla people.
Unaffected:
* No Comply -- yay! All textures seem the be local, including the video.
* Remixing Reality
* HTML5 Dashboard - WebGL teapot
Comment 1•14 years ago
|
||
Thanks for the heads up, benoit.
Adding Jay Patel. These demos are currently hosted on the Demo Studio site now, as web o wonder will be pulled down for fx 5.
the WoW site is currently seeing very little traffic, so for now, the web o wonder site isn't an issue. Jay, how should we address this on Demo Studio?
Assignee: nobody → jay
Comment 2•14 years ago
|
||
× 360 degree video: we just need to move the video to the demo studio
× GlobeTweeter and FlightOfTheNavigator: We won't be able to fix them. The images are from flickr.com and twitter.com.
Reporter | ||
Comment 3•14 years ago
|
||
(In reply to comment #2)
> × GlobeTweeter and FlightOfTheNavigator: We won't be able to fix them. The
> images are from flickr.com and twitter.com.
Well, eventually Twitter and Flickr are going to implement CORS. Twitter said it's "on the radar" and I generally speaking it's in the interest of websites to make it easier to use their images. This will be a good thing to evangelize on once bug 662599 is fixed. WebKit is ahead of us here,
https://bugs.webkit.org/show_bug.cgi?id=61015
and they've started evangelizing already.
Updated•1 year ago
|
Attachment #9385830 -
Attachment is obsolete: true
Website is no longer active
Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•