Граф коммитов

28 Коммитов

Автор SHA1 Сообщение Дата
Cosmin Sabou 679b5e2db1 Backed out 5 changesets (bug 1485040) for causing build bustages on test_mozwebidlcodegen. CLOSED TREE
Backed out changeset b417c2d937e8 (bug 1485040)
Backed out changeset c567c4c7438f (bug 1485040)
Backed out changeset 806c36cb2c4c (bug 1485040)
Backed out changeset 0fbb490ffc7f (bug 1485040)
Backed out changeset a9622e7761eb (bug 1485040)
2018-09-13 23:04:55 +03:00
Andrew McCreight 93b3b0138c Bug 1485040, part 5 - Automatically fix mode lines in WebIDL files r=qdot
This patch was generated by my modeline.py script.

MozReview-Commit-ID: EbVjPLwiUAT

Depends on D4159

Differential Revision: https://phabricator.services.mozilla.com/D4161

--HG--
extra : moz-landing-system : lando
2018-09-13 19:30:51 +00:00
Boris Zbarsky bba6751af3 Bug 1330457. Introduce DocumentAndElementEventHandlers to more closely align with the HTML spec. r=bkelly 2017-01-13 10:41:20 -05:00
Boris Zbarsky fe8d1921e1 Bug 921834. Add support for .dataset on SVGElement. r=bkelly 2016-08-11 16:56:34 -04:00
Daosheng Mu 8083dbd7bd Bug 778654 - Implement and move tabIndex functions to Element class to avoid duplicate work.r=peterv,heycam
MozReview-Commit-ID: uetkJztNcn

--HG--
extra : transplant_source : U%E7va%AE%E6%FE%BDN.%28%AA%8F%19%1D%FF%26%E6%B7t
2016-05-24 12:22:17 +08:00
Cameron McCormack 3ed9906617 Bug 824222 - Remove commented out IDL members for xmllang, xmlspace and xmlbase. r=bzbarsky 2015-02-12 15:22:29 +11:00
Robert Longson b8fd2ef2f4 Bug 1125647 - mark remaining SVGAnimatedXXX webidl attributes as [Constant]. r=dholbert, sr=bzbarsky 2015-01-27 15:18:43 +00:00
Peter Van der Beken 20d1345d89 Bug 922160 - Bring EventHandler.webidl more in line with the spec, remove NodeEventHandlers. r=bz.
--HG--
extra : rebase_source : 9cfba32241add4c79d67fb0323178228b00bf631
2013-10-08 17:51:15 +02:00
Ed Morley 80176a649f Backed out changeset dddecb33b337 (bug 922160) 2013-10-23 15:51:18 +01:00
Peter Van der Beken bb44a6154b Bug 922160 - Bring EventHandler.webidl more in line with the spec, remove NodeEventHandlers. r=bz.
--HG--
extra : rebase_source : f43383fb1447174ef8f791240ddfe27052ef0aa3
2013-10-08 17:51:15 +02:00
Cameron McCormack 772ea83a2c Bug 921456 - Remove unused nsSVGElement::GetPresentationAttribute prototype. r=longsonr 2013-09-27 23:53:04 +10:00
Olli Pettay 9283cd2a76 Bug 916879, remove SetterThrows from eventhandlers, r=emk 2013-09-17 14:01:28 +03:00
Robert Longson a740e6b76c Bug 835048 - ownerElement should return null rather than throwing for invalid content. r=jwatt 2013-08-07 18:40:52 +01:00
David Zbarsky 54d09e2242 Bug 882553 - Convert SVGAnimatedString to WebIDL r=Ms2ger 2013-06-14 15:37:27 -07:00
Boris Zbarsky df5fd49632 Bug 852846. Make .style [PutForwards=cssText]. r=ms2ger 2013-03-20 12:22:25 -04:00
Boris Zbarsky e55647f4f1 Bug 838691 part 3. Switch touch event handler attributes to using a function to check whether they're enabled. r=peterv 2013-02-19 11:54:41 -05:00
Boris Zbarsky 9b45ffdc77 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 f17cd371b2 Back out bug 824589 (rev 22695cac3896) on suspicion of Ts regression 2013-01-29 17:18:06 -05:00
Boris Zbarsky 1d5a36a375 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 527c8d1698 Bug 829072 part 2. Move the event handlers that are shared by HTMLElement and Document onto a NodeEventHandlers interface that can be on the RHS of 'implements'. r=peterv 2013-01-29 08:44:00 -05:00
Boris Zbarsky d1840b512d Bug 829072 part 1. Move the event handlers that are shared by HTMLElement, Document, and Window onto a GlobalEventHandlers interface that can be on the RHS of 'implements'. r=peterv 2013-01-29 08:44:00 -05:00
David Zbarsky e4f93a1b24 Bug 828815: Restore functionality of | SVGElement[onxxx] = Function | r=bz 2013-01-15 16:03:02 -05:00
Ms2ger c762151efc Bug 824481 - Cleanup style attribute getters; r=bz 2013-01-11 09:42:59 +01:00
David Zbarsky 2a13deff5a Bug 824218 - Remove unimplemented SVG features r=longsonr 2013-01-09 18:02:47 -05:00
David Zbarsky c3bac23c38 Bug 827119: Convert SVGSVGElement to WebIDL r=bz 2013-01-09 18:02:47 -05:00
David Zbarsky a4730bced7 Bug 823394 Part 2: Add WebIDL API to SVGElement and enable binding r=bz 2012-12-23 03:22:58 -05:00
Ms2ger 87280862b0 Backout bug 823394 for reftest oranges. 2012-12-23 13:44:04 +01:00
David Zbarsky 52ea426e71 Bug 823394 Part 2: Add WebIDL API to SVGElement and enable binding r=bz 2012-12-23 03:22:58 -05:00