Commit Graph

347 Commits

Author SHA1 Message Date
Benoit Jacob
06db157d33 Bug 668743 - ANGLE fails to load on WinXP after upgrade from r653 to r686 - r=jrmuizel
This patch implements delay-loading of DWMAPI.DLL to prevent ANGLE's libEGL.dll from failing to load on WinXP where DWMAPI.DLL is not present.
2011-07-27 14:46:14 -04:00
Jeff Muizelaar
7d4f014e45 Bug 629875/bug 669366. Switch back to our old behaviour for source rects larger than the source image for both Cairo and Azure canvas implementations. r=joe a=dveditz
We haven't decided what the behaviour for source rects larger than
the source image should be, and 4ede7b9b55bc breaks content like
20thingsilearned.com.
2011-07-22 15:35:16 -04:00
Benoit Jacob
8560e62354 Bug 664299 - Test loading cross-domain images validated with CORS in WebGL. r=bz 2011-07-14 14:47:39 -04:00
Benjamin Peterson
6806ca5d95 Bug 670442: Reset mZero flag on the CanvasRenderingContext when new dimensions are set. r=joe 2011-07-12 08:54:38 -07:00
Bas Schouten
70cf943058 Bug 666097 - Fix radial gradient drawing in Azure. r=jrmuizel
* * *
Part 2: Adjust tests to properly confirm passing. r=jrmuizel
2011-07-08 18:49:35 +00:00
Benoit Jacob
4e79726e0c Bug 665070 - turns out that uninitialized-test is still failing on the winxp test slaves due to old drivers - a=bustage 2011-07-07 23:54:35 -04:00
Benoit Jacob
dc5ab28481 Bug 665070 - turns out that uninitialized-test is still failing on the linux test slaves due to old drivers - a=bustage 2011-07-07 22:22:00 -04:00
Benoit Jacob
318d5ac451 Bug 665070 - part 14: check error in copyTexImage2D - r=jrmuizel 2011-07-07 20:01:17 -04:00
Bas Schouten
d23cf9b6df Bug 668801: Backed out Bug 656844 - changeset a565838cfc3a. 2011-07-04 16:35:50 +00:00
Bas Schouten
f61d114004 Bug 668801: Backed out Bug 656844 - changeset 22ec5982eca7. 2011-07-04 16:32:36 +00:00
Doug Sherk
e3fe16b123 Bug 680722: added invalid character checks to WebGL functions r=bjacob 2011-08-25 14:27:52 -04:00
Ed Morley
1eeeb8a78f Merge tip of m-c to m-i (will need clobber) 2011-08-25 08:45:33 +01:00
Matt Brubeck
6ed926f6a2 Back out bug 679864 (e6a4dd7f9906 - 7a9079ac5718) because of Win debug M1 failures 2011-08-22 13:23:21 -07:00
Benoit Jacob
39f9707afa Bug 679864 - [5/5] Upgrade WebGL conformance test suite to r15318
This is just removing some old cruft, mainly old patches that are not needed anymore.
2011-08-19 11:39:00 -04:00
Benoit Jacob
c195d792ae Bug 679864 - [4/5] Upgrade WebGL conformance test suite to r15318
This reapplies the patch replacing remote images by local ones on http://example.com and http://mochi.test:8888 URLs.
2011-08-19 11:39:00 -04:00
Benoit Jacob
6845441923 Bug 679864 - [3/5] Upgrade WebGL conformance test suite to r15318
This patch disables the quickCheckAPI.html page, with this comment:

this test causes whichever comes after to intermittently time out.
forcing a GC run doesn't solve this issue. Could be something about using a random amount of memory that
can be too high, causing e.g. swapping.
2011-08-22 11:52:19 -04:00
Benoit Jacob
cd003a954e Bug 679864 - [2/5] Upgrade WebGL conformance test suite to r15318
This patch updates the lists of failing tests, and adds some code to ignore a few intermittently failing tests: 1 on Linux and 4 on Mac
2011-08-19 11:39:00 -04:00
Benoit Jacob
a9825d42c5 Bug 679864 - [1/5] Upgrade WebGL conformance test suite to r15318
This is the actual upgrade. The canonical URL for this test suite is

https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/
2011-08-19 11:39:00 -04:00
Ehsan Akhgari
3e996662bd Backed out bug 679864 because of mochitest-1 oranges 2011-08-19 14:22:52 -04:00
Benoit Jacob
a52456112f Bug 679864 - [4/4] Upgrade WebGL conformance test suite to r15318 - r=trust.me
This is just removing some old cruft, mainly old patches that are not needed anymore.
2011-08-19 11:39:00 -04:00
Benoit Jacob
c73b8ddbd8 Bug 679864 - [3/4] Upgrade WebGL conformance test suite to r15318 - r=trust.me
This reapplies the patch replacing remote images by local ones on http://example.com and http://mochi.test:8888 URLs.
2011-08-19 11:39:00 -04:00
Benoit Jacob
55f0c4f93d Bug 679864 - [2/4] Upgrade WebGL conformance test suite to r15318 - r=trust.me
This patch updates the lists of failing tests, and adds some code to ignore a few intermittently failing tests: 1 on Windows and 2 on Mac
2011-08-19 11:39:00 -04:00
Benoit Jacob
df66d5b997 Bug 679864 - [1/4] Upgrade WebGL conformance test suite to r15318 - r=trust.me
This is the actual upgrade. The canonical URL for this test suite is

https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/
2011-08-19 11:39:00 -04:00
Cameron McCormack
56d9b00e15 Bug 667370 - Fix uncaught exception in test_2d.gradient.radial.cone.top.html. r=philor 2011-06-27 13:45:45 +12:00
Bas Schouten
813aaf1e16 Bug 651858 - Part 9: Update canvas tests to deal with new Azure canvas. r=roc 2011-06-24 19:41:18 +02:00
Robert O'Callahan
ae2df1cd66 Adding test file to fix bustage for bug 662450 2011-06-17 16:16:45 +12:00
Robert O'Callahan
561601264e Bug 662450. Test, r=jrmuizel 2011-06-17 15:46:06 +12:00
Robert O'Callahan
186867c591 Bug 656844. Test. r=joe 2011-06-17 15:37:27 +12:00
Ms2ger
86f87e082b Bug 664107 - Calling drawImage with non-finite arguments should not throw; r=smaug 2011-06-15 09:39:50 +02:00
Ms2ger
d0671160d0 Bug 663190 - Calling strokeRect with zero width or height should do nothing; r=smaug 2011-06-11 09:57:47 +02:00
Ms2ger
a6c4503b05 Bug 663194 - Calling drawImage with zero-size canvas should throw INVALID_STATE_ERR; r=sicking 2011-06-11 09:52:27 +02:00
Benoit Jacob
66919c207e Bug 663162 - Update ANGLE to r686 - r=joedrew
Just an ANGLE update, plus updating the list of failed tests on WinXP, also now properly reporting on unexpeced success (using todo(true) instead of ok(false))
2011-06-10 14:59:08 -04:00
Benoit Jacob
3f7d139bd9 Bug 656277 - Prevent loading WebGL textures from cross-domain images - r=bzbarsky, a=jpr
This blocks using cross-domain images and tainted canvases as WebGL textures, in response to a timing attack allowing to get approximations of cross domain images' pixel data.

This is known to break legitimate Web content (e.g. bug 662570), so it's sad to have to land this. In the hopefully near future, a way forward will be implemented allowing affected Web content to resume working: we will allow cross-domain textures that have CORS approval. This is being coordinated with other WebGL implementers on the WebGL mailing lists.
2011-06-07 13:47:54 -04:00
Kyle Huey
7c8feff73e Bug 661876: Fix tests to avoid using obsolete nsIDOMFile properties/methods. 2011-06-05 11:54:14 -07:00
Benjamin Peterson
be433a6891 Bug 405300 - ignore transformation in isPointInPath(). r=joe sr=roc 2011-06-03 07:50:14 +02:00
Ms2ger
4ee45e739a Bug 629870 - Drop support for globalCompositeOperation=over,clear; r=sicking 2011-06-02 14:56:46 +02:00
Robert O'Callahan
48d8d2b5f3 Bug 656844. Only draw shadows when 'source-over' operator is being used. r=joe 2011-05-30 15:28:01 +12:00
Benoit Jacob
2980ccd7c4 Bug 659349 - WebGL allows access to uninitialised graphics memory - r=jrmuizel
GLContext::ClearSafely() wasn't really safe, it was making naive assumptions about GL state and as a result, a WebGL script could obtain an uninitialized backbuffer.
2011-05-26 14:24:48 -04:00
Ms2ger
56c39feb5c Bug 632513 - Handle non-finite values for setTransform per spec; r=jst 2011-05-26 10:06:32 +02:00
Ms2ger
460ca55119 Bug 632486 - Handle non-finite values for bezierCurveTo per spec; r=jst 2011-05-26 10:06:32 +02:00
Ms2ger
bcfcbc1d85 Bug 632482 - Handle non-finite values for arcTo per spec; r=jst 2011-05-26 10:06:31 +02:00
Brian O'Keefe
02a4c1c6d9 Bug 564388 - Make the 'quality' parameter to ToDataURL work for image/jpeg. Also fixes bug 401795 (handle excess arguments to ToDataURL by ignoring them). r=bz,roc 2011-05-26 09:28:26 +02:00
Benoit Jacob
2c0eb7e54e Bug 657748 - Update ANGLE to r653 - a=joe
This ANGLE update fixes bugs, brings large performance improvements, and adds major new features that web devs are looking forward to: vertex shader texture lookup and float textures.

http://code.google.com/p/angleproject/

This update is also needed because the version we're currently using is the chrome_m10 branch and that's no longer maintained. This update will make it much easier to apply security fixes if needed.
2011-05-24 11:05:56 -04:00
Benoit Jacob
3b22833d8a Bug 636942 - stencil separate param validation must now occur on draw calls - r=jrmuizel
We were validating these params when they're set, and that was non-conformant behavior.
2011-05-20 15:53:53 -04:00
Benoit Jacob
a392b3f339 Bug 636913 - fix buffer-preserve-test.html so it works in the mochitest - r=joedrew
This was filed upstream at:
http://www.khronos.org/bugzilla/show_bug.cgi?id=472

This just moves around the canvas in the html so it's visible, so it actually gets composited. Otherwise the test fails.
2011-05-20 15:53:53 -04:00
Benoit Jacob
c8c2f484a2 Bug 636913 - implement the WebGL backbuffer clear semantics - r=joedrew
This implements the WebGL backbuffer clearing behavior when preserveDrawingBuffer=false
2011-05-20 15:53:53 -04:00
Benoit Jacob
779f99fd6c Bug 630672 - fixes for WebGL OES_texture_float extension - r=joedrew
This fixes a few issues in Vlad's patch: pass test, break reference cycle, fix leak
2011-05-20 15:53:53 -04:00
Vladimir Vukicevic
4b2230fe03 Bug 630672 - implement WebGL OES_texture_float extension - r=bjacob
This implements floating-point textures in WebGL
2011-05-20 15:53:53 -04:00
Benoit Jacob
b9642f26a8 Bug 657190 - the WebGL mochitest is downloading images from internet - r=philor
This patch checks in the image in question so we don't download it from internet anymore. Was causing intermittent test failures.
2011-05-20 15:53:53 -04:00
Benjamin Peterson
6ca89b9ae1 Bug 649618: toDataURL on a zero canvas should return "data:," r=joe 2011-05-20 00:28:45 +02:00
Benjamin Peterson
00688a9856 Bug 421865 - Handle zero dimensions correctly in canvas GetWidthHeight(). r=joe sr=roc 2011-05-19 12:49:18 +02:00
Yury
f2320f7c06 Bug 451165. Fix ParseColorString to report errors when there's garbage at the end of the color. r=dbaron 2011-05-05 17:12:04 -04:00
Ms2ger
c28b43a2a1 Bug 632511 - Handle non-finite values for scale per spec; r=peterv 2011-04-12 14:32:03 +02:00
Ms2ger
86c222a574 Bug 632481 - Handle non-finite values for arc per spec; r=peterv 2011-04-12 14:32:02 +02:00
Ms2ger
487af0c4c2 Bug 632476 - Handle non-finite values for fillRect, strokeRect per spec; r=peterv 2011-04-12 14:32:02 +02:00
Joe Drew
e0a8d65434 Bug 640887 - Ignore canvas-test on Windows XP, since it fails most of the time; r=bjacob 2011-04-11 09:12:17 -04:00
Marco Perez
e86148e927 Bug 647468 - make $(TAR) use stdin/stdout explicitly in content/canvas/test/webgl/Makefile.in; r=bjacob 2011-04-11 00:49:12 -04:00
Ms2ger
daeb0e2616 Bug 630029 - Throw INDEX_SIZE_ERR instead of SYNTAX_ERR when calling CanvasGradient.addColorStop with non-finite values; r=?sicking 2011-04-02 20:50:14 +02:00
Saint Wesonga ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
27054f013a Bug 392751 - Allow out of bounds rects in getImageData; r=bz 2011-04-07 21:45:18 -07:00
Ms2ger
c0904e3ca3 Bug 629894 - createImageData and getImageData should work for sizes smaller than one pixel; r=bz 2011-04-02 20:42:07 +02:00
Yury
f5ac501833 Bug 630040 - Implement createImageData(ImageData); r=bz 2011-04-02 20:45:26 +02:00
Ms2ger
9da7592a07 Bug 630052, part c: Handle non-finite and negative arguments to createImageData and getImageData according to spec; r=bz 2011-04-02 14:19:03 -04:00
Ms2ger
75157756af Bug 632516 - Handle non-finite values for translate per spec; r=roc 2011-04-01 15:31:35 -04:00
Ms2ger
5580363e6a Bug 632515 - Handle non-finite values for transform per spec; r=roc 2011-04-01 15:31:35 -04:00
Ms2ger
52e0a6ab6d Bug 632503 - Handle non-finite values for rect per spec; r=roc 2011-04-01 15:31:35 -04:00
Ms2ger
a621fafa13 Bug 632502 - Handle non-finite values for quadraticCurveTo per spec; r=roc 2011-04-01 15:31:35 -04:00
Ms2ger
09c1e8b000 Bug 632495 - Handle non-finite values for moveTo per spec; r=roc 2011-03-29 14:12:00 -04:00
Ms2ger
9c0180628b Bug 632493 - Handle non-finite values for lineTo per spec; r=roc 2011-03-29 14:05:00 -04:00
Ms2ger
3cb1f8077b Bug 630271 - Throw a TYPE_MISMATCH_ERR on createPattern(null); r=smaug 2011-04-01 15:31:34 -04:00
Ms2ger
938d8be616 Bug 630034 - Throw when attempting to create a radial gradient with negative radii; r=jmuizelaar 2011-03-31 11:47:00 -04:00
Ms2ger
93402fcdce Bug 632474 - Throw a TYPE_MISMATCH_ERR on drawImage(null); r=sicking 2011-03-31 15:38:30 -04:00
Ehsan Akhgari
49fceed112 Backout the latest cedar merge wholesale until I test the correctness of the merge locally. This commit takes the tree state back to changeset 8d3f6093c425 (the last known good changeset before the merge) 2011-04-01 12:23:48 -04:00
Ms2ger
ff9e7daf3f Bug 632474 - Throw a TYPE_MISMATCH_ERR on drawImage(null); r=sicking 2011-03-31 15:38:30 -04:00
Ms2ger
b23a59837e Bug 632508 - Handle non-finite values for rotate per spec; r=roc 2011-03-30 13:40:48 -04:00
Ms2ger
f50b65f0de Bug 632505 - Handle non-finite values for shadow{OffsetX|OffsetY|Blur} per spec; r=smaug 2011-03-30 13:40:48 -04:00
Ms2ger
96e851647e Bug 632464 - Handle non-finite values for globalAlpha per spec; r=smaug 2011-03-30 13:40:47 -04:00
Yury
83ae98f843 Bug 629875 - Handle negative arguments to drawImage; r=jmuizelaar 2011-03-30 14:55:13 +02:00
Ms2ger
e68c465383 Bug 632469 - Handle non-finite values for clearRect per spec; r=smaug 2011-03-29 22:24:53 -04:00
Ms2ger
bf7288aa6e Bug 630511 - Lowercase mime type argument to toDataURL; r=sicking 2011-03-29 22:24:53 -04:00
Ms2ger
548bbd157d Bug 494744. Fix testcase to actually test what it means to test. r=roc 2011-03-28 12:49:11 -04:00
Mounir Lamouri
5c636d8313 Bug 610212 - canvas.width and canvas.height should be reflected as unsigned int. r=jst 2011-03-25 12:40:55 +01:00
Robert O'Callahan
82c852c903 Bug 638241. Test that painting an <img>, changing its src attribute and then painting the <img> again paints the new image. 2011-03-24 16:13:58 +13:00
Benoit Jacob
be066bd5d0 Bug 635059 - Update WebGL test suite to version 1.0.0 from khronos.org - a=NPOTB 2011-03-03 11:02:36 -05:00
Benoit Jacob
e7797b975e Bug 636613 - Let WebGL mochitest run on Windows XP - r=jrmuizel, a=joe 2011-03-01 17:25:22 -05:00
Wes Johnston
1ae3289ab2 backout logging for bug 634532 a=cleanup-test, DONTBUILD 2011-02-17 11:33:50 -08:00
Wes Johnston
6f5dee4313 Bug 634532 - Add some logging to debug random oranges r=dougt, a=input-is-good 2011-02-16 09:45:26 -08:00
Benoit Jacob
bf6803e6ae Bug 634032 - remove FIXME in test list filenames - r=vlad, a=joe
--HG--
rename : content/canvas/test/webgl/00_testFIXME_list.txt => content/canvas/test/webgl/00_test_list.txt
rename : content/canvas/test/webgl/conformance/00_testFIXME_list.txt => content/canvas/test/webgl/conformance/00_test_list.txt
2011-02-14 16:39:55 -05:00
Benoit Jacob
f1f9b80cdd Bug 631643 - Check for ARB_ES2_compatibility before using it, fix MAX_VARYING_VECTORS emulation, clean up getParameters - r=vlad, a=jrmuizel 2011-02-11 18:11:30 -05:00
Benoit Jacob
7f6e80fbdd Bug 633622 - Make the webgl mochitest use ANGLE on test machines - r=vlad, a=hardblocker 2011-02-14 12:04:54 -05:00
Benoit Jacob
414569f071 oops -- fix list of webgl tests expected to fail -- r+a=bustage 2011-02-12 17:12:08 -05:00
Benoit Jacob
b0a4e99d3c Bug 632546 - pass is-object test - r=vlad, a=jrmuizel 2011-02-11 18:11:30 -05:00
Kyle Huey
9132ccf4bc Backout 2011-02-11 23:08:16 -05:00
Benoit Jacob
aeb24b4fe0 Bug 632546 - pass is-object test - r=vlad, a=jrmuizel 2011-02-11 18:11:30 -05:00
Vladimir Vukicevic
1e4ebe844d b=630177, update webgl tests for slice->subarray renaming, a=block 2011-02-01 17:43:55 -08:00
Jonas Sicking
e0cf36d329 Backed out changesets 808970eca6d5 and 84c8b33619e0 due to continued orange. a=bustage 2011-02-01 16:45:54 -08:00
Jonas Sicking
bf711df83f Fix orange from bug 630117. a=bustage 2011-02-01 16:19:22 -08:00
Ms2ger
c73a5e40aa Bug 630036 - Throw NOT_SUPPORTED_ERR instead of SYNTAX_ERR when calling cx.create{Linear|Radial}Gradient with non-finite values; r+a=roc 2011-02-02 08:48:57 +13:00
Ms2ger
057761e85c Bug 630062 - Don't throw on setting lineWidth and ignore non-positive values; r+a=roc 2011-02-02 08:47:24 +13:00
Ms2ger
efa9ee5a7b Bug 630056 - Don't throw on setting miterLimit and ignore non-positive values; r+a=roc 2011-02-02 08:46:44 +13:00
Ms2ger
1a2ff9c3c4 Bug 630068 - Throw when attempting to create an arc with a negative radius; r+a=roc 2011-02-02 08:45:48 +13:00
Benoit Jacob
0e625ec75b Bug 629933 - WebGL mochitest mistakenly disabled on Mac OS 10.6 - r=vlad, a=obviously-should-be-blocking2.0 2011-01-29 22:31:21 -05:00
Benoit Jacob
b5bb1fe80d Bug 628403 - rename webgl.prefer_gl to webgl.prefer-native-gl - r=vlad, a=joe 2011-01-28 21:12:25 -05:00
Benoit Jacob
950ed5f435 Bug 628403 - introduce webgl.force-enabled and webgl.disabled prefs - r=vlad, a=joe 2011-01-28 21:12:24 -05:00
Benoit Jacob
95e9471ced CLOSED TREE - Bug 629396 - update list of failing webgl tests after driver update on test slaves to fix WebGL mochitest failures - r+a=bustage 2011-01-27 12:26:11 -05:00
David Mandelin
46f9ff2b07 Bug 628612 followup: fix mochitest that assumes constructors are non-configurable, r=orange, a=blocker 2011-01-25 18:57:59 -08:00
Benoit Jacob
80aa7bed71 Bug 626996 - WebGL tests shouldn't be loading pages from the Internet - r=ehsan a=jrmuizel
--HG--
extra : rebase_source : c5760b5cedd4077a5e3d01985f9f0bbd103d1924
2011-01-20 17:24:47 -05:00
Benoit Jacob
65754f9740 CLOSED TREE Bug 582053 - that test fails on windows - r+a=bustage 2011-01-14 16:17:00 -05:00
Benoit Jacob
62991b997f Bug 582053 - gl-teximage passes now, remove from failing-tests list - r+a=bustage 2011-01-14 14:21:15 -05:00
Benoit Jacob
6afc30e375 Bug 582053 - Integrate WebGL conformance suite as a mochitest - r=vlad, a=blocking2.0
--HG--
rename : content/canvas/test/webgl/failing_tests.txt => content/canvas/test/webgl/failing_tests_linux.txt
2011-01-14 13:40:05 -05:00
Boris Zbarsky
423b8adc19 Bug 613794. Throw a reasonable exception when passed bogus imagedata. r=vlad 2011-01-14 10:34:39 -05:00
Vladimir Vukicevic
1160e65f4c [no bug]; update webgl test; a=npotb 2010-12-22 19:25:48 -08:00
Vladimir Vukicevic
5a5c544bbf b=619798; upgrade ANGLE to r511; r+a=vlad 2010-12-16 12:49:06 -08:00
Saint Wesonga
ede18c4434 Bug 498826 - Implement optional putImageData arguments. r+a=vlad 2010-12-04 16:44:26 +01:00
Vladimir Vukicevic
2a475c1a6c update in-tree webgl conformance tests copy; r=npotb 2010-12-03 14:44:01 -08:00
Vladimir Vukicevic
5f7897cd98 b=612334; update in-tree webgl tests from svn; npotb 2010-11-16 20:33:04 -08:00
Vladimir Vukicevic
36f8014890 b=539771; Add support for context attribs to canvas; r=jmuizelaar 2010-11-16 20:33:03 -08:00
Benoit Jacob
ab9bf7d5a8 Bug 607774 - Implement the spec on Renderbuffers and Framebuffers - r=vladimir 2010-11-05 15:57:58 -04:00
Ms2ger
5427337c29 Bug 589581 - Don't throw on non-finite values in canvas2Dcontext.isPointInPath; r+a=vlad 2010-10-17 20:24:31 +02:00
Benoit Jacob
f2663173fe Bug 593496 - Fix WebGL textures: conversions, flipping, premultiplication, unpack alignment - r=vladimir 2010-10-15 17:50:15 -04:00
Vladimir Vukicevic
d6d667fe54 Update in-tree WebGL test suite to r12629 2010-10-09 12:44:24 -07:00
Vladimir Vukicevic
5585ebca9f b=582053; integrate webgl confromance suite as mochitest, angle followup; r=bjacob 2010-09-13 08:53:52 -07:00
Justin Wood
71fa9278b0 Bug 600767 - [SeaMonkey] Linux Mochi-1 test_2d.composite.uncovered.image.destination-atop.html failing. r=khuey f=vlad a=NPOTB 2010-10-01 01:24:40 -04:00
Boris Zbarsky
a6899e1701 Fix this test to deal better with float rounding issues. Followup to bug 587106, a=bustage 2010-10-06 23:41:34 -04:00
Boris Zbarsky
7b56db1ca0 Followup for bug 587106. Update test to the new syntax. a=bustage 2010-10-06 22:40:41 -04:00
Boris Zbarsky
22c696308a Bug 587106. Make the alpha value of strokeStyle and company correct even for small alpha values. r=vlad, a=vlad 2010-10-06 21:01:37 -04:00
Masatoshi Kimura
57f204e676 b=600120; fix canvas composite.uncovered.image tests; r+a=vlad 2010-09-29 15:24:40 -07:00
Vladimir Vukicevic
b0850c29d5 b=599698; remove UpdateSurfaceClip speedtrap in canvas drawImage; r+a=shaver 2010-09-25 23:57:56 -07:00
Kyle Huey
a9713881d1 Bug 565843: Implement <canvas>.mozGetAsFile(name, type). r+a=sicking
--HG--
extra : rebase_source : 1a7a635dc5a7da047967d8feb57d637e83027618
2010-09-17 21:14:59 -04:00
Vladimir Vukicevic
c3fb6786b3 b=593850; [webgl] fix bad-arguments and null-object-behaviour tests; r=bjacob, a=b 2010-09-13 08:57:25 -07:00
Vladimir Vukicevic
c3b2630ecb b=593850; [webgl] remove bogus webgl debug utils from tests; r=bjacob 2010-09-13 08:56:13 -07:00
Vladimir Vukicevic
d8a5653695 b=593850; [webgl] fix test null-uniform-location; r=bjacob 2010-09-13 08:56:01 -07:00
Vladimir Vukicevic
15f8e02ea1 b=593850; [webgl] fix gl-uniform-arrays test; r=bjacob 2010-09-13 08:55:45 -07:00
Vladimir Vukicevic
66e6b95063 b=593850; [webgl] fix gl-scissor test; r=bjacob 2010-09-13 08:55:29 -07:00
Robert Sayre
59773ae503 Merge mozilla-central to tracemonkey. 2010-09-10 11:47:11 -04:00
Ginn Chen
472f5bdab7 Bug 594734 Use $(TAR) instead of tar for content/canvas/test/webgl r=bjacob a=testing file only 2010-09-10 20:56:33 +08:00
Robert Sayre
edb7aca0d0 merge mozilla-central to tracemonkey. 2010-09-08 10:33:07 -04:00
David Mandelin
f575742690 [JAEGER] Merge from Tracemonkey. 2010-08-30 11:38:48 -07:00
Benoit Jacob
667e7a61ef Disable uniform-location.html test. r=vlad 2010-08-26 20:46:15 +00:00
Benoit Jacob
e2e3fc263e Bug 590729 - Update WebGL tests to upstream r12308, and Mochitest improvements - r=vladimir, a=blocking2.0 2010-08-25 19:09:26 -04:00
Benoit Jacob
66c3eb510a Bug 582053 - Integrate WebGL conformance suite as a mochitest - r=ctalbert,vladimir a=blocking2.0
--HG--
rename : content/canvas/test/webgl/test_list.txt => content/canvas/test/webgl/00_testFIXME_list.txt
rename : content/canvas/test/webgl/conformance/00_test_list.txt => content/canvas/test/webgl/conformance/00_testFIXME_list.txt
rename : content/canvas/test/webgl/more/00_test_list.txt => content/canvas/test/webgl/more/00_testFIXME_list.txt
2010-08-25 08:14:12 -04:00
Benoit Jacob
68da606240 Bug 592416 - Various WebGL fixes - r=vladimir 2010-09-02 10:38:26 -04:00
Benoit Jacob
64bf8cac02 Bug 571054 - emulate vertex attrib 0 on desktop GL - r=vladimir 2010-09-02 10:34:08 -04:00
Benoit Jacob
4232dc2f5d Bug 591438 - disable getParameter random testing - r=vladimir 2010-09-02 10:31:08 -04:00
Benoit Jacob
970240fc6f Bug 591042 - validation fix in copyTexImage2D and update list of failing tests - r=vladimir, a=blocking2.0 2010-09-02 10:28:38 -04:00
Bas Schouten
1f97f2daae Bug 587316 - Part 6: Disable failing gradient test on D2D. r=jrmuizel 2010-08-16 09:15:03 +02:00
Bas Schouten
aecaf6e775 Bug 587316 - Part 5: Disable failing rectangle drawing test failing due to D2D inaccuracy. r=jrmuizel 2010-08-16 09:15:02 +02:00
Bas Schouten
7d3515f1b6 Bug 587316 - Part 2: Disable degenerate rect stroking test. r=jrmuizel 2010-08-16 09:15:02 +02:00
Robert O'Callahan
052fa3ca37 Bug 522859. Handle unbounded cairo operators properly in the Quartz backend. r=jrmuizel,a=joe 2010-08-13 22:02:47 +12:00
L. David Baron
cca635c194 Update to latest spec changes for ctx.font setter and getter. (Bug 508452) r=bzbarsky 2010-07-24 12:17:38 -07:00
L. David Baron
f6ad06f444 Revert incorrect changes made in http://hg.mozilla.org/mozilla-central/rev/f6beeb315747 (Bug 508452) r=bzbarsky
Note: the tests in this patch don't actually pass until the next one is applied as well.
2010-07-24 12:17:38 -07:00
Benoit Jacob
0985b3872c b=578509; Update our copy of the WebGL conformance test suite to svn 11955; r=vladimir 2010-07-16 10:30:32 -04:00
Ms2ger@gmail.com
3ce7f6d318 Bug 571532 - Remove support for ctx.globalCompositeOperation = 'darker'. r=vlad
--HG--
extra : rebase_source : 0d4c977df2d807642228c4ebeca567dd40beb09d
2010-07-15 10:12:34 +02:00
Ms2ger@gmail.com
0792cf5941 Bug 401788 - Canvas throws exceptions on invalid string values. r=sicking 2010-07-12 16:51:17 +02:00
Michael Kohler
dab190d2bc Bug 506041 - Correct misspellings in source code (Patch 3)
r=timeless

--HG--
extra : rebase_source : 1917c999a5865676ffb7ec3c2834c3e091bb64dc
2010-07-07 15:33:52 +02:00
Boris Zbarsky
037bfe5f69 Bug 517056. Drawing an incomplete image to the canvas shouldn't throw; should instead silently do nothing. r=vlad 2010-06-18 12:23:05 -04:00
Vladimir Vukicevic
4fc2ef05d4 webgl test suite update 2010-06-15 10:30:13 -07:00
Vladimir Vukicevic
65c3a85ff2 b=570538; [webgl] fix up buffer validation with interleaved data; r=bjacob 2010-06-08 15:14:43 -07:00
Vladimir Vukicevic
596a3f85bc [webgl] test suite additions; npotb 2010-06-08 15:14:39 -07:00
Vladimir Vukicevic
95e7e122e9 [npotb] Import WebGL test suite into tree 2010-06-04 12:03:40 -07:00
Phil Ringnalda
71bd192ba4 Correct spelling of recieve 2010-04-16 22:03:49 -07:00
Vladimir Vukicevic
1f6911c6af Update canvas tests to fix =~ usage and to mark passing tests as ok 2010-03-03 16:40:27 -08:00
Robert O'Callahan
d1f6ca832a Backed out changeset c9ff351b0738 2010-03-04 17:49:36 +13:00
Vladimir Vukicevic
eeec82577a Update canvas tests to fix =~ usage and to mark passing tests as ok 2010-03-03 16:40:27 -08:00
Robert O'Callahan
9778f1c9c6 Bug 366283. Enable canvas tests for correct compositing operators. 2010-01-07 13:55:08 +13:00
Johnny Stenback
039b7eb41d Part 2 of fix for bug 459452 (Add support for optional arg count for IDL methods): use [optional_argc] for DOM methods. r=peterv.
--HG--
extra : rebase_source : c0bc25842b2645fe9f42c9ed5d57567f8e6b5279
2009-08-10 16:41:12 +02:00
Saint Wesonga
9c0060a84d Bug 467988 - delete unused test files after speeding up canvas mochitests, r=roc 2009-10-17 18:19:26 -07:00
Bobby Holley
2d5ec55945 Bug 435296 - Decode-On-Draw. r=joe,roc,bz,dolske,peterw sr=vlad 2009-09-12 16:44:18 -06:00
Robert O'Callahan
7243af1d6f Bug 508227. Disable gradient tests that fail on Mac now that Mac handles degenerate radial gradients consistently with our other platforms. r=jmuizelaar
--HG--
extra : rebase_source : 6bdefccf7fe88a803260bad6fbd51d2526f37c91
2009-08-25 23:59:20 -07:00
Saint Wesonga
88388c2129 Bug 467988. Merge canvas mochitests into one file to speed up mochitest running. r=roc
--HG--
extra : rebase_source : 9a4f90fdbe07759e3970dbf665d753b7320b345a
2009-07-30 15:04:14 +12:00
Saint Wesonga
478108b350 Reset clipping region it PutImageData so that it doesn't clip the output, per spec. r=vlad sr=dbaron (Bug 433397) 2009-06-23 14:09:27 -07:00
Dirk Schulze
af1d0235a1 Bug 471281. Reimplement arcTo() to match Canvas spec. r=jrmuizel
This is based on Philip Taylor's emulation written in JavasScript.

Relanding this now that 499161 has landed which should fix test failures.
2009-06-17 13:57:50 -04:00
Jeff Muizelaar
ea694cb6f0 Backout Bug 471281 changeset b116b49459f8 because of Mochitest failures on Mac OS X 2009-06-17 16:43:12 -04:00
Dirk Schulze
50a8dd0633 Bug 471281. Reimplement arcTo() to match Canvas spec. r=jrmuizel
This is based on Philip Taylor's emulation written in JavasScript.
2009-06-17 13:57:50 -04:00
Boris Zbarsky
7b0ee90b96 Bug 495499. Speed up PutImageData for cases when the array contains doubles. r=brendan,vlad,jorendorff 2009-06-11 10:35:41 -04:00
L. David Baron
8c38aba811 Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07:00
Vladimir Vukicevic
5289a01dc6 b=436932, add imageRenderingQuality property to 2D canvas, r=roc 2009-04-07 12:05:41 -07:00
Joe Drew
8fb1293b2a Bug 484076 - Update pixman and cairo. This upgrades Cairo to git revision c932a809d6484503d7ee267d934bbc87c8d44092. r=vlad 2009-03-20 16:02:45 -04:00
Serge Gautherie
fb9a7ea0bc Bug 483989 - 3 Mochitest test_2d.*.html run fine but need to check/report success; (Av1a) Add |ok(true, ...);|; r=vladimir 2009-03-19 00:59:32 +01:00
Vladimir Vukicevic
5274e9ded7 Update canvas mochitests; covered operators changed with cairo 1.8.2 update 2008-11-06 01:44:13 -08:00
Vladimir Vukicevic
ae7b0c793c b=310682, add support for shadows in HTML Canvas -- test updates; patch from Eric Bulter; r=vlad 2008-09-25 12:53:55 -07:00
Vladimir Vukicevic
ff1ee85956 b=433004, support nsICanvasRenderingContext2D.createImageData; r+sr=roc 2008-09-02 10:52:22 -07:00
Eric Butler
15f31b92bc Disable broken seamonkey tests - bug 450114. r=vlad 2008-08-17 13:58:11 -07:00
Vladimir Vukicevic
a8e454cf10 Disable xor/lighter canvas tests 2008-08-10 22:20:31 -07:00
Vladimir Vukicevic
fca5d44b55 b=446534, Update canvas mochitests, code from Philip Taylor, patch by Eric Butler; r=vlad 2008-08-10 21:01:14 -07:00
Vladimir Vukicevic
d9cab3cefd b=433235, drawImage of canvas onto self is incorrect; r=roc 2008-07-11 13:32:12 -07:00
Eric Butler
c0d334f20b Canvas text spec implementation (bug 436904) 2008-06-10 16:16:59 -07:00
vladimir@pobox.com
ba3ac6ab71 b=421422, cairo upgrade mochitest tweaks ; r=me 2008-03-14 20:45:26 -07:00
bzbarsky@mit.edu
6b095f543a Adding test 2008-02-17 12:20:21 -08:00
vladimir@pobox.com
77e6542041 Disable some canvas tests, pending investigation 2008-02-13 23:52:05 -08:00
vladimir@pobox.com
2ab6933fab more test fun 2008-01-25 19:45:33 -08:00
vladimir@pobox.com
1f69c1af69 b=413026, disable 4 operator tests on Mac due to differences in Quartz implementation 2008-01-18 14:54:21 -08:00
dtownsend@oxymoronical.com
76d0d01daa Bug 405982: Improve error handling and consistency with image encoders. r=dolse, r+sr=pavlov, a=beltzner 2007-12-21 01:19:15 -08:00
roc+@cs.cmu.edu
ee00f61908 Disabling randomly-failing toDataURL tests, the right way 2007-12-11 16:31:19 -08:00
roc+@cs.cmu.edu
925a0c1f9f Disabling randomly-failing toDataURL tests. 2007-12-11 15:21:20 -08:00
bzbarsky@mit.edu
f39dff214c Fix up comments a dram 2007-12-05 20:47:09 -08:00
bzbarsky@mit.edu
b702caae0d Split tests up into groups so nsinstall doesn't blow away Windows' little mind. 2007-12-05 19:23:00 -08:00
bzbarsky@mit.edu
8e854d9023 Adding a whole bunch of canvas mochitests. Bug 407049, tests contributed by Philip Taylor <philip.taylor@cl.cam.ac.uk> 2007-12-05 18:51:12 -08:00