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
Boris Zbarsky
d37856e270
Bug 841404. Make sure that we treat dictionaries inside sequence and array members of a dictionary as dependencies for it. r=peterv
2013-02-17 11:22:11 -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
Ryan VanderMeulen
1568f7d987
Backed out 12 changesets (bug 834732) for b2g bustage and OSX mochitest-1 crashes on a CLOSED TREE.
2013-02-12 20:54:48 -05:00
Bobby Holley
363a88b529
Bug 834732 - Make nsCxPusher.Push(JSContext*) infallible. r=mrbkap
...
We leave the nsIDOMEventTarget* versions fallible for now, but this makes the
common case a lot simpler. Note that this means that pushing a null JSContext,
a bug, is no longer handled at runtime. But I think we should just assert
against it, since there are already callers that don't check the return value.
2013-02-13 00:22:26 +01:00
Bobby Holley
70a369794a
Bug 834732 - Remove PushBehavior. r=mrbkap
...
Now that we only have ALWAYS_PUSH and ASSERT_SCRIPT_CONTEXT, we have uniform
release-mode behavior everywhere. Remove the crap.
2013-02-13 00:22:26 +01:00
Bobby Holley
b55e2ecc2b
Bug 834732 - Get rid of footgun bool param for nsCxPusher and use an explicit enum. r=mrbkap
...
The goal here is to get rid of this crap entirely, and make nsCxPusher always
push. But that's a scary change, so we do it in chunks. This patch, in particular,
should have zero behavioral change. This means preserving some very wrong behavior.
For instance, currently SafeAutoJSContext never pushes a damn thing, because the
safe JSContext doesn't have an associated nsIScriptContext. We preserve this
behavior, and in fact convert various similarly-buggy consumers to
SafeAutoJSContext, so that we can hoist the behavioral change into a subsequent
patch.
2013-02-13 00:22:26 +01:00
Ed Morley
fb6aef7abd
Merge latest green inbound changeset to mozilla-central
2013-02-12 14:43:06 +00:00
Ms2ger
cdaab5e689
Bug 838178 - Remove dom/bindings/stubgenerator; r=ehsan
2013-02-12 11:14:01 +01: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
Peter Van der Beken
e07d1dcdb8
Fix for bug 838228 (toString on an Xray for an interface object should stringify like Function.prototype.toString). r=bz.
...
--HG--
rename : content/html/content/test/test_map_attributes_reflection.html => content/html/content/test/test_ol_attributes_reflection.html
extra : rebase_source : 9bd7efb927e4eac96569ed629ee230dbf555fb63
2013-02-01 15:33:58 +01: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
09e1ed17ee
Bug 837645. Support 'any' values in sequences and dictionaries. r=smaug,peterv
2013-02-06 14:23:45 +00:00
Boris Zbarsky
fd2a017af5
Bug 836920 followup. Fix warnins-as-errors bustage. r=tree-is-aflame-dance-around-it
2013-02-06 10:21:50 +00:00
Boris Zbarsky
12c45cc91b
Bug 836920. Move dom::Optional<> and dom::Sequence to BindingDeclarations.h so using dictionaries in interfaces whose name comes before 'PrimitiveConversions' alphabetically does not break. r=peterv
...
All the code is just moving except the Optional<nsAString>::operator=
that takes a FakeDependentString. That had to be changed so it has no
dependency on the actual definition of FakeDependentString.
2013-02-06 09:56:15 +00:00
Boris Zbarsky
50ced00d20
Bug 830992 part 2. Switch DOMTransaction to WebIDL codegen. r=wchen,peterv
2013-02-06 09:42:33 +00:00
Boris Zbarsky
5e8ac50381
Bug 830992 part 1. Make it possible to pass CallbackObject& as the thisObj for callback functions. r=peterv
2013-02-06 09:42:17 +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
Robert O'Callahan
dd3935d1cb
Bug 832788. Part 6: Enable FAIL_ON_WARNINGS in dom/bindings. r=bz
...
--HG--
extra : rebase_source : 67fb14efbd022dac7ba32fe31584c386872ff9d6
2013-01-30 18:20:53 +13:00
Robert O'Callahan
85e24bcae8
Bug 832788. Part 5: Add suffixes for large integer literals. r=bz
...
--HG--
extra : rebase_source : 9555960acea609a3e4a3deaacd468e64435f5ff2
2013-01-30 18:20:53 +13:00
Boris Zbarsky
89d5ad423c
Bug 835417 part 2. Implement WebIDL parser and codegen support for marking things pure. r=peterv
2013-01-29 17:53:53 -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
651d3b27a9
Fix comment. Followup for bug 834877. DONTBUILD
2013-01-29 10:31:34 -05:00
Boris Zbarsky
b937359c37
Bug 834877 part 2. Start using DOMString as the return value for strings. r=peterv
2013-01-29 09:42:14 -05:00
Boris Zbarsky
4677dafdc2
Bug 834877 part 1. Add a DOMString struct to use for binding return values. r=peterv
2013-01-29 09:42:14 -05:00
Boris Zbarsky
9754a0cf18
Bug 829252 part 3. When wrapping things with an nsISupports in XPCWrappedJS for WebIDL callback interfaces, use the aggregated version. r=peterv
2013-01-29 08:44:01 -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
Robert O'Callahan
e61876bd91
Bug 832788. Part 4: PrimitiveConversions should avoid implicit narrowing casts to avoid compiler warnings; make them explicit. r=bzbarsky
...
--HG--
extra : rebase_source : 276f7834714ded347bd9d368258bc049f24787c4
2013-01-29 16:14:40 +13: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
Boris Zbarsky
0f2911aa31
Bug 795896. Speed up UnwrapProxy, since we know what we have there is either an Xray or our proxy. r=peterv
2013-01-28 23:29:25 -05:00
Ehsan Akhgari
91e8405a19
Backed out changeset 19b9f064d8eb (bug 795896) because of build bustage
2013-01-28 23:51:11 -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
1cc6ea039c
Bug 795896. Speed up UnwrapProxy, since we know what we have there is either an Xray or our proxy. r=peterv
2013-01-28 23:29:25 -05:00
Peter Van der Beken
b9d2ae906f
Fix for bug 816088 (webIDL bindings try to extract nsISupports from the global object in static properties in workers). r=bz.
...
--HG--
extra : rebase_source : 5668d9e01bff0fe7831d98018428856e5940a620
2012-12-03 17:07:49 +01: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
Boris Zbarsky
27fb95d884
Bug 822470 part 5. Refactor callback codegen so it can be reused for callback interfaces too. r=peterv
2013-01-28 08:34:30 -05:00
Boris Zbarsky
1fc37c44da
Bug 822470 part 4. Expose the concept of "single operation interface" in the WebIDL data model. r=peterv
2013-01-28 08:34:30 -05:00
Boris Zbarsky
03ac2ebe1c
Bug 822470 part 3. Include headers as needed for callback interfaces. r=peterv
2013-01-28 08:34:30 -05:00
Boris Zbarsky
6daee483b3
Bug 822470 part 2. Create a CallbackInterface helper class. r=peterv
...
--HG--
rename : dom/bindings/CallbackFunction.h => dom/bindings/CallbackInterface.h
2013-01-28 08:34:30 -05:00
Boris Zbarsky
3349eac0ed
Bug 822470 part 1. Factor out the code that callback functions and callback interfaces will be able to share into a CallbackObject class. r=peterv
...
--HG--
rename : dom/bindings/CallbackFunction.cpp => dom/bindings/CallbackObject.cpp
rename : dom/bindings/CallbackFunction.h => dom/bindings/CallbackObject.h
2013-01-28 08:34:29 -05:00
Ed Morley
bc0702d0d7
Backout f3c145bd1dd2 & 5075690572a9 for OS X startup failures
2013-01-28 11:08:21 +00:00
Peter Van der Beken
b46afdef94
Fix for bug 816088 (webIDL bindings try to extract nsISupports from the global object in static properties in workers). r=bz.
...
--HG--
extra : rebase_source : 68e5630591f6209e2af9c5cd2321fed8edd3de24
2012-12-03 17:07:49 +01: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
Ehsan Akhgari
16e89b722a
Bug 833631 - Unprefix mozAudioContext; r=roc
...
--HG--
extra : rebase_source : 3c477a97ea842a806f6fad6f5c3a81d6e50b27c3
2013-01-22 20:12:21 -05:00
David Zbarsky
8ff75a4d1b
Bug 831673, r=bz
2013-01-19 15:56:31 -05:00
Steve Fink
57a2c2471b
Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence
2012-12-31 12:40:21 -08:00
Steve Fink
380ecf9335
Backed out changeset fce4e0f8a553 (bug 828753) for breaking windows warnings-as-errors (stop adding JSObject forward decls, please!)
2013-01-18 13:20:21 -08:00
Steve Fink
01f8a5b4d8
Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence
...
--HG--
extra : rebase_source : c8806b27677594925ad0e6b54c47af5cf17e1153
2012-12-31 12:40:21 -08:00
Trevor Saunders
9f0ad48b28
bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8
2013-01-12 07:40:33 -05:00
David Zbarsky
08a4d241f5
Bug 827182: Convert SVGUseElement to WebIDL
2013-01-16 15:50:59 -05:00
Boris Zbarsky
5be1bca34a
Bug 830614. Wrapping a wrappercached WebIDL object should watch out for reentry via WrapNativeParent. r=peterv
2013-01-15 14:04:24 -05:00
Trevor Saunders
ddbe49139b
bug 830396 - add back nsIDOMCSSValueList r=bz
2013-01-14 12:29:27 -05:00
Mats Palmgren
6c53161814
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
Peter Van der Beken
f2a13d3e89
Fix for bug 827546 (|non editable element|.QueryInterface(Components.interfaces.nsIDOMNSEditableElement) does not throw anymore) - throw on QI failure. r=bz.
2013-01-14 11:29:49 +01:00
David Zbarsky
6f81fa5b99
Bug 828715 - Move DOMSVGMatrix to mozilla::dom::SVGMatrix r=longsonr
...
--HG--
rename : content/svg/content/src/DOMSVGMatrix.cpp => content/svg/content/src/SVGMatrix.cpp
rename : content/svg/content/src/DOMSVGMatrix.h => content/svg/content/src/SVGMatrix.h
2013-01-11 15:30:21 -05:00
Ms2ger
3c26b8b8e4
Merge latest PGO-green m-i changeset to m-c.
2013-01-11 14:48:33 +01:00
Ms2ger
c450d91d46
Bug 825749 - Convert SVG gradient elements to WebIDL; r=bz
...
--HG--
rename : content/svg/content/src/nsSVGGradientElement.cpp => content/svg/content/src/SVGGradientElement.cpp
rename : content/svg/content/src/nsSVGGradientElement.h => content/svg/content/src/SVGGradientElement.h
2013-01-11 09:43:01 +01:00
William Chen
db2ddd0bfd
Bug 828532 - Removed 'prototype' as a reserved identifier in WebIDL. r=bz
2013-01-10 11:54:13 -08:00
David Zbarsky
cd990802cf
Bug 825147: Convert SVGAElement to WebIDL r=bz
...
--HG--
rename : content/svg/content/src/nsSVGAElement.cpp => content/svg/content/src/SVGAElement.cpp
rename : content/svg/content/src/nsSVGAElement.h => content/svg/content/src/SVGAElement.h
2013-01-10 00:30:13 -05:00
David Zbarsky
60c7a3b594
Bug 827119: Convert SVGSVGElement to WebIDL r=bz
2013-01-09 18:02:47 -05:00
David Zbarsky
e4a26da046
Bug 827119: Move SVGSVGElement to mozilla::dom r=bz
...
--HG--
rename : content/svg/content/src/nsSVGSVGElement.cpp => content/svg/content/src/SVGSVGElement.cpp
rename : content/svg/content/src/nsSVGSVGElement.h => content/svg/content/src/SVGSVGElement.h
2013-01-09 18:02:45 -05:00
Andrew McCreight
6f2b4df7a3
Bug 777385 - Support (some) Paris bindings objects as weak map keys. r=peterv
...
This adds support for many kinds of Paris bindings objects as weak map keys.
This patch supports nsISupports objects as well as non-cycle-collected
non-nsISupports objects. What is needed for support is to preserve any wrapper,
if the object is wrapper cached. In other cases, we don't need to do anything.
2012-11-09 10:59:02 -08:00
Boris Zbarsky
5fd2bbb94f
Bug 824237. Add support for "partial interface" to WebIDL parser. r=khuey
2013-01-10 10:49:07 -05:00
Ehsan Akhgari
ab034461f2
Bug 828000 - Don't generate the `isNull' local variable if it's not needed; r=bzbarsky
2013-01-08 16:29:52 -05:00
Boris Zbarsky
e7357142bb
Bug 826703 part 4. Convert ProcessingInstruction to WebIDL. r=peterv
2013-01-08 15:45:06 -05:00
Boris Zbarsky
df66ecbe66
Bug 826703 part 3. Rename nsXMLProcessingInstruction to mozilla::dom::ProcessingInstruction. r=peterv
...
--HG--
rename : content/xml/content/src/nsXMLProcessingInstruction.cpp => content/xml/content/src/ProcessingInstruction.cpp
rename : content/xml/content/src/nsXMLProcessingInstruction.h => content/xml/content/src/ProcessingInstruction.h
2013-01-08 15:45:06 -05:00
Boris Zbarsky
3f10a7395a
Bug 826703 part 2. Convert CDATASection to WebIDL. r=peterv
2013-01-08 15:45:06 -05:00
Boris Zbarsky
b9b639512f
Back out bug 810644 for now to fix bug 827035, until we manage to fix bug 765780. r=stuff-is-broken
2013-01-07 10:29:00 -05:00
David Zbarsky
66be4382c0
Bug 825732: Convert SVGAltGlyphElement to WebIDL r=bz
...
--HG--
rename : content/svg/content/src/nsSVGAltGlyphElement.cpp => content/svg/content/src/SVGAltGlyphElement.cpp
rename : content/svg/content/src/nsSVGAltGlyphElement.cpp => content/svg/content/src/SVGAltGlyphElement.h
2013-01-06 09:14:44 -05:00
David Zbarsky
9ad6ec90dc
Bug 825732: Convert SVGTextPositioningElement to WebIDL r=bz
...
--HG--
rename : content/svg/content/src/nsSVGTextPositioningElement.cpp => content/svg/content/src/SVGTextPositioningElement.cpp
rename : content/svg/content/src/nsSVGTextPositioningElement.h => content/svg/content/src/SVGTextPositioningElement.h
2013-01-06 09:14:43 -05:00
David Zbarsky
912c7ada9c
Bug 825732: Convert SVGTextContentElement to WebIDL r=bz
...
--HG--
rename : content/svg/content/src/nsSVGTextContentElement.cpp => content/svg/content/src/SVGTextContentElement.cpp
rename : content/svg/content/src/nsSVGTextContentElement.h => content/svg/content/src/SVGTextContentElement.h
2013-01-06 09:14:43 -05:00
David Zbarsky
9edf4dac9e
Bug 824898: Convert SVG animation classes to WebIDL r=bz
2013-01-06 04:32:03 -05:00
David Zbarsky
1832141c50
Bug 825147: Convert SVGImageElement to WebIDL r=bz
...
--HG--
rename : content/svg/content/src/nsSVGImageElement.cpp => content/svg/content/src/SVGImageElement.cpp
rename : content/svg/content/src/nsSVGImageElement.h => content/svg/content/src/SVGImageElement.h
2013-01-06 04:32:01 -05:00
David Zbarsky
6defbde7e5
Bug 824899 - Don't use nsIDOMSVGElement where possible r=longsonr
2013-01-06 01:25:55 -05:00
David Zbarsky
0c6e775fd6
Bug 824229 Part 6: Move SVGGraphicsElement to mozilla::dom r=bz,longsonr
...
--HG--
rename : content/svg/content/src/nsSVGGraphicElement.cpp => content/svg/content/src/SVGGraphicsElement.cpp
rename : content/svg/content/src/nsSVGGraphicElement.h => content/svg/content/src/SVGGraphicsElement.h
2013-01-03 01:17:03 -05:00
David Zbarsky
413f7c67a6
Bug 824229 Part 5: Implement SVGGraphicsElement r=longsonr
2013-01-03 01:17:02 -05:00
David Zbarsky
824df9fe3b
Bug 824229 Part 4: Implement SVGTransformableElement r=longsonr
2013-01-03 01:17:02 -05:00
David Zbarsky
058e539fbc
Bug 824229 Part 3: Implement SVGLocatableElement r=longsonr
2013-01-03 01:17:02 -05:00
Peter Van der Beken
96b67671a8
Fix for bug 824907 (Convert HTML table elements to WebIDL) - convert HTMLTableColElement to WebIDL. r=bz.
...
--HG--
rename : content/html/content/src/nsHTMLTableCellElement.cpp => content/html/content/src/HTMLTableCellElement.cpp
rename : content/html/content/src/nsHTMLTableColElement.cpp => content/html/content/src/HTMLTableColElement.cpp
rename : content/html/content/src/nsHTMLTableColElement.cpp => content/html/content/src/HTMLTableColElement.h
rename : content/html/content/src/nsHTMLTableElement.h => content/html/content/src/HTMLTableElement.h
rename : content/html/content/src/nsHTMLTableRowElement.cpp => content/html/content/src/HTMLTableRowElement.cpp
rename : content/html/content/src/nsHTMLTableRowElement.cpp => content/html/content/src/HTMLTableRowElement.h
extra : rebase_source : 4654bf54c41231eed6f73a35118d58be0c9af9a0
2012-12-29 15:07:57 +01:00
Peter Van der Beken
71cdba8a1a
Fix for bug 824907 (Convert HTML table elements to WebIDL) - convert HTMLTableRowElement to WebIDL. r=bz.
...
--HG--
extra : rebase_source : d2febac66f508caf3c2b89816e811ed8e2c88856
2012-12-29 15:07:57 +01:00
Peter Van der Beken
88f551c0d3
Fix for bug 824907 (Convert HTML table elements to WebIDL) - convert HTMLTableCellElement to WebIDL. r=bz.
...
--HG--
rename : content/html/content/src/nsHTMLTableCellElement.cpp => content/html/content/src/HTMLTableCellElement.cpp
rename : content/html/content/src/nsHTMLTableCellElement.cpp => content/html/content/src/HTMLTableCellElement.h
rename : content/html/content/src/nsHTMLTableElement.cpp => content/html/content/src/HTMLTableElement.cpp
rename : content/html/content/src/nsHTMLTableElement.h => content/html/content/src/HTMLTableElement.h
rename : content/html/content/src/nsHTMLTableRowElement.cpp => content/html/content/src/HTMLTableRowElement.h
extra : rebase_source : fcf088e7ac91a216ae7ad1cb16d509a17cd7a2a7
2012-12-29 15:07:56 +01:00
Peter Van der Beken
0a9ff23dea
Fix for bug 824907 (Convert HTML table elements to WebIDL) - convert HTMLTableSectionElement to WebIDL. r=bz.
...
--HG--
rename : content/html/content/src/nsHTMLTableRowElement.cpp => content/html/content/src/HTMLTableRowElement.cpp
rename : content/html/content/src/nsHTMLTableSectionElement.cpp => content/html/content/src/HTMLTableSectionElement.cpp
rename : content/html/content/src/nsHTMLTableSectionElement.cpp => content/html/content/src/HTMLTableSectionElement.h
rename : dom/interfaces/html/nsIDOMHTMLTableSectionElem.idl => dom/interfaces/html/nsIDOMHTMLTableSectionElement.idl
extra : rebase_source : b9c1d7dea38653452b44b2033cf2c0140f7b39b1
2012-12-29 15:07:48 +01:00
Peter Van der Beken
8d553dd587
Fix for bug 824907 (Convert HTML table elements to WebIDL) - convert HTMLTableCaptionElement to WebIDL. r=bz.
...
--HG--
rename : content/html/content/src/nsHTMLTableCaptionElement.cpp => content/html/content/src/HTMLTableCaptionElement.cpp
rename : content/html/content/src/nsHTMLTableCaptionElement.cpp => content/html/content/src/HTMLTableCaptionElement.h
extra : rebase_source : ccf765d029b74fc22b45d9162e9b4a9ac6977344
2012-12-29 15:07:46 +01:00
Peter Van der Beken
7538219944
Fix for bug 824907 (Convert HTML table elements to WebIDL) - convert HTMLTableElement to WebIDL. r=bz.
...
--HG--
rename : content/html/content/src/nsHTMLTableElement.cpp => content/html/content/src/HTMLTableElement.cpp
rename : content/html/content/src/nsHTMLTableElement.h => content/html/content/src/HTMLTableElement.h
extra : rebase_source : 36ef4c094fdf54103ad3c41e299eb86d20956915
2012-12-29 09:08:15 +01:00
David Zbarsky
38edda27d7
Bug 826947: Convert HTMLScriptElement to WebIDL r=bz
2013-01-05 04:41:28 -05:00
David Zbarsky
1b2d99ddc3
Bug 824327: Convert SVGStopElement to WebIDL r=bz
...
--HG--
rename : content/svg/content/src/nsSVGStopElement.cpp => content/svg/content/src/SVGStopElement.cpp
rename : content/svg/content/src/nsSVGStopElement.cpp => content/svg/content/src/SVGStopElement.h
2013-01-04 20:50:21 -05:00
David Zbarsky
99c19afba7
Bug 824327: Convert SVGTitleElement to WebIDL r=bz
...
--HG--
rename : content/svg/content/src/nsSVGTitleElement.cpp => content/svg/content/src/SVGTitleElement.cpp
rename : content/svg/content/src/nsSVGTitleElement.cpp => content/svg/content/src/SVGTitleElement.h
2013-01-04 20:50:21 -05:00
Phil Ringnalda
f5e89a88e8
Back out 13acd3b74386:68ded29fc68e (bug 824327) for browser_bug329212.js failures
2013-01-04 16:30:31 -08:00
David Zbarsky
7ff930a99f
Bug 824327: Convert SVGStopElement to WebIDL r=bz
...
--HG--
rename : content/svg/content/src/nsSVGStopElement.cpp => content/svg/content/src/SVGStopElement.cpp
rename : content/svg/content/src/nsSVGStopElement.cpp => content/svg/content/src/SVGStopElement.h
2013-01-04 17:28:05 -05:00
David Zbarsky
e23a76a563
Bug 824327: Convert SVGTitleElement to WebIDL r=bz
...
--HG--
rename : content/svg/content/src/nsSVGTitleElement.cpp => content/svg/content/src/SVGTitleElement.cpp
rename : content/svg/content/src/nsSVGTitleElement.cpp => content/svg/content/src/SVGTitleElement.h
2013-01-04 17:28:05 -05:00
William Chen
7cd5470029
Bug 617532 - Implement UndoManager. r=ehsan
2013-01-03 22:54:26 -08:00
Jeff Walden
d9889b3184
Bug 826447 - Change all the proxy API signatures to take unsigned flags, rather than bool set, so that it's easier to find all tests of JSRESOLVE_ASSIGNING. r=bz
...
--HG--
extra : rebase_source : 3b88b411965087984d7973a90f8fa1b06457a6ce
2013-01-03 15:31:36 -06:00
Boris Zbarsky
25e153e998
Bug 824823 part 13. Switch HTMLPreElement to WebIDL. r=peterv
2013-01-04 12:02:15 -05:00
Boris Zbarsky
af9cc24c15
Bug 824823 part 11. Switch HTMLParagraphElement to WebIDL. r=peterv
2013-01-04 12:02:15 -05:00
Boris Zbarsky
5b99ae3585
Bug 824823 part 9. Convert Comment to WebIDL. r=peterv
2013-01-04 12:02:14 -05:00
Boris Zbarsky
f1feb59fc3
Bug 824823 part 8. Convert nsTextNode to WebIDL. r=peterv
2013-01-04 12:02:14 -05:00
Boris Zbarsky
498d64b509
Bug 824823 part 7. Implement WebIDL CharacterData API on nsGenericDOMDataNode. r=peterv
2013-01-04 12:02:14 -05:00
Boris Zbarsky
049ae9a281
Bug 824823 part 6. Move HTMLLIElement to WebIDL bindings. r=peterv
2013-01-04 12:02:14 -05:00
Boris Zbarsky
7db13f99da
Bug 824823 part 4. WebIDL binding for HTML list elements. r=peterv
...
Note that I had to create the separate subclasses because we can't map
different WebIDL interfaces to the same concrete type: it causes the
PrototypeIDMap templates to completely fail to deal.
2013-01-04 12:02:14 -05:00
Boris Zbarsky
467b89667e
Bug 824823 part 2. WebIDL binding for HTMLAnchorElement. r=peterv
2013-01-04 12:02:13 -05:00
Ehsan Akhgari
f204022ad2
Bug 826602 - Rename nsHTMLCanvasElement to mozilla::dom::HTMLCanvasElement; r=bzbarsky
...
--HG--
rename : content/html/content/public/nsHTMLCanvasElement.h => content/html/content/public/HTMLCanvasElement.h
rename : content/html/content/src/nsHTMLCanvasElement.cpp => content/html/content/src/HTMLCanvasElement.cpp
2013-01-04 00:16:14 -05:00
Ehsan Akhgari
11b68a76e0
Backed out changeset bfb788e7ef51 (bug 826602) because of build failures
...
--HG--
rename : content/html/content/public/HTMLCanvasElement.h => content/html/content/public/nsHTMLCanvasElement.h
rename : content/html/content/src/HTMLCanvasElement.cpp => content/html/content/src/nsHTMLCanvasElement.cpp
2013-01-04 01:07:10 -05:00
Ehsan Akhgari
c8deef991c
Bug 826602 - Rename nsHTMLCanvasElement to mozilla::dom::HTMLCanvasElement; r=bzbarsky
...
--HG--
rename : content/html/content/public/nsHTMLCanvasElement.h => content/html/content/public/HTMLCanvasElement.h
rename : content/html/content/src/nsHTMLCanvasElement.cpp => content/html/content/src/HTMLCanvasElement.cpp
2013-01-04 00:16:14 -05:00
Boris Zbarsky
ed9fff52e3
Bug 820665 part 4. Remove no-longer-used IsPlatformObject. r=khuey
2013-01-03 14:03:16 -05:00
Boris Zbarsky
3bff400090
Bug 820665 part 3. WebIDL spec updates to changes in how callback interfaces work. r=khuey
...
Specifically, any object that's not a Date or RegExp can implement a callback interface.
2013-01-03 14:03:11 -05:00
Boris Zbarsky
95e6fb6109
Bug 820665 part 2. WebIDL spec updates to changes in how callback functions work. r=khuey
...
Specifically, all callables can be converted to a callback, including
in overload resolution and union conversions. We already did this for
normal callback arguments, but not the overload/union case.
2013-01-03 14:03:06 -05:00
Boris Zbarsky
d19479dcd6
Bug 820665 part 1. More WebIDL spec updates to changes in how dictionaries work. r=khuey
...
Specifically, the following changes:
1) A union that includes a dictionary and is the last non-optional
argument must actually be marked optional, just like a dictionary
argument.
2) Disallow a union from containing both a nullable type and a dictionary.
3) Now all non-Date and non-RegExp objects can be used as dictionaries,
including from overload resolution and union conversion.
We don't support dictionaries inside unions yet, or unions as
distinguishing args, so the spec changes to do with converting null to
dictionaries inside a union or picking the union overload if there is
a union containing a dictionary and null is the distinguishing arg
value are not relevant to us so far.
2013-01-03 14:03:00 -05:00
Boris Zbarsky
d9fac4cef8
Bug 818050. Teach the JIT about DOM method and getter return types so that it doesn't have to type-guard when unboxing the boxed value in many cases. r=jandem,peterv
2013-01-03 14:02:52 -05:00
Boris Zbarsky
4400c50ec5
Bug 810644 part 2. Eliminate the now-unused CallEventHandler. r=smaug, sr=peterv
2013-01-03 14:02:42 -05:00
Ehsan Akhgari
11410dead2
Bug 825527 - Part 5: Turn on the WebIDL bindings for HTMLImageElement; r=bzbarsky
2013-01-02 12:28:14 -05:00
Ehsan Akhgari
2dba4e4b13
Bug 825527 - Part 4: Mirror the nsIImageLoadingContent API in HTMLImageElement for chrome callers; r=bzbarsky
2013-01-02 14:30:02 -05:00
Ehsan Akhgari
bddd91bb2d
Bug 825527 - Part 2: Rename nsHTMLImageElement to mozilla::dom::HTMLImageElement; r=bzbarsky
...
--HG--
rename : content/html/content/src/nsHTMLImageElement.cpp => content/html/content/src/HTMLImageElement.cpp
rename : content/html/content/src/nsHTMLImageElement.h => content/html/content/src/HTMLImageElement.h
2012-12-31 12:25:46 -05:00
Boris Zbarsky
6c26f6fab3
Bug 825288. Handle SOWs correctly in MaybeWrapValue. r=peterv
2013-01-02 22:03:25 -05:00
Boris Zbarsky
2c128858e0
Bug 821580. Disallow [Unforgeable] on static attributes, per spec update. r=khuey
2013-01-02 22:03:25 -05:00
Boris Zbarsky
a491bdc004
Bug 821177. [TreatNonCallableAsNull] should only affect attribute setters. r=khuey
2013-01-02 22:03:25 -05:00
Boris Zbarsky
6ed64d61c5
Bug 819845. Update WebIDL bindings to spec change: sequences/arrays are no longer distinguishable from dictionaries, and conversion to a sequence works on arbitrary objects. r=khuey
2013-01-02 22:03:25 -05:00
Masatoshi Kimura
ea8093dad3
Bug 824247 - Part 2: Fix common source of warning span (dom/bindings). r=khuey
2013-01-03 00:55:55 +09:00
Boris Zbarsky
002d1538c2
Bug 824824. Add support for passing multiple touches as arguments to createTouchList. r=mbrubeck,peterv
2012-12-31 10:37:22 -08:00
Boris Zbarsky
b3560a4e8a
Bug 824917. Add hasInstanceInterface to the DOM element classes we've converted that people use instanceof with. r=peterv
2012-12-31 10:37:22 -08:00
Boris Zbarsky
40ae916f86
Bug 825025. MaybeWrapValue should work with all gcthings. r=peterv
2012-12-29 22:13:26 -08:00
Trevor Saunders
50d1ca3bcf
bug 824970 - nsROCSSPrimitiveValue::GetRectValue() should return nsDOMCSSRect* r=bz
2012-12-26 12:02:37 -05:00
Trevor Saunders
ae87935613
bug 824970 - use webidl for Rect r=bz
2012-12-26 07:26:36 -05:00
David Zbarsky
26aa8302a3
Bug 824603 Part 2: Move nsDOMDocumentType => mozilla::dom::DocumentType r=bz
...
--HG--
rename : content/base/src/nsDOMDocumentType.cpp => content/base/src/DocumentType.cpp
rename : content/base/src/nsDOMDocumentType.h => content/base/src/DocumentType.h
2012-12-28 20:34:02 -05:00
David Zbarsky
67c3a2144d
Bug 824603 Part 1: Enable binding for DocumentType r=bz
2012-12-28 20:34:02 -05:00
Scott Johnson
6fcf6c0f6b
Bug 654352: Implement (blassey) and fix (jwir3) document.caretPositionFromPoint so that it utilizes frame-relative coordinates to get caret position. (original: [r=smaug,roc]) (fixes: [r=blassey,Ms2ger])
2012-12-28 11:11:06 -06:00
Nicholas Nethercote
bd7d66d93a
Bug 824883 - Fix three warnings in dom/ code. r=bz.
...
--HG--
extra : rebase_source : 3763606a23b66493596787ca33cec32618efa2f1
2012-12-26 20:24:59 -08:00
Jeff Walden
320df44ab6
Bug 823283 - Remove all remaining uses of JSRESOLVE_QUALIFIED, and the few remaining tests (which were pretty much purely diagnostic). r=luke
...
--HG--
extra : rebase_source : 51e2ac7ccc76be84d12600baeb6d458c2927bea7
2012-09-15 11:19:55 -07:00
Boris Zbarsky
9612c9ad9d
Bug 819624 part 1. Hook up the WebIDL bindings for HTMLDocument. r=peterv
2012-12-26 13:37:26 -08:00
Cameron McCormack
6183878252
Bug 779917 - Implement CSS.supports(). r=dbaron f=bz
2012-11-25 11:26:07 +11:00
Boris Zbarsky
87a0892ed8
Bug 819239. Add the WebIDL API for HTMLDocument. r=peterv
2012-12-25 18:00:47 -08:00
Boris Zbarsky
90a34fb045
Bug 816421. Make Document.visibilityState a WebIDL enum. r=peterv
...
A lot of the changes here are just so I can actually build after including DocumentBinding.h in nsIDocument.h
2012-12-25 14:00:15 -08:00
Boris Zbarsky
2a16338145
Bug 816180. Convert DocumentFragment to WebIDL. r=peterv
2012-12-24 19:35:19 -08:00
David Zbarsky
627bff8456
Bug 823394 Part 2: Add WebIDL API to SVGElement and enable binding r=bz
2012-12-23 03:22:58 -05:00
Boris Zbarsky
dc011274dd
Bug 816387 part 1. Hook up the WebIDL bindings for Document. r=peterv
2012-12-23 14:33:33 -08:00
Ms2ger
4b35ea6845
Backout bug 823394 for reftest oranges.
2012-12-23 13:44:04 +01:00
David Zbarsky
3e8c5ab7a3
Bug 823394 Part 2: Add WebIDL API to SVGElement and enable binding r=bz
2012-12-23 03:22:58 -05:00
David Zbarsky
d4bf135f16
Bug 816778 Part 13: Convert SVGAnimatedLengthList to WebIDL r=bz
2012-12-22 23:54:25 -05:00
David Zbarsky
2d241c29b0
Bug 816778 Part 10: Convert SVGPathSeg and subclasses to WebIDL and remove XPIDL r=bz
2012-12-22 23:54:22 -05:00
David Zbarsky
aabc7320cd
Bug 816778 Part 7: Convert SVGAnimatedNumberList to WebIDL r=bz
2012-12-22 23:54:21 -05:00
David Zbarsky
1c5ed8a7b2
Bug 816778 Part 6: Convert SVGAnimatedPreserveAspectRatio to WebIDL r=bz
2012-12-22 23:54:20 -05:00
David Zbarsky
0a984cfbd8
Bug 816778 Part 5: Convert SVGPreserveAspectRatio to WebIDL r=bz
2012-12-22 23:54:20 -05:00
David Zbarsky
d567684db6
Bug 816778 Part 4: Convert SVGAnimatedTransformList to WebIDL r=bz
2012-12-22 23:54:20 -05:00
David Zbarsky
673629509c
Bug 816778 Part 3: Convert SVGTransform to WebIDL r=bz
2012-12-22 23:54:20 -05:00
David Zbarsky
b7036b6f14
Bug 816778 Part 2: Convert SVGMatrix to WebIDL r=bz
2012-12-22 23:54:20 -05:00
David Zbarsky
31f698e0c7
Bug 816778 Part 1.5: Create nsISVGPoint and make nsSVGTranslatePoint::DOMVal a subclass r=bz
2012-12-22 23:54:20 -05:00
David Zbarsky
eb691de843
Bug 816778 Part 1: Convert SVGPoint to WebIDL r=bz
2012-12-22 23:54:19 -05:00
Peter Van der Beken
a9c13b2cd4
Fix for bug 824007 (Convert HTMLBodyElement, HTMLDataListElement, HTMLFontElement, HTMLFrameSetElement and HTMLLabelElement to new DOM bindings). r=bz.
...
--HG--
rename : content/html/content/src/nsHTMLBodyElement.cpp => content/html/content/src/HTMLBodyElement.cpp
rename : content/html/content/src/nsHTMLDataListElement.cpp => content/html/content/src/HTMLDataListElement.cpp
rename : content/html/content/src/nsHTMLFontElement.cpp => content/html/content/src/HTMLFontElement.cpp
rename : content/html/content/src/nsHTMLFrameSetElement.cpp => content/html/content/src/HTMLFrameSetElement.cpp
rename : content/html/content/src/nsHTMLFrameSetElement.h => content/html/content/src/HTMLFrameSetElement.h
rename : content/html/content/src/nsHTMLLabelElement.cpp => content/html/content/src/HTMLLabelElement.cpp
rename : content/html/content/src/nsHTMLLabelElement.h => content/html/content/src/HTMLLabelElement.h
extra : rebase_source : f287e7530fa829a6159537476dc1418bbc9f40e5
2012-12-21 15:07:28 +01:00
Peter Van der Beken
6b82e32e41
Fix for bug 824007 (Convert HTMLBodyElement, HTMLDataListElement, HTMLFontElement, HTMLFrameSetElement and HTMLLabelElement to new DOM bindings) - move some HTML element classes to mozilla::dom. r=bz.
...
--HG--
rename : content/html/content/src/nsHTMLBodyElement.cpp => content/html/content/src/HTMLBodyElement.cpp
rename : content/html/content/src/nsHTMLDataListElement.cpp => content/html/content/src/HTMLDataListElement.cpp
rename : content/html/content/src/nsHTMLDivElement.cpp => content/html/content/src/HTMLDivElement.cpp
rename : content/html/content/src/nsHTMLDivElement.h => content/html/content/src/HTMLDivElement.h
rename : content/html/content/src/nsHTMLElement.cpp => content/html/content/src/HTMLElement.cpp
rename : content/html/content/src/nsHTMLFontElement.cpp => content/html/content/src/HTMLFontElement.cpp
rename : content/html/content/src/nsHTMLFrameSetElement.cpp => content/html/content/src/HTMLFrameSetElement.cpp
rename : content/html/content/src/nsHTMLFrameSetElement.h => content/html/content/src/HTMLFrameSetElement.h
rename : content/html/content/src/nsHTMLLabelElement.cpp => content/html/content/src/HTMLLabelElement.cpp
rename : content/html/content/src/nsHTMLLabelElement.h => content/html/content/src/HTMLLabelElement.h
rename : content/html/content/src/nsHTMLUnknownElement.cpp => content/html/content/src/HTMLUnknownElement.cpp
rename : content/html/content/src/nsHTMLUnknownElement.h => content/html/content/src/HTMLUnknownElement.h
extra : rebase_source : 99a2b1764bfd34db1375939b967f816dc2a42a91
2012-12-21 15:06:50 +01:00
Ms2ger
1db66739bf
Merge m-c to inbound.
2012-12-22 14:42:37 +01:00
Ms2ger
4e7e2a5d51
Merge PGO-green changeset from inbound to m-c.
2012-12-22 12:06:37 +01:00
Ms2ger
213ae1202e
Bug 823088 - Add a static assertion that bindings with descriptor.nativeOwnership == 'nsisupports' inherit from nsISupports; r=bz
2012-12-22 09:18:11 +01:00
Ms2ger
962b5131ac
Bug 796902 - Part c: Implement Paris bindings for PaintRequest; r=bent
2012-12-22 09:16:55 +01:00
Ms2ger
27c06e5517
Bug 793151 - Change the length property of a WebIDL method to the mimimum number of arguments, instead of the maximum; r=bz
2012-12-22 09:04:17 +01:00
Boris Zbarsky
20a6d96dc4
Bug 804631. Add the WebIDL API for Document. r=peterv
...
I'm not entirely happy with the XPath bits. If we had an
nsXPathEvaluator member, or if the WebIDL API were on
nsIDOMXPathEvaluator or something, all that stuff would need a lot
less code...
2012-12-22 00:27:27 -08:00
Boris Zbarsky
9416e5d67d
Bug 816380 followup. Remove unnecessary code.
2012-12-19 22:51:29 -08:00
Masatoshi Kimura
18c56467cb
Bug 795542 - Part 2: Implement StringEncoding API objects in Workers. r=bent
2012-12-22 09:16:14 +09:00
Gavin Sharp
ebcb27e760
Back out e01ca7212c8a (bug 654352) for failures in test_bug654352-2
2012-12-21 19:14:09 -05:00
Scott Johnson
9c54580e2e
Bug 654352: Implement (blassey) and fix (jwir3) document.caretPositionFromPoint so that it utilizes frame-relative coordinates to get caret position. (original: [r=smaug,roc]) (fixes: [r=blassey,Ms2ger])
2012-12-21 16:36:31 -06:00
Boris Zbarsky
6aebf1cca6
Bug 822340. Make the Ion optimization for DOM method calls sound. r=jandem
...
The static functions just got moved with no changes made to them
except for a change from inTypes->unknown() to
inTypes->unknownObject() in the first test in TestAreKnownDOMTypes,
becase the rest of the method depends on the stronger condition, and
it was being ensured accidentally before.
2012-12-19 17:47:39 -08:00
Justin Lebar
7bef45ba1a
Bug 819791 - Part 3: Make typeof nsTArray == typeof InfallibleTArray. r=bz
...
Also make typeof nsAutoTArray == typeof AutoInfallibleTArray and switch
files to using nsTArrayForwardDeclare.h.
2012-12-18 20:16:06 -05:00
Boris Zbarsky
b38b9eede6
Bug 819523 part 2. Allow Nullable<> of various array types to work sanely. r=jlebar
2012-12-18 20:16:05 -05:00
Olli Pettay
9ec599bc27
Bug 790978 - Convert MutationObserver to webidl, r=bz
...
--HG--
extra : rebase_source : 86b4120ef1f3bedc6554761af715de8413f01343
2012-12-18 16:50:52 +02:00
Peter Van der Beken
621ea014c0
Fix for bug 821606 (Turn on WebIDL bindings for Element and HTMLElement). r=bz.
...
--HG--
extra : rebase_source : f85002d801871a3a99c1b8bc121509ae87d2f665
2012-11-22 12:09:57 +01:00
Peter Van der Beken
2e848596ed
Fix for bug 820577 (Support reparenting for new DOM binding objects). r=bholley/bz.
...
--HG--
extra : rebase_source : 66dad56b8f543790ffa7e595ccd684c4673403df
2012-09-26 16:17:46 +02:00
Jeff Walden
b1a01dc7d1
Bug 822350 - Make generated bindings include mozilla/FloatingPoint.h directly if they use it. r=bz
...
--HG--
extra : rebase_source : 7271aea09f40dee8d418ddd17c8f43559262a0d2
2012-12-17 17:21:26 -05:00
William Chen
bfab6dc9b5
Bug 820957 - Support object members in WebIDL dictionary. r=bz
2012-12-17 13:44:13 -08:00
William Chen
d33f454e9f
Bug 820544 - Prefix WebIDL dictionary native member names to avoid C++ keywords. r=bz
2012-12-17 13:44:04 -08:00
Trevor Saunders
33c187ea46
bug 821593 - use webidl for RGBColor r=bz
2012-12-14 02:51:39 -05:00
Trevor Saunders
82e2bb6e26
bug 821593 - GetRGBColorValue() should return nsDOMCSSRGBColor* r=bz
2012-10-24 20:43:56 -04:00
Jeff Walden
7146c23e80
Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger
2012-12-14 18:58:45 -05:00
Boris Zbarsky
61642fa545
Bug 773911 part 2. Use the now-inline js::GetContextCompartment in a few places. r=waldo
2012-12-15 11:53:15 -05:00
Peter Van der Beken
b208a08d09
Fix for bug 815149 (Add support for SOWs and XBL bindings in new DOM bindings). r=bz.
...
--HG--
extra : rebase_source : c24544fd3d1c99651e279e687a07a02c5b994323
2012-09-12 22:29:30 +02:00
Boris Zbarsky
eba842099b
Bug 821760. Properly handle compartments in WebIDL static operation bindings. r=peterv
2012-12-14 14:11:23 -05:00
Boris Zbarsky
675e9c743e
Bug 821438. Allow inheritance from interfaces with Unforgeable attributes. r=peterv
2012-12-14 14:10:50 -05:00
Boris Zbarsky
63350ba5b1
Bug 819904. Throw from WebIDL setters called with no arguments, per spec change. r=peterv
2012-12-14 14:10:49 -05:00
Boris Zbarsky
15e523cee0
Bug 818379. Make sure interface objects have a 'length' property even if they're not real function objects. r=peterv
2012-12-14 14:10:49 -05:00
Boris Zbarsky
f685496e81
Bug 816375. Switch NodeFilter to WebIDL bindings. r=peterv
2012-12-14 14:10:49 -05:00
Boris Zbarsky
0f31ea33da
Bug 816380. Convert XPathEvaluator to WebIDL. r=peterv
2012-12-14 14:10:49 -05:00
Ed Morley
4f54b7fbbe
Backout 67d84be0cc83 (bug 820544) for bustage
2012-12-14 16:58:51 +00:00
William Chen
93b1b7ccbe
Bug 820544 - Prefix webidl dictionary native members names to avoid C++ keywords. r=bz
2012-12-11 16:05:46 -08:00
Boris Zbarsky
c0456ed706
Bug 759621 test. No review, test only.
2012-12-14 02:32:13 -05:00
Boris Zbarsky
3076697db0
Bug 820862. JSJitInfo should say what sort of function it is. r=jandem
2012-12-13 17:08:43 -05:00
Nathan Froyd
a152f6602b
Bug 821317 - reduce the size of DOMClass.mInterfaceChain to something reasonable; r=bz
2012-12-13 11:01:00 -05:00
Nathan Froyd
5a3f1cc23f
Bug 821324 - actually return a success value from replaceFileIfChanged; r=bz
2012-12-13 11:26:33 -05:00
Trevor Saunders
a78d6c805a
bug 798567 - convert css values to webidl r=bz
2012-10-01 12:49:41 -04:00
Boris Zbarsky
4240d9a262
Bug 815502. Implement support for variadic arguments in WebIDL. r=peterv
2012-12-11 17:50:56 -05:00
Ms2ger
ac97224f7a
Bug 776539 - Move FormData to Paris bindings; r=bz
2012-12-11 19:09:56 +01:00
Boris Zbarsky
b5b96d4efa
Bug 816846. Correctly call up to our superclass to resolve an identifier conflict. r=khuey
2012-12-10 14:28:02 -05:00
Saurabh Anand
b4c382b899
Bug 818258 - Update the 'headerFile' descriptor field in Bindings.conf to reflect the latest changes in WeGLContext.h, r=bjacob
2012-12-09 22:59:12 +05:30
Boris Zbarsky
52ea909e8e
Bug 818263. Make the EventTarget binding work for nodes. r=smaug,peterv
2012-12-06 20:39:51 -05:00
Peter Van der Beken
a5de435427
Fix for bug 818219 (Replace HTMLElement quickstubs with new binding methods). r=bz.
...
--HG--
rename : layout/reftests/backgrounds/background-referrer-ref.html => image/test/reftest/generic/accept-image-catchall-ref.html
rename : layout/reftests/backgrounds/background-referrer.html => image/test/reftest/generic/accept-image-catchall.html
rename : layout/reftests/backgrounds/background-referrer.sjs => image/test/reftest/generic/check-header.sjs
rename : layout/reftests/backgrounds/background-referrer-image.png => image/test/reftest/generic/green.png
rename : toolkit/components/places/tests/browser/browser_favicon_setAndFetchFaviconForPage.js => toolkit/components/places/tests/favicons/test_setAndFetchFaviconForPage.js
extra : rebase_source : 45715d6abe3155a6bcd1d21e5cc3f7b048180eb6
2012-11-26 15:19:02 +01:00
Boris Zbarsky
d1c8d3b88e
Bug 815803. Now that JSSLOT_PROXY_PRIVATE == 0, simplify binding code that had to deal with different slot indices on proxy and non-proxy objects. r=peterv
2012-12-06 15:21:19 -05:00
Boris Zbarsky
b3142f98f8
Bug 816376. Create vanilla objects for the interface object of callback interfaces. r=peterv
2012-12-06 15:21:18 -05:00
Peter Van der Beken
e2dae3625c
Back out 79fc9d732bf7 (bug 818219) for orange.
...
--HG--
extra : rebase_source : 862b4c446f9b454c4c72e7536e73b9d9ede9feb6
2012-12-06 16:09:55 +01:00
Peter Van der Beken
56e664510b
Fix for bug 818219 (Replace HTMLElement quickstubs with new binding methods). r=bz.
...
--HG--
extra : rebase_source : ddbedbaea030272ce8fc1ac7245175f7fd3edaa4
2012-11-26 15:19:02 +01:00
Peter Van der Beken
4cd20ae3e5
Fix for bug 818219 (Replace HTMLElement quickstubs with new binding methods) - Add a constructor to callbacks to allow conversion between callback types. r=bz.
...
--HG--
extra : rebase_source : 6c55316f374ef1654f0b77b782500fc52a78881a
2012-12-06 11:41:14 +01:00
Peter Van der Beken
eb1a773525
Fix for bug 818219 (Replace HTMLElement quickstubs with new binding methods) - Remove hardcoded interface list in workers. r=bz.
...
--HG--
extra : rebase_source : 87b106b79f8e5912f10a603e407da1c93be4ed5d
2012-12-06 11:41:14 +01:00
Peter Van der Beken
08a9890d66
Fix for bug 818219 (Replace HTMLElement quickstubs with new binding methods) - Support castable types in unions. r=bz.
...
--HG--
extra : rebase_source : 633d2b350be0cf11ac0bb010a0ad427b10863ef4
2012-12-06 11:41:14 +01:00
Masatoshi Kimura
4a261035a8
Bug 816410 - Part 1: Convert XMLSerializer and DOMParser to WebIDL bindings. r=bz
2012-12-03 20:26:16 -05:00
Boris Zbarsky
572496b567
Bug 816160. Don't require 'castable':False for prefable bindings with hasXPConnectImpls, and don't require hasXPConnectImpls bindings to be prefable. r=peterv
2012-12-03 11:46:03 -05:00
Peter Van der Beken
9337bd8d50
Fix for bug 817420 (new bindings api for element broke cloud9/apf) - don't register Element prototype yet, we need to convert plain elements to the new DOM binding first. r=bz.
2012-12-03 15:26:44 +01:00
Ms2ger
739ae0477f
Merge m-c to m-i.
2012-12-02 11:32:57 +01:00
Ms2ger
f5bccafc02
Bug 802163 - Fix pyflakes warnings in bindings python; r=peterv
2012-12-02 09:59:08 +01:00
Ms2ger
95bf651fec
Bug 803825 - Part b: Paris bindings for FileHandle; r=khuey
2012-12-02 09:58:57 +01:00
Masatoshi Kimura
7a16130389
Bug 816487 - Allow all ASCII characters for WebIDL enum. r=bz
2012-12-01 21:23:26 -05:00
Peter Van der Beken
f95d18d798
Fix for bug 814195 (Replace Element quickstubs with new binding methods). r=bz.
2012-11-22 12:09:43 +01:00