« Socialized Medicine | Main | XTech »
May 20, 2005
Landed Canvas drawWindow API
Posted by roc at May 20, 2005 9:31 AM
Comments
What is (in layman's terms) the drawWindow API, and how would I recognize it?
Posted by: Peter Lairo. Atheist. ExPat American. Mozilla tester. at May 20, 2005 10:00 AM
It's this:
http://weblogs.mozillazine.org/roc/archives/2005/05/rendering_web_p.html
Posted by: Robert O'Callahan at May 20, 2005 10:12 AM
Nice one!!
Posted by: john.e.boy at May 20, 2005 11:14 PM
With this new API, someone could finally make an extension that mimics iRider's Page List navigation: http://www.irider.com/irider/index.htm#PageList
Thanks for adding this.
Posted by: marv at May 21, 2005 3:01 PM
I got such error from DeerPark alpha 1:
[Exception... "Component returned failure code: 0x8007000e (NS_ERROR_OUT_OF_MEMORY) [nsIDOMCanvasRenderingContext2D.drawWindow]" nsresult: "0x8007000e (NS_ERROR_OUT_OF_MEMORY)" location: "JS frame :: chrome://catcher/content/thumbnail.js :: update :: line 23" data: no]
What's the trouble?
Posted by: Hugh at June 29, 2005 3:56 AM
The out-of-memeory problem happens on both Mac OS X and Windows XP. Do you need my test case?
Posted by: Hugh at June 29, 2005 5:58 PM
Is it fixed in nightly builds?
Posted by: Robert O'Callahan at June 30, 2005 2:53 PM
When I check this problem with lastest build, old problem is gone, but new problem comes(on Mac OS X 10.3).
[Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIDOMHTMLCanvasElement.getContext]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: chrome://catcher/content/thumbnail.js :: update :: line 19" data: no]
but line 9 is:
var ctx=canvas.getContext("2d");
Is there anything wrong?
Posted by: Hugh at July 6, 2005 9:25 AM