User Help for Mozilla Firefox (Anonymous/guest posting allowed)
phil.middlemiss
Posts: 1Joined: November 27th, 2007, 12:59 pm
November 27th, 2007, 1:14 pm
Posted November 27th, 2007, 1:14 pm
The call to drawImage on the Canvas context object is broken in 2.0.0.10.
The image examples in the tutorial from the Canvas tutorial site no longer work.
For example, this example is meant to display an art gallery, but the following exception occurs:
- Code: Select all
uncaught exception: [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIDOMCanvasRenderingContext2D.drawImage]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: http://developer.mozilla.org/samples/canvas-tutorial/3_4_canvas_gallery.html :: draw :: line 26" data: no]
This is a big problem for us since we are developing a corporate web app that relies on this functionality for presentation and interaction (using a 3rd party script to extend support to IE). Is the Canvas a feature that should be considered "experimental"?
Littlemutt

Posts: 14869Joined: July 10th, 2004, 8:44 am
November 27th, 2007, 1:16 pm
Posted November 27th, 2007, 1:16 pm
Reported already:
Firefox 2.0.0.10 has been released and a fairly bad bug appeared almost immediately:
Bug 405584 - Canvas.drawImage method is not working
which is regression from the work on
Bug 391028 - drawImage with broken PNG draws random memory
colfer

Posts: 473Joined: December 4th, 2002, 9:34 amLocation: Virginia
November 27th, 2007, 4:07 pm
Posted November 27th, 2007, 4:07 pm
A patch has gone in and the bug will probably be fixed tomorrow. Here is a browser test. Go to Tools/Error Console. Click "Clear". Click "All". Go to this page: http://developer.mozilla.org/samples/ca ... image.html
If you see an exception in the Error Console then it is still broken.
You have a few choices to get a fixed version of Firefox, besides going back to 2.0.0.9:
* Get 2.0.0.11pre tomorrow. It's an alpha, but on that branch they are pretty stable, beta or better quality, usually. Tomorrow, go to ftp://ftp.mozilla.org/pub/mozilla.org/f ... ozilla1.8/
If you see "File: firefox-2.0.0.11pre..." then it is probably the version that is probably fixed.
* Use 3.0beta1. It's in the "3.0b1/" folder here:
ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/
colfer

Posts: 473Joined: December 4th, 2002, 9:34 amLocation: Virginia
November 27th, 2007, 6:35 pm
Posted November 27th, 2007, 6:35 pm
The fixed Firefox "Bon Echo" 2.0.0.11pre is now available for Windows & Linux, no Mac yet. Test page above works for me, using:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11pre) Gecko/20071127 BonEcho/2.0.0.11pre
Vectorspace
Moderator

Posts: 14182Joined: November 27th, 2003, 4:50 amLocation: Warwickshire, UK
November 29th, 2007, 3:21 pm
Posted November 29th, 2007, 3:21 pm
phil.middlemiss wrote:Is the Canvas a feature that should be considered "experimental"?
The downside to releasing security fixes so rapidly is that unexpected side-effects (regressions) can slip through testing and remain undetected until after release.
"All things being equal, the simplest answer is usually the correct one" - Occam's Razor Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2) Gecko/20100115 Firefox/3.6 Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1
Amsterdammer

Posts: 729Joined: July 7th, 2005, 1:10 pmLocation: Amsterdam, The Netherlands
November 29th, 2007, 4:45 pm
Posted November 29th, 2007, 4:45 pm
AUS enabled on beta channel for RC1
restart after installing showed strong behaviour: not the recent website started up again, but the last but one site, which was closed before updating.
Mozilla/5.0 (Windows; U; Windows NT 5.1; nl-NL; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
latest released Firefox/3.6.x (de)(nl)(en-GB); latest released Thunderbird 3.0.x/(de)(nl)(en-GB) + TB 3.0.x
colfer

Posts: 473Joined: December 4th, 2002, 9:34 amLocation: Virginia
November 29th, 2007, 9:33 pm
Posted November 29th, 2007, 9:33 pm
Vectorspace wrote:phil.middlemiss wrote:Is the Canvas a feature that should be considered "experimental"?
The downside to releasing security fixes so rapidly is that unexpected side-effects (regressions) can slip through testing and remain undetected until after release.
I think that 2.0.0.10 RC1 sat around for 10 days before it was released. And there was a Test Day last Friday for it, announced widely. Still nobody caught the problem before release apparently. Maybe the heavy beta testers are all on FF3 builds by now.
And 2.0.0.10 was not a quick security release. That was 2.0.0.9.
Kudo

Posts: 60Joined: September 5th, 2006, 2:19 pm
November 30th, 2007, 4:41 am
Posted November 30th, 2007, 4:41 am
I still have problems with Firefox 2.0.0.11 RC1 
toods

Posts: 220Joined: December 22nd, 2004, 9:33 amLocation: Cornwall, UK
November 30th, 2007, 6:34 am
Posted November 30th, 2007, 6:34 am
Kudo wrote:I still have problems with Firefox 2.0.0.11 RC1 
What are the problems?. Canvas works for me in 2.0.0.11.
Bill.
Slackware, 12.1
Amsterdammer

Posts: 729Joined: July 7th, 2005, 1:10 pmLocation: Amsterdam, The Netherlands
November 30th, 2007, 12:57 pm
Posted November 30th, 2007, 12:57 pm
latest released Firefox/3.6.x (de)(nl)(en-GB); latest released Thunderbird 3.0.x/(de)(nl)(en-GB) + TB 3.0.x
James
Moderator

Posts: 16688Joined: June 18th, 2003, 3:07 pmLocation: Made in Canada
November 30th, 2007, 3:29 pm
Posted November 30th, 2007, 3:29 pm
Firefox 2.0.0.11 is at www.mozilla.com
Return to Firefox Support
Who is online
Users browsing this forum: Ask Jeeves [Bot], Google [Bot], Gort, kindofabuzz, mzmember and 28 guests
|