<canvas height=1000000> makes WebKit use lots of memory. At least on my computer, that means lots of paging (swapping(?)) which almost brings the computer to a halt, beachballing. The mouse starts to move jerky, etc. WebKit eventually recovers, but it takes some minutes, paging all the time (~1000 pageins almost every second in top, for example). I'm not completely sure this should be considered bug, but it might, and at least now this behaviour is noted and known.
Created attachment 11086 [details] Test case
We should clearly cap the size of the buffer to some reasonable amount.
Making P1, since this is an easy way to destroy a browsing session by a Web page.
This is a regression from released Safari.
radar 4827378
This seems to have been fixed with r19876 <http://trac.webkit.org/projects/webkit/changeset/19876> Though it does seem that multiple large canvases could still cause a slow down.