Commit Graph

39 Commits

Author SHA1 Message Date
Andrew Quartey
4f95fb261b Bug 1035667 - Remove HTMLElement.className r=bz 2014-07-23 18:46:44 -04:00
Kartikaya Gupta
e57596a047 Bug 1036444 - Kill touchenter and touchleave events. r=smaug 2014-07-09 10:27:00 -04:00
Boris Zbarsky
c8fabd2e0a Bug 976272. Use DOMString for HTMLElement.className, and mark it as [Pure]. r=smaug 2014-02-25 17:26:16 -05:00
Botond Ballo
f8b4b88cd4 Bug 912666 - Introduce a 'scrollgrab' DOM property. r=roc,ehsan,Cwiiis 2013-11-20 15:23:43 -05:00
Peter Van der Beken
eafa9f5458 Bug 922160 - Bring EventHandler.webidl more in line with the spec, remove NodeEventHandlers. r=bz. 2013-10-08 17:51:15 +02:00
Ed Morley
936a36cab4 Backed out changeset dddecb33b337 (bug 922160) 2013-10-23 15:51:18 +01:00
Peter Van der Beken
899f1f47fc Bug 922160 - Bring EventHandler.webidl more in line with the spec, remove NodeEventHandlers. r=bz. 2013-10-08 17:51:15 +02:00
Olli Pettay
6faa270649 Bug 916879, remove SetterThrows from eventhandlers, r=emk 2013-09-17 14:01:28 +03:00
Boris Zbarsky
c6c7ea7db7 Bug 869014. Don't allow name collisions between external interfaces and other objects. r=khuey 2013-05-09 13:08:29 -04:00
Ryan VanderMeulen
c804b855d7 Backed out 6 changesets (bug 868996, bug 867903, bug 869014, bug 870219, bug 861587) for PGO bustage.
CLOSED TREE
2013-05-09 17:11:59 -04:00
Boris Zbarsky
eeca984596 Bug 869014. Don't allow name collisions between external interfaces and other objects. r=khuey 2013-05-09 13:08:29 -04:00
Boris Zbarsky
5e74c00a04 Bug 852846. Make .style [PutForwards=cssText]. r=ms2ger 2013-03-20 12:22:25 -04:00
Boris Zbarsky
ed32d9c8fa 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
Andrea Marchesini
703035ab4f Bug 838559 - Convert HTMLMenuElement to WebIDL. r=Ms2ger, r=peterv 2013-02-18 06:59:08 -05:00
Ryan VanderMeulen
a4db4eb07d Backed out changesets 34927afb65e2 and 2d0b056ced49 (bug 838559) for mochitest failures. 2013-02-06 16:22:59 -05:00
Andrea Marchesini
2d0b65c595 Bug 838559 - Convert HTMLMenuElement to WebIDL. r=Ms2ger 2013-02-06 14:19:20 -05:00
Boris Zbarsky
ec363fb17a 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
bb15360eaf Bug 835417 part 4. Flag a bunch of DOM getters as [Pure]. r=peterv 2013-01-29 17:53:53 -05:00
Boris Zbarsky
c1ef2bf3e1 Back out bug 824589 (rev 22695cac3896) on suspicion of Ts regression 2013-01-29 17:18:06 -05:00
Boris Zbarsky
2ce431d578 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
b14d413b71 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
1ce385c6d8 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
Ms2ger
e361ec772d Merge latest PGO-green m-i changeset to m-c. 2013-01-11 14:48:33 +01:00
Ms2ger
599302763f Bug 824481 - Cleanup style attribute getters; r=bz 2013-01-11 09:42:59 +01:00
Boris Zbarsky
de8eb984f0 Bug 824237. Add support for "partial interface" to WebIDL parser. r=khuey 2013-01-10 10:49:07 -05:00
Boris Zbarsky
26caf9d91e Bug 816425. Mark a few more things [Constant] in IDL, especially ImageData.width/height. r=peterv 2012-12-25 14:00:15 -08:00
Peter Van der Beken
69db9b33d9 Fix for bug 811701 (Move innerHTML/outerHTML/insertAdjacentHTML from HTMLElement to Element). r=bzbarsky. 2012-12-23 18:38:41 -08:00
Peter Van der Beken
dd5aacc640 Fix for bug 821606 (Turn on WebIDL bindings for Element and HTMLElement). r=bz. 2012-11-22 12:09:57 +01:00
Boris Zbarsky
6f6020fa14 Bug 819751. Turn out the WebIDL-based quickstubs for touch event handlers for now, because that setup doesn't handle prefable properties correctly. r=peterv 2012-12-10 17:38:22 -05:00
Peter Van der Beken
784a7a72f3 Fix for bug 814195 (Replace Element quickstubs with new binding methods). r=bz. 2012-11-22 12:09:43 +01:00
Ed Morley
f45aca1e19 Backout 67e95e421678 (bug 814195) for Windows debug jsreftest failures on a CLOSED TREE 2012-11-29 11:17:11 +00:00
Peter Van der Beken
f6f3144c82 Fix for bug 814195 (Replace Element quickstubs with new binding methods). r=bz. 2012-11-22 12:09:43 +01:00
Peter Van der Beken
21d1d99d4a Fix for bug 815158 (Make HTMLElement.ontouch* work with tristate dom.w3c_touch_events.enabled). r=bz. 2012-11-19 11:59:13 +01:00
Ehsan Akhgari
195229396e Backed out 6 changesets (bug 814821, bug 815158, bug 814195) for test failures
Backed out changeset 0c2011091748 (bug 815158)
Backed out changeset 9d70b4460508 (bug 814195)
Backed out changeset bf8746658a72 (bug 814821)
Backed out changeset e73366b088d7 (bug 814821)
Backed out changeset 49fc6d535c41 (bug 814821)
Backed out changeset 987aea26a43a (bug 814821)
2012-11-27 16:30:39 -05:00
Peter Van der Beken
020571bf50 Fix for bug 815158 (Make HTMLElement.ontouch* work with tristate dom.w3c_touch_events.enabled). r=bz. 2012-11-19 11:59:13 +01:00
Peter Van der Beken
a3084fde3e Fix for bug 814195 (Replace Element quickstubs with new binding methods). r=bz. 2012-11-22 12:09:43 +01:00
Peter Van der Beken
9dfe2d0cde Fix for bug 807075 (New DOM binding APIs for HTMLElement). r=bz. 2012-11-11 00:30:15 +01:00
Ed Morley
045d781e79 Backout 54c4f2ff78e3 (bug 807075) for Windows compilation errors 2012-11-14 16:45:28 +00:00
Peter Van der Beken
3569170c77 Fix for bug 807075 (New DOM binding APIs for HTMLElement). r=bz. 2012-11-11 00:30:15 +01:00