Update benchmark test suite
authorjonlee@apple.com <jonlee@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 8 Jan 2016 03:54:36 +0000 (03:54 +0000)
committerjonlee@apple.com <jonlee@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 8 Jan 2016 03:54:36 +0000 (03:54 +0000)
commit3e6777cc27928a82ca9c351e979c73bc0b02ae76
tree072a5caefba90d006317f394ca4f683d3c62ac59
parent782cc6ee1cf535a23c84af06df428ca13a988794
Update benchmark test suite
https://bugs.webkit.org/show_bug.cgi?id=152679

Reviewed by Simon Fraser.

Fix tests for other browsers.

* Animometer/resources/extensions.js:
(Point.elementClientSize): Some browsers return 0 for SVG clientWidth and clientHeight.
Use getBoundingClientRect() instead.
* Animometer/tests/misc/resources/canvas-electrons.js:
(CanvasElectron.prototype._draw): Some browsers don't support ellipse.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@194752 268f45cc-cd09-0410-ab3c-d52691b4dbfc
PerformanceTests/Animometer/resources/extensions.js
PerformanceTests/Animometer/tests/misc/resources/canvas-electrons.js
PerformanceTests/ChangeLog