Commit Graph

561 Commits

Author SHA1 Message Date
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