Commit Graph

558 Commits

Author SHA1 Message Date
Masatoshi Kimura
a34e1a3602 Bug 875155 - Convert TimeEvent to WebIDL. r=smaug 2013-05-25 07:55:19 +09:00
Masatoshi Kimura
39d0ce714a Bug 873753 - Remove classinfo bits from WebIDL-bound events. r=smaug 2013-05-21 04:34:12 +09:00
Ms2ger
0ed0441e1e Bug 868778 - Part c: Move DataChannel to WebIDL; r=mounir+jesup
--HG--
rename : content/base/public/nsIDOMDataChannel.idl => dom/webidl/DataChannel.webidl
2013-05-20 09:19:45 +02:00
Masatoshi Kimura
3d63807062 Bug 871786 - Separate D2E KeyEvent constants and a method from KeyboardEvent. r=smaug, bz
--HG--
rename : dom/webidl/KeyboardEvent.webidl => dom/webidl/KeyEvent.webidl
2013-05-19 10:28:47 +09:00
Andrea Marchesini
38fc5d8909 Bug 870856 - Convert DOMError to WebIDL. r=Ms2ger, r=bz 2013-05-18 13:52:06 -04:00
Jan-Ivar Bruaroey
e4c19f91c8 Bug 823512: Part 2: Update PeerConnection to spec. states + DataChannel. r=bz,rjesup,ekr 2013-05-16 19:40:23 -04:00
Ehsan Akhgari
e7318c89ad Bug 836599 - Part 9: Implement the DOM binding for OfflineAudioContext; r=roc 2013-05-16 19:30:41 -04:00
Olli Pettay
78ef891bef Bug 847594 - Paris binding for DataContainerEvent, r=peterv
--HG--
extra : rebase_source : ff4ad6b1b5a582c6e1b973fd1729aa2c6f7db314
2013-05-16 17:10:30 +03:00
Jon Buckley
b62514df6f Bug 738867 - Implement WebGL OES_element_index_uint extension. r=bjacob 2013-05-13 09:22:30 -04:00
Ehsan Akhgari
19d51152a3 Bug 871201 - Part 2: Implement AudioBufferSourceNode.gain; r=roc
X-Git-Commit-ID: db8923b372db098aa7a5dc1cbf42674310b61aef
X-Mailer: git-send-email

--HG--
rename : content/media/webaudio/test/test_audioBufferSourceNode.html => content/media/webaudio/test/test_audioBufferSourceNodeGain.html
rename : content/media/webaudio/test/test_audioBufferSourceNode.html => content/media/webaudio/test/test_delayNodeWithGainAlternate.html
extra : rebase_source : 2cc9259229209fa926970e78ddfc2ef5765f4ad5
2013-05-13 00:17:55 -04:00
Masatoshi Kimura
ed60194c16 Bug 871153 - Rename KeyEvent back to KeyboardEvent. r=smaug
--HG--
rename : dom/webidl/KeyEvent.webidl => dom/webidl/KeyboardEvent.webidl
2013-05-12 14:08:37 +09:00
Andrea Marchesini
37066de808 Bug 866796 - Convert SVGAnimatedRect to WebIDL. r=Ms2ger 2013-05-09 13:42:12 -04:00
Peter Van der Beken
4c5fc68485 Bug 868929 - Convert ImageDocument to WebIDL, drop hasXPConnectImpls from documents. r=bz.
--HG--
rename : content/html/document/src/ImageDocument.cpp => content/html/document/src/ImageDocument.h
extra : rebase_source : 23d83e5fcf8b6a6162524c09e7057edaeddec044
2013-05-07 17:27:53 +02:00
Olli Pettay
377adbe5c6 Bug 868232 - Paris binding for MozStkCommandEvent, r=peterv
--HG--
extra : rebase_source : 4a79aa44707f9dd0b0eb68611e13702f1bdb838e
2013-05-07 15:46:07 +03:00
Peter Van der Beken
01dccf283c Bug 855971 - Switch HTMLDocument to WebIDL bindings. r=bz. 2012-12-11 21:45:36 -05:00
Ehsan Akhgari
5005320e02 Backed out 3 changesets (bug 855971, bug 820846) because of browser-chrome test failures
Backed out changeset a2245b038bcc (bug 855971)
Backed out changeset 2a999f8ee317 (bug 820846)
Backed out changeset 6dba144500f3 (bug 820846)
2013-05-04 19:27:20 -04:00
Peter Van der Beken
d6817f696b Bug 855971 - Switch HTMLDocument to WebIDL bindings. r=bz.
--HG--
extra : rebase_source : d5ec9a80442e5b9c8df29f6d5971b61cb9b05778
2012-12-11 21:45:36 -05:00
Olli Pettay
07409694c9 Bug 847597 - Paris binding for NotifyAudioAvailableEvent, r=peterv
--HG--
extra : rebase_source : 2fb578e3f0c7a60f95f3a2f13634f9b4c887d95f
2013-05-02 20:11:12 +03:00
Ehsan Akhgari
b040e0542f Bug 865234 - Part 1: Add DOM bindings for the channel mixing attributes; r=roc 2013-04-27 18:44:50 -04:00
Andrew McCreight
61027ffc0b Bug 851639 - Allow JS implemented WebIDL to be registered on window.navigator. r=bz 2013-04-30 13:30:25 -07:00
Ehsan Akhgari
eda009ba04 Bug 865246 - Part 3: Update the BiquadFilterNode IDL to match the current spec; r=padenot 2013-04-26 17:11:23 -04:00
David Zbarsky
8383676b3b Bug 856472: Wrappercache CanvasGradient r=bz 2013-04-26 10:55:56 -04:00
David Zbarsky
e7c17f133d Bug 856472: Convert CanvasGradient to WebIDL r=bz 2013-04-26 10:55:54 -04:00
David Zbarsky
49bc848569 Bug 856472: Wrappercache CanvasPattern r=bz 2013-04-26 10:55:37 -04:00
David Zbarsky
e3ec2de9af Bug 856472: Convert CanvasPattern to WebIDL r=bz 2013-04-19 04:49:22 -04:00
Ms2ger
af6f4ef700 No bug - Sort the entries in Bindings.conf alphabetically. 2013-04-26 08:48:37 +02:00
Ms2ger
fe234fbc7f Bug 852135 - Part d: Move nsDOMAttributeMap to WebIDL bindings, remove CI and QS; r=bz 2013-04-26 08:48:27 +02:00
Ms2ger
348305a4fd Bug 864509 - Make SVGStringList inherit from nsISupports; r=bz 2013-04-26 08:47:11 +02:00
Ehsan Akhgari
5faff9a565 Bug 864164 - Part 2: Send the AudioBufferSourceNode buffer parameter changes to the stream; r=padenot 2013-04-22 17:01:22 -04:00
Robert O'Callahan
0e51880b10 Bug 834835. Part 1: Add initial AudioStreamTrack/VideoStreamTrack/MediaStreamTrack interfaces and implementations. r=jesup 2013-03-27 14:32:51 +13:00
David Zbarsky
730feee6f8 Backout 3e7970330a3e for being wrong 2013-04-22 02:01:36 -04:00
Ms2ger
88e0c63e61 Merge m-c to m-i. 2013-04-21 09:54:41 +02:00
Ms2ger
778540f42f Bug 861880 - Move TreeColumns to WebIDL; r=bz 2013-04-21 08:42:26 +02:00
David Zbarsky
a670bfb881 Bug 856962 - Move Touch to WebIDL bindings; r=mounir 2013-04-21 08:42:19 +02:00
Ms2ger
933f682691 Bug 861507 - Move SVGStringList to WebIDL and remove nsIDOMSVGStringList; r=heycam,smaug 2013-04-21 08:42:00 +02:00
Ehsan Akhgari
e6ef206ecb Bug 834513 - Part 3: Implement ScriptProcessorNode; r=roc 2013-04-13 21:37:04 -04:00
Olli Pettay
46719a3897 Bug 856364 - Paris binding for KeyboardEvent, r=peterv 2013-04-21 02:48:55 +03:00
David Zbarsky
65a41e7101 Bug 856472: Convert CanvasPattern to WebIDL r=bz 2013-04-19 04:49:22 -04:00
David Zbarsky
7235cdcd53 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
Olli Pettay
cdec8c80e4 Bug 856351 - Paris binding for DragEvent, r=peterv
--HG--
extra : rebase_source : 695b5a3bf3641f0e39d33ca8718e1bc78695b09d
2013-04-19 02:13:35 +03:00
Ryan VanderMeulen
3707b146a1 Backed out 4 changesets (bug 834835) for making bug 786539 nearly perma-orange. 2013-04-18 10:32:26 -04:00
Olli Pettay
0cfa77f832 Bug 862983 - HeaderFile annotation for WebIDL interfaces, r=bz
--HG--
extra : rebase_source : f096c032342b71aeb42999f80241697c79037b7c
2013-04-17 23:29:09 +03:00
Robert O'Callahan
bd6864353b Bug 834835. Part 1: Add initial AudioStreamTrack/VideoStreamTrack/MediaStreamTrack interfaces and implementations. r=jesup
--HG--
extra : rebase_source : 7d9ec16301f7ba12fb181e0b37fdcaf8455b97e4
2013-03-27 14:32:51 +13:00
Olli Pettay
c81e6649ce Bug 847596 - Paris binding for DeviceMotionEvent, r=peterv
--HG--
extra : rebase_source : 7cbf9ac11b81506a2ffe0a5c3a34ecb78fe54f5b
2013-04-16 16:03:46 +03:00
Olli Pettay
124d1b4696 Bug 856303 - Paris binding for MouseScrollEvent, r=peterv
--HG--
extra : rebase_source : 26aec7e5472d213615918f20168e3fd2277b0591
2013-04-15 23:37:52 +03:00
Olli Pettay
09d818e775 Bug 856363 - Paris binding for TouchEvent, r=peterv
--HG--
extra : rebase_source : 09fc86b555febd5adfaeebdffeb685e37c1d0823
2013-04-15 23:33:46 +03:00
Olli Pettay
67e5853096 Bug 847598 - Paris binding for NotifyPaintEvent, r=peterv
--HG--
extra : rebase_source : dcd7cc75cfc42ab5cb636093b67da057019269cb
2013-04-15 23:27:37 +03:00
Ehsan Akhgari
ff2971de14 Bug 853298 - Part 1: Switch the ownership model of audio nodes to be based the cycle collector with wrapper caches; r=roc
Here is what this patch does:
 * Got rid of the JSBindingFinalized stuff
 * Made all nodes wrappercached
 * Started to hold a self reference while the AudioBufferSourceNode is playing back
 * Converted the input references to weak references
 * Got rid of all of the SetProduceOwnOutput and UpdateOutputEnded logic

The nodes are now collected by the cycle collector which calls into
DisconnectFromGraph which drops the references to other nodes and destroys the
media stream.  Note that most of the cycles that are now inherent in the
ownership model are between nodes and their AudioParams (that is, the cycles
not created by content.)
2013-04-14 21:52:55 -04:00
David Zbarsky
b888bf773b Bug 846995 Part 3: Rename DOMSVGAnimatedTransformList and kill nsISupports r=jwatt
--HG--
rename : content/svg/content/src/DOMSVGAnimatedTransformList.cpp => content/svg/content/src/SVGAnimatedTransformList.cpp
rename : content/svg/content/src/DOMSVGAnimatedTransformList.h => content/svg/content/src/SVGAnimatedTransformList.h
2013-04-14 18:56:34 -04:00
David Zbarsky
b87e489c14 Bug 846995 Part 1: Fix all the files that reference SVGAnimatedTransformList r=jwatt 2013-04-14 18:56:34 -04:00
Ryan VanderMeulen
f0a9fe5d92 Merge m-c to inbound. 2013-04-13 08:04:05 -04:00
Ms2ger
069d54680d Bug 858212 - Move FileReader to Paris bindings; r=bz 2013-04-13 09:06:31 +02:00
Ms2ger
56287333d1 Bug 826740 - Part f: Move HTMLCanvasElement to Paris bindings; r=khuey 2013-04-13 09:05:51 +02:00
Ms2ger
8f5d5c7049 Bug 841488 - Part d: Move HTMLSelectElement to WebIDL bindings, remove CI and QS; r=khuey 2013-04-13 09:01:59 +02:00
Guilherme Gonçalves
8a6edb42bd Bug 850442 - Part 5 - Rename nsGeolocation to Geolocation. r=bz 2013-04-12 13:01:29 -07:00
Guilherme Gonçalves
2f794443db Bug 850442 - Part 3 - Convert callbacks, Geolocation and Position. r=bz 2013-04-12 13:01:29 -07:00
Guilherme Gonçalves
4bccbd8f23 Bug 850442 - Part 2 - Convert PositionError. r=bz 2013-04-12 13:01:28 -07:00
Guilherme Gonçalves
9123a3b2da Bug 850442 - Part 1 - Wrap nsGeoPosition and nsGeoPositionCoords into Position and Coordinates. r=bz 2013-04-12 13:01:28 -07:00
Boris Zbarsky
f7e751861b Bug 860591. Install WebIDL quickstubs for event interfaces as needed. r=smaug 2013-04-12 10:51:25 -04:00
Boris Zbarsky
cfcc19e96d Back out bug 860591 (rev 8488f69f8f91) because it causes orange, resulting in a CLOSED TREE 2013-04-12 12:50:06 -04:00
Boris Zbarsky
02efa525b8 Bug 860591. Install WebIDL quickstubs for event interfaces as needed. r=smaug 2013-04-12 10:51:25 -04:00
Ehsan Akhgari
04873bf8ec Bug 859595 - Implement the alternate names for AudioBufferSourceNode, AudioContext and AudioParam; r=bzbarsky
Let this be mentioned in our code base history that I wrote this patch
with tears in my eyes.  This is the saddest thing I've ever had to do to
Gecko. :(

--HG--
extra : rebase_source : 798e5b1dc8af51a399189dd05bc59ac077670820
2013-04-11 22:08:05 -04:00
Ehsan Akhgari
39a51a3402 Bug 861021 - Mark AudioBufferSourceNode.playbackRate as not-addrefed; r=bzbarsky 2013-04-11 21:44:42 -04:00
Ms2ger
d783193999 bug 851542 - Gamepad to webidl (with nsIVariant). r=smaug
--HG--
extra : rebase_source : ae08a894b592465641ed774688957a446c8966a7
2013-04-09 08:43:25 -04:00
Ted Mielczarek
ace7ab8859 Backed out changeset dcf67f13c6bb, bug 851542 for B2G bustage. 2013-04-11 09:23:14 -04:00
Ms2ger
cd3a35b28b bug 851542 - Gamepad to webidl (with nsIVariant). r=smaug 2013-04-09 08:43:25 -04:00
Andrea Marchesini
ae939003db Bug 858893 - Port DesktopNotification to WebIDL. r=Ms2ger 2013-04-10 10:20:43 -04:00
Andrea Marchesini
88fb3bf458 Bug 851470 - Attr to WebIDL. r=Ms2ger 2013-04-09 17:29:47 +02:00
Ehsan Akhgari
a003638449 Bug 859594 - Remove AudioSourceNode; r=bzbarsky 2013-04-08 22:45:02 -04:00
Boris Zbarsky
6d1fe7f08a Bug 856819 part 2. Sort js-implemented interfaces in a given file so that the declarations in C++ come in the right order. r=mccr8 2013-04-03 22:22:16 -04:00
Boris Zbarsky
d1d7bbfca7 Bug 852219 part 6. Handle cases when the C++ class we want to actually inherit from is not the one that the WebIDL interface is mapped to. r=mccr8 2013-04-03 22:22:16 -04:00
Boris Zbarsky
c4a0a2468f Bug 852219 part 5. Add tests for JS-implemented interfaces inheriting from other interfaces. r=mccr8 2013-04-03 22:22:15 -04:00
David Zbarsky
c86b9ad0f3 Bug 855597: Rename DOMSVGTransform to SVGTransform r=jwatt
--HG--
rename : content/svg/content/src/DOMSVGTransform.cpp => content/svg/content/src/SVGTransform.cpp
rename : content/svg/content/src/DOMSVGTransform.h => content/svg/content/src/SVGTransform.h
2013-04-02 15:17:41 -04:00
David Zbarsky
e79754ad61 Bug 855597: Make SVGTransform not inherit nsISupports r=longsonr 2013-04-02 15:17:40 -04:00
Ehsan Akhgari
28ce05cf89 Bug 855990 - Part 1: Implement the DOM bindings to AnalyserNode; r=bzbarsky 2013-03-31 23:41:14 -04:00
Jan Varga
c60929486c Bug 854323 - Move IDBFactory to Paris bindings. r=khuey 2013-03-31 10:18:30 +02:00
Olli Pettay
3dbdf49651 Bug 855091 - Paris bindings for WheelEvent, r=peterv
--HG--
extra : rebase_source : 44424189a53331aef5ca2779ede262adaccc9800
2013-03-28 16:57:33 +02:00
Olli Pettay
7e7d4afa9a Bug 854999 - Paris binding for SimpleGestureEvent, r=peterv
--HG--
extra : rebase_source : af491dbd2066c00a80a46d8a82e65403d12e83d5
2013-03-28 16:24:28 +02:00
Olli Pettay
856e4310fd Bug 855241 - Paris binding for ScrollAreaEvent, r=peterv
--HG--
extra : rebase_source : e838d252fdeba9c4effd7abae2c7f9843552ed04
2013-03-28 16:21:20 +02:00
Olli Pettay
6ede492f33 Bug 855110 - Paris binding for XULCommandEvent, r=peterv
--HG--
extra : rebase_source : cf971d766e2b07a56b0c8b79d1109f6d77eaad27
2013-03-28 16:19:10 +02:00
Olli Pettay
b355e7f232 Bug 855522 - Paris binding for ClipboardEvent, r=peterv
--HG--
extra : rebase_source : d88764afac5e7594d16c4d6625b18ec0b75440f2
2013-03-28 16:11:21 +02:00
Andrea Marchesini
65e4f3628b Bug 825196 - Convert HTMLInputElement to WebIDL. r=Ms2ger 2013-03-28 15:41:32 -04:00
David Zbarsky
5b797a8291 Bug 854629 Part 0: Remove the rest of XPIDL bindings for SVG elements r=Ms2ger 2013-03-27 21:23:10 -04:00
Andrea Marchesini
03840bb72d Bug 852620 - Convert SVGRect to WebIDL, r=Ms2ger 2013-03-26 16:53:13 +01:00
Boris Zbarsky
f83094f341 Bug 848796 part 3. Convert XULDocument to WebIDL. r=peterv 2013-03-26 11:31:54 -04:00
Olli Pettay
91a593cfe1 Bug 854573 - Paris binding for CompositionEvent, r=peterv
--HG--
extra : rebase_source : 3e04e198a329649d7e1f306a31cf96485f0afc0d
2013-03-26 13:45:45 +02:00
Olli Pettay
509211e490 Bug 847590 - Paris binding for BeforeUnloadEvent, r=peterv
--HG--
extra : rebase_source : d249e7a7e61c39ccba52a10234e2260b048c941d
2013-03-26 13:45:39 +02:00
William Chen
9ec88d1fbb Bug 818976 - Part 2: Implement template element interface. r=mrbkap,bz 2013-03-26 00:15:23 -07:00
David Zbarsky
dddd48eaf4 [Bug 852843] SVGZoomAndPan interface object not being instantiated r=bz 2013-03-21 01:33:56 -04:00
Phil Ringnalda
5cb9ec3f11 Back out 26f0d590a021, d92e88a18263, 5a2d12a34466 (bug 846995) for not building
CLOSED TREE
2013-03-19 20:20:38 -07:00
David Zbarsky
d46f71c5a4 Bug 846995 Part 3: Rename DOMSVGAnimatedTransformList and kill nsISupports r=jwatt
--HG--
rename : content/svg/content/src/DOMSVGAnimatedTransformList.cpp => content/svg/content/src/SVGAnimatedTransformList.cpp
rename : content/svg/content/src/DOMSVGAnimatedTransformList.h => content/svg/content/src/SVGAnimatedTransformList.h
2013-03-19 22:31:44 -04:00
David Zbarsky
cc52e10127 Bug 846995 Part 1: Fix all the files that reference SVGAnimatedTransformList r=jwatt 2013-03-19 22:31:44 -04:00
Andrea Marchesini
6a60f4e823 Bug 841493 - HTMLMediaElement - concrete: False, r=Ms2ger 2013-03-19 13:29:32 +01:00
Andrea Marchesini
bb166b0fab Bug 841493 - Convert HTMLVideoElement to WebIDL, r=Ms2ger 2013-03-19 13:28:34 +01:00
Andrea Marchesini
fef387cf3e Bug 841493 - Rename nsHTMLVideoElement to HTMLVideoElement, r=Ms2ger
--HG--
rename : content/html/content/public/nsHTMLVideoElement.h => content/html/content/public/HTMLVideoElement.h
rename : content/html/content/src/nsHTMLVideoElement.cpp => content/html/content/src/HTMLVideoElement.cpp
2013-03-19 13:27:35 +01:00
Andrew McCreight
90585f34e5 Bug 827486, part 7 - add basic code gen test. r=bz 2013-03-18 16:08:50 -07:00
Ehsan Akhgari
7ea6b92950 Bug 851073 - Move MouseEvent to Web IDL; r=smaug
--HG--
extra : rebase_source : 2b9f8e4f83a980838599bc4c0b6722651891c413
2013-03-14 11:30:47 -04:00
Kyle Huey
75a0778ab2 Back out Bug 827486 for PGO bustage. CLOSED TREE 2013-03-18 13:00:00 -07:00
Andrew McCreight
5b6aea0c17 Bug 827486, part 7 - add basic code gen test. r=bz 2013-03-18 10:19:42 -07:00
Phil Ringnalda
e2fa3980d3 Back out 2ea5f267af77:218356c595fc (bug 827486) for Windows builds dying with an obscure "MemoryError"
CLOSED TREE
2013-03-17 16:40:54 -07:00
Andrew McCreight
99636bba70 Bug 827486, part 7 - add basic code gen test. r=bz 2013-03-17 09:58:10 -07:00
Boris Zbarsky
4b9d7b9b20 Bug 846972 part 3. Switch CSSStyleSheet to WebIDL. r=peterv 2013-03-17 10:45:01 -04:00
Boris Zbarsky
58921d139a Bug 843627 part 2. Implement the WebIDL API for <embed> and <applet>. r=peterv 2013-03-17 10:42:03 -04:00
Ms2ger
7bcafadd47 Bug 824986 - Move DOMRequest and subclasses to Paris bindings; r=khuey 2013-03-17 09:51:36 +01:00
Ms2ger
fd85a96b6f Bug 846860 - Give HTMLOptionsCollection its own header and put it in the dom namespace; r=khuey
--HG--
rename : content/html/content/src/nsHTMLSelectElement.cpp => content/html/content/src/HTMLOptionsCollection.cpp
rename : content/html/content/src/nsHTMLSelectElement.h => content/html/content/src/HTMLOptionsCollection.h
2013-03-17 08:55:17 +01:00
Ms2ger
ded9d214d0 Bug 850817 - Move ClientRect to Paris bindings; r=bz
--HG--
rename : dom/interfaces/base/nsIDOMClientRect.idl => dom/webidl/ClientRect.webidl
2013-03-17 08:55:17 +01:00
Olli Pettay
9c45356a76 Bug 847586 - Paris binding for MutationEvent, r=Ms2ger
--HG--
extra : rebase_source : 7e20d191d214a1ac8eea2b6cb51718fafd5d0555
2013-03-14 23:18:20 +02:00
Olli Pettay
488fc5e798 Bug 847599 - Paris binding for TransitionEvent, r=Ms2ger
--HG--
extra : rebase_source : 0540a60c6a6d3ac1bef6df399e3feb7040f92a26
2013-03-14 23:16:13 +02:00
Olli Pettay
be6e8cf113 Bug 847589 - Paris binding for AnimationEvent, r=Ms2ger
--HG--
extra : rebase_source : 5987a31b2700481c17b0f430cd66c6e1bb7881e5
2013-03-14 23:16:03 +02:00
Ed Morley
f2b1addbf9 Backed out changeset 46ba7eb77ae1 (bug 847589) for crashes on a CLOSED TREE 2013-03-14 13:25:28 +00:00
Ed Morley
42d2e301a0 Backed out changeset 6ab8497cb00f (bug 847599) 2013-03-14 13:23:32 +00:00
Ed Morley
0708b1cd92 Backed out changeset ea13caf078a7 (bug 847586) 2013-03-14 13:23:28 +00:00
Olli Pettay
2b6f518d2b Bug 847586 - Paris binding for MutationEvent, r=Ms2ger
--HG--
extra : rebase_source : ce847b7cef923334274474e34db66158c110646c
2013-03-14 13:31:54 +02:00
Olli Pettay
78f48977b6 Bug 847599 - Paris binding for TransitionEvent, r=Ms2ger
--HG--
extra : rebase_source : ac215dccab4fcf5a802669584eaa71168a73e085
2013-03-14 13:07:02 +02:00
Olli Pettay
d8cd39e476 Bug 847589 - Paris binding for AnimationEvent, r=Ms2ger
--HG--
extra : rebase_source : abe968ca08b2f2bed4355e1fd69ea4f005689fd8
2013-03-14 13:03:00 +02:00
Olli Pettay
47bb119d1d Bug 847591 - Paris binding for CommandEvent, r=peterv
--HG--
extra : rebase_source : f633d3c91764c38f7cec9a9e1c192773e3ea6f7f
2013-03-13 23:05:32 +02:00
Olli Pettay
cfb9cd3f1d Bug 847583 - Paris binding for MessageEvent, r=peterv
--HG--
extra : rebase_source : 1f43c32d1dd2e05a745fe105d5b7156148b3b900
2013-03-13 22:18:36 +02:00
Olli Pettay
5cc732201d Bug 847585 - Paris binding for UIEvent, r=peterv
--HG--
extra : rebase_source : 01c588b769f9a3fa0ed435b67b0e07dff4dda179
2013-03-13 22:02:32 +02:00
David Zbarsky
3bec068502 Bug 842201 - SVGUnitTypes interface object is not being instantiated r=bz 2013-03-13 14:07:49 -04:00
Olli Pettay
6a95a1b610 Bug 847607 - Paris bindings for IDB event, r=khuey
--HG--
extra : rebase_source : de5c4ba79b8d990b25abaabd3892847f286737fd
2013-03-12 19:45:59 +02:00
Trevor Saunders
43728598df bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
Phil Ringnalda
7fbba09df0 Back out fee79a593fd3 and 2c8930343985 (bug 825341) for having probably needed-clobber 2013-03-11 20:10:18 -07:00
Trevor Saunders
3de595d32e bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
Ms2ger
2cf07efa15 Bug 847195 - Make NamedNodeMap only deal with Attrs; r=khuey
--HG--
rename : dom/interfaces/core/nsIDOMNamedNodeMap.idl => dom/interfaces/core/nsIDOMMozNamedAttrMap.idl
2013-03-10 09:00:33 +01:00
Ms2ger
0b1de39abe Bug 825285 - Part b: Move ArchiveReader to Paris bindings, remove XPCOM goop; r=khuey 2013-03-10 08:57:14 +01:00
Olli Pettay
e5921ddec1 Bug 822399 - Make Event to use Paris bindings, r=peterv 2013-03-09 13:34:29 +02:00
Masatoshi Kimura
dd29852063 Bug 841289 - Remove prefable option from WebIDL codegen. r=bz 2013-03-06 07:09:38 +09:00
Boris Zbarsky
c6e9532834 Bug 827158 part 8. Implement legacycaller support in WebIDL. r=peterv 2013-03-04 14:08:24 -05:00
Andrea Marchesini
3df3bdf8c9 Bug 841014 - Convert TimeRanges to WebIDL. r=Ms2ger, r=peterv 2013-03-02 14:16:43 -05:00
David Zbarsky
d42592c5be Use single quotes in Bindings.conf, no bug, r=me 2013-03-02 01:08:42 -05:00
David Zbarsky
7d58bb94c2 Bug 846977 - SVGMatrix doesn't need to inherit nsISupports r=bz 2013-03-02 01:08:42 -05:00
Boris Zbarsky
4549dd5886 Bug 776536 part 4. Turn on WebIDL bindings for NodeIterator and TreeWalker. r=peterv
The behavior here is a bit weird because Document is still not a
WebIDL object, so calling createNodeIterator or createTreeWalker via
an Xray will call the XPCOM versions of those methods.  That means
that I can't just disable XPCOM-based wrapping for TreeWalker and
NodeIterator altogether, unfortunately, which means a web page could
try stashing a TreeWalker in something like userdata and then getting
it back and end up wrapping it as an XPCOM object the second time.

I could "fix" that by adding a wrapper cache and whatnot, I guess, if
desired...  But the problem will go away once we convert Document in
any case.
2013-02-28 12:56:42 -05:00
Ryan VanderMeulen
ebcc7ae06a Backed out 7 changesets (bug 832920, bug 776536, bug 843261) for mochitest-a11y assertions on a CLOSED TREE.
--HG--
rename : content/base/src/NodeIterator.cpp => content/base/src/nsNodeIterator.cpp
rename : content/base/src/NodeIterator.h => content/base/src/nsNodeIterator.h
rename : content/base/src/TreeWalker.cpp => content/base/src/nsTreeWalker.cpp
rename : content/base/src/TreeWalker.h => content/base/src/nsTreeWalker.h
2013-02-28 14:41:30 -05:00
Boris Zbarsky
30f64b6cf1 Bug 776536 part 4. Turn on WebIDL bindings for NodeIterator and TreeWalker. r=peterv
The behavior here is a bit weird because Document is still not a
WebIDL object, so calling createNodeIterator or createTreeWalker via
an Xray will call the XPCOM versions of those methods.  That means
that I can't just disable XPCOM-based wrapping for TreeWalker and
NodeIterator altogether, unfortunately, which means a web page could
try stashing a TreeWalker in something like userdata and then getting
it back and end up wrapping it as an XPCOM object the second time.

I could "fix" that by adding a wrapper cache and whatnot, I guess, if
desired...  But the problem will go away once we convert Document in
any case.
2013-02-28 12:56:42 -05:00
Boris Zbarsky
d917523d97 Bug 842561. Assert that our inheritance chain is correct for WebIDL objects. r=peterv
We could drop the descriptor for Text if we changed nsIDocument::CreateTextNode
to return an already_AddRefed<Text>, but then we'd need more casting in
nsDocument.cpp for the XPCOM CreateTextNode.  Not sure which way is better,
really.
2013-02-22 09:56:29 -05:00
Ehsan Akhgari
17bceb4c6e Bug 838582 - Part 2: Move HTMLTextAreaElement to Web IDL bindings; r=bzbarsky 2013-02-19 00:54:23 -05:00
Ryan VanderMeulen
858de2ee46 Backed out 6 changesets (bug 832920, bug 825341, bug 838582, bug 842726, bug 629801, bug 842561) for Linux32 debug mochitest-2 and Windows/OSX mochitest-browser-chrome failures on a CLOSED TREE. 2013-02-22 15:30:06 -05:00
Ehsan Akhgari
d15b248e6d Bug 838582 - Part 2: Move HTMLTextAreaElement to Web IDL bindings; r=bzbarsky
--HG--
extra : rebase_source : f8933c4973220dc8845b9ce2f63e91b366167117
2013-02-19 00:54:23 -05:00
Boris Zbarsky
90617e5775 Bug 842561. Assert that our inheritance chain is correct for WebIDL objects. r=peterv
We could drop the descriptor for Text if we changed nsIDocument::CreateTextNode
to return an already_AddRefed<Text>, but then we'd need more casting in
nsDocument.cpp for the XPCOM CreateTextNode.  Not sure which way is better,
really.
2013-02-22 09:56:29 -05:00
Trevor Saunders
70d157e13c bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
Andrea Marchesini
757e694b8f Bug 839447 - Convert HTMLOptionElement to WebIDL, r=Ms2ger 2013-02-18 13:26:57 +01:00
Andrea Marchesini
8dfd16908c Bug 839447 - Rename nsHTMLOptionElement to HTMLOptionElement, r=Ms2ger
--HG--
rename : content/html/content/src/nsHTMLOptionElement.cpp => content/html/content/src/HTMLOptionElement.cpp
rename : content/html/content/src/nsHTMLOptionElement.h => content/html/content/src/HTMLOptionElement.h
2013-02-18 13:24:58 +01:00
Andrea Marchesini
acfa9340f7 Bug 838559 - Convert HTMLMenuElement to WebIDL. r=Ms2ger, r=peterv 2013-02-18 06:59:08 -05:00
Andrea Marchesini
8f44285b2e Bug 838559 - Rename nsHTMLMenuElement to HTMLMenuElement. r=Ms2ger
--HG--
rename : content/html/content/src/nsHTMLMenuElement.cpp => content/html/content/src/HTMLMenuElement.cpp
rename : content/html/content/src/nsHTMLMenuElement.h => content/html/content/src/HTMLMenuElement.h
2013-02-18 06:59:08 -05:00
Peter Van der Beken
d07b3d8eef Fix for bug 838269 (Support cross-global |... instanceof DOMInterface|). r=bz.
--HG--
extra : rebase_source : e5ad1d7da8029394e3ecb38909eca406a675dbe9
2013-01-08 19:05:36 +01:00
Trevor Saunders
369f889cf4 bug 819027 - remove unneeded performance nsISupports inheritance r=bz, mccr8 2012-12-06 16:01:59 -05:00
Robert O'Callahan
8192e0a0c4 Bug 837034. Part 2: Convert DOMMediaStream to use WebIDL. r=peterv,jesup
--HG--
rename : content/media/nsDOMMediaStream.cpp => content/media/DOMMediaStream.cpp
rename : content/media/nsDOMMediaStream.h => content/media/DOMMediaStream.h
extra : rebase_source : 483fca748444db20ed0d35cb586485f277e1808c
2013-02-15 21:04:11 +13:00
Masatoshi Kimura
956db5faa3 Bug 841479 - Remove nsISupports inheritance from TextDecoder and TextEncoder. r=bz 2013-02-15 05:36:50 +09:00
Trevor Saunders
60c334769d bug 840906 - densISupportsify nsDOMRGBCSSColor r=mccr8 2013-02-13 16:39:23 -05:00
Andrea Marchesini
97682ecd81 Bug 840559 - Convert MediaError to WebIDL. r=smaug 2013-02-14 10:59:21 -05:00
Ed Morley
fb6aef7abd Merge latest green inbound changeset to mozilla-central 2013-02-12 14:43:06 +00:00
Ms2ger
3046dd9223 Bug 838160 - Part b: Move HTMLOutputElement to Paris bindings; r=bz 2013-02-12 11:11:01 +01:00
Ms2ger
f38a4f23b0 Bug 835065 - Part c: Move SVGComponentTransferFunctionElement and subclasses to Paris bindings; r=bz 2013-02-12 11:10:24 +01:00
Andrea Marchesini
2d73598335 Bug 839033 - Convert HTMLProgressElement to WebIDL. r=Ms2ger 2013-02-11 13:56:31 -05:00
Ryan VanderMeulen
209bcbdaa0 Backed out changesets, cf285bf3c6fc, e8b847157094, and dd86a8178cec (bug 839033) for bustage.
--HG--
rename : content/html/content/src/HTMLProgressElement.h => content/html/content/src/nsHTMLProgressElement.cpp
2013-02-09 17:51:10 -05:00
Andrea Marchesini
ee2d7fd03a Bug 839033 - Convert HTMLProgressElement to WebIDL. r=Ms2ger 2013-02-09 17:21:15 -05:00
Andrea Marchesini
888cdf0242 Bug 839439 - Convert HTMLAreaElement to WebIDL. r=Ms2ger 2013-02-08 11:34:48 -05:00
Andrea Marchesini
e2a9fdba68 Bug 839056 - Convert HTMLOptGroupElement to WebIDL. r=Ms2ger 2013-02-08 11:34:48 -05:00
Andrea Marchesini
d8e0d71402 Bug 839056 - Rename nsHTMLOptGroupElement to HTMLOptGroupElement. r=Ms2ger
--HG--
rename : content/html/content/src/nsHTMLOptGroupElement.cpp => content/html/content/src/HTMLOptGroupElement.cpp
rename : content/html/content/src/nsHTMLOptGroupElement.h => content/html/content/src/HTMLOptGroupElement.h
2013-02-08 11:34:48 -05:00
Andrea Marchesini
9c0fe725fe Bug 839105 - Convert HTMLFieldSetElement to WebIDL. r=Ms2ger 2013-02-08 11:34:48 -05:00
Andrea Marchesini
1f4c7da5bb Bug 838172 - Convert AudioChannelManager to WebIDL. r=peterv 2013-02-08 11:34:47 -05:00
Ms2ger
cc7807ddbe Bug 839179 - Part b: Move HTMLButtonElement to Paris bindings; r=bz 2013-02-08 13:50:30 +01:00
Ms2ger
c26449c818 Bug 839053 - Part b: Move HTMLLinkElement to Paris bindings; r=bz 2013-02-08 13:50:30 +01:00
Boris Zbarsky
96a978de51 Bug 839116 part 2. Convert HTMLSharedElement to WebIDL. r=ms2ger
--HG--
rename : dom/webidl/HTMLLIElement.webidl => dom/webidl/HTMLBaseElement.webidl
rename : dom/webidl/HTMLLIElement.webidl => dom/webidl/HTMLDirectoryElement.webidl
rename : dom/webidl/HTMLLIElement.webidl => dom/webidl/HTMLHeadElement.webidl
rename : dom/webidl/HTMLLIElement.webidl => dom/webidl/HTMLHtmlElement.webidl
rename : dom/webidl/HTMLLIElement.webidl => dom/webidl/HTMLParamElement.webidl
rename : dom/webidl/HTMLLIElement.webidl => dom/webidl/HTMLQuoteElement.webidl
2013-02-08 12:20:11 +00:00
Boris Zbarsky
24d9f6a70b Bug 836850. Allow a single C++ class to implement multiple WebIDL interfaces. r=peterv
--HG--
rename : content/html/content/test/test_li_attributes_reflection.html => content/html/content/test/test_dl_attributes_reflection.html
rename : content/html/content/test/test_li_attributes_reflection.html => content/html/content/test/test_ul_attributes_reflection.html
2013-02-08 12:20:11 +00:00
Andrea Marchesini
83c12b2a45 Bug 839022 - Convert HTMLSourceElement to WebIDL. r=Ms2ger 2013-02-07 10:39:10 -05:00
Andrea Marchesini
64fb75c8f4 Bug 838750 - Convert HTMLMeterElement to WebIDL. r=Ms2ger 2013-02-07 10:00:39 -05:00
Andrea Marchesini
3e9ec09832 Bug 838233 - Convert HTMLHRElement to WebIDL. r=Ms2ger 2013-02-07 09:57:59 -05:00
Ms2ger
ec1ae08fad Bug 838160 - Part b: Move HTMLMetaElement to Paris bindings; r=bz 2013-02-07 09:08:58 +01:00
Ms2ger
7e09e3f7e6 Bug 837597 - Part b: Move HTMLModElement to Paris bindings; r=bz 2013-02-07 09:08:58 +01:00
Ms2ger
4a4986af60 Bug 837597 - Part b: Move HTMLMapElement to Paris bindings; r=bz 2013-02-07 09:08:57 +01:00
Ryan VanderMeulen
9e13554a56 Backed out changesets 34927afb65e2 and 2d0b056ced49 (bug 838559) for mochitest failures.
--HG--
rename : content/html/content/src/HTMLMenuElement.cpp => content/html/content/src/nsHTMLMenuElement.cpp
rename : content/html/content/src/HTMLMenuElement.h => content/html/content/src/nsHTMLMenuElement.h
2013-02-06 16:22:59 -05:00
Andrea Marchesini
bc62b9be2a Bug 838559 - Convert HTMLMenuElement to WebIDL. r=Ms2ger 2013-02-06 14:19:20 -05:00
Andrea Marchesini
e5a5252fbf Bug 838559 - Rename nsHTMLMenuElement to HTMLMenuElement. r=Ms2ger
--HG--
rename : content/html/content/src/nsHTMLMenuElement.cpp => content/html/content/src/HTMLMenuElement.cpp
rename : content/html/content/src/nsHTMLMenuElement.h => content/html/content/src/HTMLMenuElement.h
2013-02-06 14:19:20 -05:00
Boris Zbarsky
50ced00d20 Bug 830992 part 2. Switch DOMTransaction to WebIDL codegen. r=wchen,peterv 2013-02-06 09:42:33 +00:00
Andrea Marchesini
01bac8a971 Bug 813253 - URL.createobjectURL in WebWorker. r=bent 2013-02-05 18:17:17 -05:00
Robert O'Callahan
088271f880 Bug 804387. Part 9: Update WebAudio implementation to integrate with AudioNodeStream. r=ehsan
This is a mega-patch that was too hard to disentangle. Here's what it does:
-- Create infrastructure around AudioNode::UpdateOutputEnded to detect
when a node can no longer produce any output. When that becomes true,
disconnect it from the AudioNode graph.
-- Have AudioNode implement JSBindingFinalized to use as input in
UpdateOutputEnded.
-- Give every AudioNode a MediaStream, and give every connection
a MediaInputPort.
-- Actually play the audio that reaches the AudioContext's destination node.
-- Force AudioContext to use the audio sample rate defined by MediaStreamGraph.
-- Fix AudioBufferSourceNode's start and stop methods to possibly throw and
take default 'when' parameters.
-- Create an AudioNodeStream for AudioBufferSourceNode and give it a
AudioBufferSourceNodeEngine that does what's needed. Set parameters for
this engine in the start() and stop() methods.
-- Create AudioBuffer::GetThreadSharedChannelsForRate, which is responsible
for stealing the contents of any JS array buffers, and bundling them up
into a thread-shared read-only buffer object which can be used as
part of an AudioChunk. This method will also be responsible for
resampling and caching as necessary.

--HG--
rename : content/media/MediaStreamGraph.cpp => content/media/MediaStreamGraphImpl.h
extra : rebase_source : 9fa0ec0efa304acd6513e427103d6339c78efa53
2013-02-05 12:07:25 +13:00
Andrea Marchesini
ad06a4d453 Bug 838124 - Convert BatteryManager to WebIDL. r=peterv 2013-02-05 07:54:49 -05:00
Ehsan Akhgari
631b308649 Backed out 14 changesets (bug 804387) because of Android M2 crashes
Backed out changeset 80e8530f06ea (bug 804387)
Backed out changeset 3de2271ad47f (bug 804387)
Backed out changeset 00f86870931c (bug 804837)
Backed out changeset 0e3f20927c50 (bug 804387)
Backed out changeset e6ef90038007 (bug 804387)
Backed out changeset 0ad6f67a95f9 (bug 804387)
Backed out changeset d0772aba503c (bug 804387)
Backed out changeset 5477b87ff03e (bug 804387)
Backed out changeset 1d7ec5adc49f (bug 804387)
Backed out changeset 11f4d740cd6c (bug 804387)
Backed out changeset e6254d8997ab (bug 804387)
Backed out changeset 372322f3264d (bug 804387)
Backed out changeset 53d5ed687612 (bug 804387)
Backed out changeset 000b88ac40a7 (bug 804387)
2013-02-05 01:29:28 -05:00
Robert O'Callahan
45c5e4a1ad Bug 804837. Part 9: Update WebAudio implementation to integrate with AudioNodeStream. r=ehsan
This is a mega-patch that was too hard to disentangle. Here's what it does:
-- Create infrastructure around AudioNode::UpdateOutputEnded to detect
when a node can no longer produce any output. When that becomes true,
disconnect it from the AudioNode graph.
-- Have AudioNode implement JSBindingFinalized to use as input in
UpdateOutputEnded.
-- Give every AudioNode a MediaStream, and give every connection
a MediaInputPort.
-- Actually play the audio that reaches the AudioContext's destination node.
-- Force AudioContext to use the audio sample rate defined by MediaStreamGraph.
-- Fix AudioBufferSourceNode's start and stop methods to possibly throw and
take default 'when' parameters.
-- Create an AudioNodeStream for AudioBufferSourceNode and give it a
AudioBufferSourceNodeEngine that does what's needed. Set parameters for
this engine in the start() and stop() methods.
-- Create AudioBuffer::GetThreadSharedChannelsForRate, which is responsible
for stealing the contents of any JS array buffers, and bundling them up
into a thread-shared read-only buffer object which can be used as
part of an AudioChunk. This method will also be responsible for
resampling and caching as necessary.
2013-02-05 12:07:25 +13:00
Ehsan Akhgari
7153c2e7ee Bug 837520 - Part 2: Move HTMLBRElement to Web IDL bindings; r=bzbarsky 2013-02-03 18:05:27 -05:00
Ehsan Akhgari
3d9d777756 Bug 837416 - Part 2: Move HTMLStyleElement to Web IDL bindings; r=bzbarsky 2013-02-03 12:42:40 -05:00
Ehsan Akhgari
a3b0d5871a Backed out 3 changesets (bug 837416) because of test failures
Backed out changeset 1d7232646d12 (bug 837416)
Backed out changeset 476af8f75f28 (bug 837416)
Backed out changeset 428b29658d07 (bug 837416)

--HG--
rename : content/html/content/src/HTMLStyleElement.cpp => content/html/content/src/nsHTMLStyleElement.cpp
2013-02-03 15:18:19 -05:00
Ehsan Akhgari
48ce320438 Bug 837416 - Part 2: Move HTMLStyleElement to Web IDL bindings; r=bzbarsky 2013-02-03 12:42:40 -05:00
Peter Van der Beken
6f66838447 Fix for bug 836809 (Convert XMLStyleSheetProcessingInstruction to WebIDL). r=bz.
--HG--
rename : content/xml/content/src/nsXMLStylesheetPI.cpp => content/xml/content/src/XMLStylesheetProcessingInstruction.cpp
rename : content/xml/content/src/nsXMLStylesheetPI.cpp => content/xml/content/src/XMLStylesheetProcessingInstruction.h
extra : rebase_source : 11bb422e280b58c33bb0165b60f34da5c6fae3de
2013-02-01 13:28:37 +01:00
David Zbarsky
642114ea39 Bug 837036 - Remove SVGLocatableElement and SVGTransformableElement IDL r=longsonr 2013-02-01 04:55:45 -05:00
Boris Zbarsky
194b6a08f7 Bug 829867. Unpref PaintRequest and Screen WebIDL bindings and remove some cruft from quickstubs. r=peterv
nsIDOMCharacterData and nsIDOMText quickstubs are not needed after bug 826703.

nsIDOMRect quickstubs haven't been needed since bug 824970 landed.

nsCSSPropertiesQS has been unused since bug 801083 at least.

The various includes being removed are either fully on WebIDL now or using WebIDL quickstubs.
2013-01-29 12:52:09 -05:00
Boris Zbarsky
27b20c21af 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
66e49b02aa Back out bug 824589 (rev 22695cac3896) on suspicion of Ts regression 2013-01-29 17:18:06 -05:00
Boris Zbarsky
775587776a Back out bug 829867 (rev 2a0424e177c1) on suspicion of Ts regression 2013-01-29 17:17:37 -05:00
Boris Zbarsky
209081f37e Bug 829867. Unpref PaintRequest and Screen WebIDL bindings and remove some cruft from quickstubs. r=peterv
nsIDOMCharacterData and nsIDOMText quickstubs are not needed after bug 826703.

nsIDOMRect quickstubs haven't been needed since bug 824970 landed.

nsCSSPropertiesQS has been unused since bug 801083 at least.

The various includes being removed are either fully on WebIDL now or using WebIDL quickstubs.
2013-01-29 12:52:09 -05:00
Boris Zbarsky
8231be64a0 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
fbda957199 Bug 830099. Flag WebIDL dictionaries and callbacks with some information indicating whether we need main-thread and worker codegen for them and then use that information to skip unneccessary codegen. r=peterv 2013-01-28 23:30:17 -05:00
Phil Ringnalda
7250370ce6 Back out c5238879470f and b3cabb259af7 (bug 830099) for bustage 2013-01-28 22:36:59 -08:00
Boris Zbarsky
023ecd137e Bug 830099. Flag WebIDL dictionaries and callbacks with some information indicating whether we need main-thread and worker codegen for them and then use that information to skip unneccessary codegen. r=peterv 2013-01-28 23:30:17 -05:00
Ehsan Akhgari
00eafdea81 Backed out changeset 32786d29daf8 (bug 830099) because of build bustage 2013-01-28 23:51:03 -05:00
Boris Zbarsky
002da9ef93 Bug 830099. Flag WebIDL dictionaries and callbacks with some information indicating whether we need main-thread and worker codegen for them and then use that information to skip unneccessary codegen. r=peterv 2013-01-28 23:30:17 -05:00
Boris Zbarsky
fd94476421 Bug 822470 part 7. Use new callback codegen for conversion to and from JS. r=peterv
NodeFilter, EventListener, and DOMTransaction will be updated to use the new codegen once we've fixed the consumers.
2013-01-28 08:34:31 -05:00
Boris Zbarsky
1ddbf2e612 Bug 822470 part 6. Hook up callback interface codegen. r=peterv 2013-01-28 08:34:30 -05:00
Robert O'Callahan
fc44cd635c Bug 804837. Part 0: Rework the connection and input/output port logic for Web Audio nodes; r=ehsan
Here's what this patch does:
-- Makes AudioNodes mostly not use nsWrapperCache. AudioDestinationNode
still does.
-- Rename MaxNumberOfInputs/Outputs to NumberOfInputs/Outputs, and have them
default to 1 in AudioNode.
-- Allow any number of nodes to be connected to any given input/output port.
2013-01-23 19:50:18 -05:00