Commit Graph

52 Commits

Author SHA1 Message Date
Rik Cabanier
bdca28a308 Bug 966591 - Part 2: Validate input to AddHitRegion. Provide partial implementation. r=roc 2014-02-21 08:35:36 -05:00
Rik Cabanier
8500f89c15 Bug 966591 - Part 1: Put very basic hit region interface in + add runtime flag. r=roc 2014-02-21 08:35:14 -05:00
Ryan VanderMeulen
f1beeb142e Backed out 7 changesets (bug 966591) for mochitest leaks on a CLOSED TREE.
Backed out changeset b44289e756fc (bug 966591)
Backed out changeset c428b424ef95 (bug 966591)
Backed out changeset 9ac56da10646 (bug 966591)
Backed out changeset 81ba9bddd84e (bug 966591)
Backed out changeset 0c66968c2edd (bug 966591)
Backed out changeset 261a1ca9045c (bug 966591)
Backed out changeset 895728963f16 (bug 966591)
2014-02-21 10:39:15 -05:00
Rik Cabanier
1adccfe5fb Bug 966591 - Part 2: Validate input to AddHitRegion. Provide partial implementation. r=roc 2014-02-21 08:35:36 -05:00
Rik Cabanier
fcf0dfecdf Bug 966591 - Part 1: Put very basic hit region interface in + add runtime flag. r=roc 2014-02-21 08:35:14 -05:00
Rik Cabanier
f0b8114e7c Bug 960195 - Put drawSystemFocusRing behind a new runtime flag. r=roc 2014-01-16 08:27:03 -05:00
Rik Cabanier
55f07ac63c Bug 959820 - Rename drawSystemFocusRing to drawFocusIfNeeded. r=roc
--HG--
rename : content/canvas/test/reftest/drawSystemFocusRing-ref.html => content/canvas/test/reftest/drawFocusIfNeeded-ref.html
rename : content/canvas/test/reftest/drawSystemFocusRing.html => content/canvas/test/reftest/drawFocusIfNeeded.html
2014-01-15 09:50:31 -05:00
James Willcox
314e018e33 Bug 884226 - Add 'willReadFrequently' getContext() option for 2D canvas r=ehsan,gwright 2013-12-20 15:50:48 -06:00
Rik Cabanier
7f0313f389 Bug 540456 - Support HTML5 canvas draw{Custom,System}FocusRing(). r=smaug 2013-11-04 14:52:24 -05:00
Boris Zbarsky
7690d94087 Bug 882541 part 4. Treat undefined as missing for optional WebIDL arguments. r=khuey,ms2ger 2013-10-11 12:28:24 -04:00
Peter Van der Beken
69e7c5ae55 Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz.
--HG--
extra : rebase_source : 7bde7ddfe297e189ffa678ca1d9c34000bc904ec
2013-10-08 17:51:42 +02:00
Ms2ger
88bbf03777 Backout changeset 2e466ccc7bd0 for devtools test failures. 2013-10-26 17:02:20 +02:00
Peter Van der Beken
45ef6c1adc Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz.
--HG--
extra : rebase_source : 673c08ef093339e6bfb1418366af5cc5fabe7c4d
2013-10-08 17:51:42 +02:00
Peter Van der Beken
18359b69c9 Bug 922159 - Rename Creator WebIDL extended attribute to NewObject. r=bz.
--HG--
extra : rebase_source : 80791f28acbf8e2cc21946b0d62bb8555b53fc99
2013-09-30 18:32:22 +02:00
Ed Morley
68a54dcb54 Backed out changeset 64a19bc0e198 (bug 922159) for compilation failures on a CLOSED TREE 2013-10-23 15:51:48 +01:00
Peter Van der Beken
985a143c28 Bug 922159 - Rename Creator WebIDL extended attribute to NewObject. r=bz.
--HG--
extra : rebase_source : 2c09c54f42a111d27b0d57346ca7d80f440eca09
2013-09-30 18:32:22 +02:00
Rik Cabanier
891788aa06 Bug 768067 - Implement canvasRenderingContext2D.get/setLineDash. r=roc 2013-10-16 08:27:59 -04:00
Ed Morley
da83085a5c Backed out changeset ccf11ae08ba2 (bug 882541) 2013-10-14 17:30:43 +01:00
Boris Zbarsky
316fae665f Bug 882541 part 4. Treat undefined as missing for optional WebIDL arguments. r=khuey,ms2ger 2013-10-11 12:28:24 -04:00
Ryan VanderMeulen
f76c2246e8 Backed out changeset 8517afe50156 (bug 540456) for reftest failures.
CLOSED TREE
2013-10-09 15:12:21 -04:00
Rik Cabanier
c6c93f2cad Bug 540456 - Support HTML5 canvas draw{Custom,System}FocusRing(). r=smaug 2013-10-09 12:59:50 -04:00
James Willcox
4ffb1a14bf Bug 902651 - Restore the DrawTarget transform and clip when demoting r=mattwoodrow,bz
--HG--
rename : browser/config/mozconfigs/win64/common-opt => browser/config/mozconfigs/win64/nightly
extra : rebase_source : 1f1438d54fb97935c9186b69afc37a5d17028dbb
2013-08-23 09:52:32 -04:00
David Zbarsky
a4a3a95214 Bug 865998: Implement WebIDL union return values r=bz 2013-07-26 11:25:54 -07:00
Boris Zbarsky
c42b68eb77 Bug 861938. Make the CanvasWindingRule arguments be treated as missing if undefined is passed in. r=smaug 2013-06-05 20:51:22 -04:00
David Zbarsky
57b47b7ab9 Bug 856472: Convert CanvasGradient to WebIDL r=bz 2013-04-26 10:55:54 -04:00
David Zbarsky
3aaed3d194 Bug 856472: Convert CanvasPattern to WebIDL r=bz 2013-04-19 04:49:22 -04:00
David Zbarsky
478f402ed9 Backout 3e7970330a3e for being wrong 2013-04-22 02:01:36 -04:00
David Zbarsky
417758e921 Bug 856472: Convert CanvasPattern to WebIDL r=bz 2013-04-19 04:49:22 -04:00
David Zbarsky
23316e885d Bug 856472: Convert TextMetrics to WebIDL r=bz
* * *
Bug 857439 Part 4: Fix MediaStreamList wrapping r=bz
2013-04-19 04:49:22 -04:00
Ms2ger
ebda306fd2 Bug 826740 - Part f: Move HTMLCanvasElement to Paris bindings; r=khuey 2013-04-13 09:05:51 +02:00
Andrea Marchesini
16ff5dbc19 Bug 841493 - Convert HTMLVideoElement to WebIDL, r=Ms2ger 2013-03-19 13:28:34 +01:00
Boris Zbarsky
e53ffbf3f0 Bug 824589. Convert XULElement to WebIDL. r=peterv
The assertions in nsINode and nsWrapperCache are to eagerly catch
failures to override those methods.

The classinfo change for XULTreeBuilder is needed because one of those
is returned via an nsIXULTemplateBuilder attribute on XULElement.
Alternately, I could mark it notflattened in Bindings.conf, but Enn
said he prefers this anyway.

The change to the QI impl in BindingUtils is needed because when
XPConnect converts an IID from C++ to JS it makes is an nsJSID, not an
nsJSIID.  We've run into this before, sadly.

I removed "id" from nsIDOMXULElement because it's already on Element.
I suppose I could have left it there, but this seems cleaner.

The nsJSIID::HasInstance changes are needed to support XBL-implemented
interfaces.  Sadly, this does mean that if the underlying object QIs
to something but we didn't put those props on the WebIDL we'll end up
testing true for instanceof but not exposing the props.  I don't see
an obviously better way.  We should work on killing off uses of
"instanceof someinterface".

The browser.js change is needed to avoid throwing exceptions during
browser-chrome tests that are now getting reported because our
swapFrameLoaders is no longer an XPConnect method.
2013-01-29 12:51:55 -05:00
Boris Zbarsky
e15be64167 Back out bug 824589 (rev 22695cac3896) on suspicion of Ts regression 2013-01-29 17:18:06 -05:00
Boris Zbarsky
24d3443115 Bug 824589. Convert XULElement to WebIDL. r=peterv
The assertions in nsINode and nsWrapperCache are to eagerly catch
failures to override those methods.

The classinfo change for XULTreeBuilder is needed because one of those
is returned via an nsIXULTemplateBuilder attribute on XULElement.
Alternately, I could mark it notflattened in Bindings.conf, but Enn
said he prefers this anyway.

The change to the QI impl in BindingUtils is needed because when
XPConnect converts an IID from C++ to JS it makes is an nsJSID, not an
nsJSIID.  We've run into this before, sadly.

I removed "id" from nsIDOMXULElement because it's already on Element.
I suppose I could have left it there, but this seems cleaner.

The nsJSIID::HasInstance changes are needed to support XBL-implemented
interfaces.  Sadly, this does mean that if the underlying object QIs
to something but we didn't put those props on the WebIDL we'll end up
testing true for instanceof but not exposing the props.  I don't see
an obviously better way.  We should work on killing off uses of
"instanceof someinterface".

The browser.js change is needed to avoid throwing exceptions during
browser-chrome tests that are now getting reported because our
swapFrameLoaders is no longer an XPConnect method.
2013-01-29 12:51:55 -05:00
Rik Cabanier
be4a743c58 Bug 827053 - Add support for winding in fill + clip + isPointInPath + tests the feature. r=bas 2013-01-16 21:55:43 -05:00
Ehsan Akhgari
fb0041f474 Bug 825527 - Part 5: Turn on the WebIDL bindings for HTMLImageElement; r=bzbarsky 2013-01-02 12:28:14 -05:00
Tobias Schneider
b70a1cf2a8 Bug 803124 - Rename mozIsPointInStroke to IsPointInStroke. r=jmuizelaar
--HG--
rename : content/canvas/test/test_mozIsPointInStroke.html => content/canvas/test/test_isPointInStroke.html
2012-11-22 14:37:42 +01:00
Boris Zbarsky
5622bea52d Bug 767933 part 3. Update our IDL as needed to use unrestricted float/double or [LenientFloat]. r=khuey,bjacob 2012-11-27 15:32:05 -05:00
Tobias Schneider
8b298f4026 Bug 803124 - Implement mozIsPointInStroke. r=jmuizelaar 2012-10-29 16:54:53 +01:00
Boris Zbarsky
04d6d1040c Bug 801712 part 2. Switch ImageData to WebIDL bindings. r=peterv 2012-10-22 13:08:52 -04:00
Boris Zbarsky
2268aac36b Bug 787554. Don't prefix WebIDL getters names with a Get if they look like simple member access on the C++ side. r=peterv 2012-09-11 20:08:24 +01:00
Boris Zbarsky
a562efcb37 Bug 767931. Make drawWindow and asyncDrawXULElement ChromeOnly. r=roc 2012-09-07 01:29:47 -04:00
Boris Zbarsky
4f2844b1a2 Bug 778150 part 3. Default attributes to infallible. Allow annotation of fallible attributes in WebIDL. r=peterv
The valid annotations are [Throws], [GetterThrows], and [SetterThrows], which can all either take no value or
be set to MainThread or Workers if the throwing behavior is only happening on main thread or in workers
2012-09-05 09:21:33 -04:00
Boris Zbarsky
2ec1495f64 Bug 778150 part 2. Default methods to infallible. Allow annotation of fallible methods in WebIDL using [Throws]. r=peterv
[Throws] can either take no value, or can take MainThread or Workers if the
throwing behavior is only happening on main thread or in workers.
2012-09-05 09:21:33 -04:00
Boris Zbarsky
cf2ea39a29 Bug 784869. Stop allowing undefined as the second argument to createPattern in the WebIDL 2d context bindings. r=peterv 2012-08-28 13:10:10 -04:00
Boris Zbarsky
268aef67fb Bug 784809. Allow null for the repeat argument of canvas createPattern. r=peterv 2012-08-23 12:23:23 -07:00
Matt Brubeck
f6e99e646b Back out b88ccf7bd3e3 for Linux test_canvas.html failures on a CLOSED TREE 2012-08-23 14:08:42 -07:00
Boris Zbarsky
0a47f4e83c Bug 784809. Allow null for the repeat argument of canvas createPattern. r=peterv 2012-08-23 12:23:23 -07:00
Boris Zbarsky
3e8ac4b134 Bug 757164. Move infallibility annotations into webidl. r=peterv
In this new setup, there are three new extended attributes: Infallible,
GetterInfallible, SetterInfallible.  The first one applies to both methods and
attributes, while the last two apply only to attributes.  Each one can be
either set with no value specified (in which case it applies both on main
thread and in workers) or can be set to MainThread or Workers to limit where it
applies.

If Infallible is set on an attribute, then GetterInfallible and
SetterInfallible will be ignored.  So if you want to specify, for example, an
attribute that's infallible on the main thread and has an infallible getter in
workers, the right way to do that is [GetterInfallible,
SetterInfallible=MainThread].
2012-07-13 19:29:14 -04:00
Peter Van der Beken
52a7369c47 Fix for bug 762652 (Add the new DOM bindings API to CanvasRenderingContext2D). r=bz. 2012-06-13 17:14:15 +02:00