mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 20:49:27 +00:00
Back out bug 860591 (rev 8488f69f8f91) because it causes orange, resulting in a CLOSED TREE
This commit is contained in:
parent
def84c9124
commit
1baa79df9f
@ -61,9 +61,7 @@ DOMCI_CASTABLE_INTERFACE(nsGenericHTMLElement, nsGenericHTMLElement, 6, \
|
||||
_extra) \
|
||||
DOMCI_CASTABLE_INTERFACE(nsHTMLDocument, nsIDocument, 7, _extra) \
|
||||
DOMCI_CASTABLE_INTERFACE(nsStyledElement, nsStyledElement, 8, _extra) \
|
||||
DOMCI_CASTABLE_INTERFACE(nsSVGElement, nsIContent, 9, _extra) \
|
||||
DOMCI_CASTABLE_INTERFACE(nsDOMMouseEvent, nsIDOMMouseEvent, 10, _extra) \
|
||||
DOMCI_CASTABLE_INTERFACE(nsDOMUIEvent, nsIDOMUIEvent, 11, _extra)
|
||||
DOMCI_CASTABLE_INTERFACE(nsSVGElement, nsIContent, 9, _extra)
|
||||
|
||||
// Make sure all classes mentioned in DOMCI_CASTABLE_INTERFACES
|
||||
// have been declared.
|
||||
|
@ -573,7 +573,6 @@ DOMInterfaces = {
|
||||
|
||||
'MouseEvent': {
|
||||
'nativeType': 'nsDOMMouseEvent',
|
||||
'hasXPConnectImpls': True,
|
||||
},
|
||||
|
||||
'MozChannel': [
|
||||
@ -975,7 +974,6 @@ DOMInterfaces = {
|
||||
|
||||
'UIEvent': {
|
||||
'nativeType': 'nsDOMUIEvent',
|
||||
'hasXPConnectImpls': True
|
||||
},
|
||||
|
||||
'URL' : [{
|
||||
|
@ -1,20 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script>
|
||||
var timeEvent = document.createEvent('TimeEvent');
|
||||
var mutationEvent = document.createEvent('MutationEvents');
|
||||
mutationEvent.__proto__ = timeEvent;
|
||||
mutationEvent.target;
|
||||
|
||||
var mouseScrollEvent = document.createEvent("MouseScrollEvents");
|
||||
var mouseEvent = document.createEvent("MouseEvents");
|
||||
mouseEvent.__proto__ = mouseScrollEvent;
|
||||
mouseEvent.relatedTarget;
|
||||
|
||||
var uiEvent = document.createEvent("UIEvents");
|
||||
uiEvent.__proto__ = mouseScrollEvent;
|
||||
uiEvent.rangeParent;
|
||||
</script>
|
||||
</head>
|
||||
</html>
|
@ -2,5 +2,4 @@ asserts-if(cocoaWidget,0-1) load 769464.html
|
||||
load 822340-1.html
|
||||
load 822340-2.html
|
||||
load 832899.html
|
||||
load 860591.html
|
||||
load 860551.html
|
||||
|
@ -62,6 +62,18 @@ members = [
|
||||
'nsIDOMMozNamedAttrMap.length',
|
||||
'nsIDOMDOMStringList.*',
|
||||
|
||||
'nsIDOMEvent.type',
|
||||
'nsIDOMEvent.target',
|
||||
'nsIDOMEvent.currentTarget',
|
||||
'nsIDOMEvent.eventPhase',
|
||||
'nsIDOMEvent.bubbles',
|
||||
'nsIDOMEvent.cancelable',
|
||||
'nsIDOMEvent.timeStamp',
|
||||
'nsIDOMEvent.stopPropagation',
|
||||
'nsIDOMEvent.preventDefault',
|
||||
'nsIDOMEvent.initEvent',
|
||||
'nsIDOMEvent.defaultPrevented',
|
||||
'nsIDOMEvent.stopImmediatePropagation',
|
||||
'nsIDOMKeyEvent.*',
|
||||
'nsIDOMDragEvent.*',
|
||||
'nsIDOMNotifyPaintEvent.*',
|
||||
@ -195,9 +207,6 @@ customIncludes = [
|
||||
'nsPerformance.h',
|
||||
'mozilla/dom/HTMLDocumentBinding.h',
|
||||
'mozilla/dom/EventTargetBinding.h',
|
||||
'mozilla/dom/EventBinding.h',
|
||||
'mozilla/dom/MouseEventBinding.h',
|
||||
'mozilla/dom/UIEventBinding.h',
|
||||
]
|
||||
|
||||
customReturnInterfaces = [
|
||||
@ -247,7 +256,4 @@ newBindingProperties = {
|
||||
'nsIDOMDocument': 'mozilla::dom::DocumentBinding::sNativePropertyHooks.mNativeProperties.regular',
|
||||
'nsIDOMHTMLDocument': 'mozilla::dom::HTMLDocumentBinding::sNativePropertyHooks.mNativeProperties.regular',
|
||||
'nsIDOMEventTarget': 'mozilla::dom::EventTargetBinding::sNativePropertyHooks.mNativeProperties.regular',
|
||||
'nsIDOMEvent': 'mozilla::dom::EventBinding::sNativePropertyHooks.mNativeProperties.regular',
|
||||
'nsIDOMMouseEvent': 'mozilla::dom::MouseEventBinding::sNativePropertyHooks.mNativeProperties.regular',
|
||||
'nsIDOMUIEvent': 'mozilla::dom::UIEventBinding::sNativePropertyHooks.mNativeProperties.regular',
|
||||
}
|
||||
|
@ -17,8 +17,6 @@
|
||||
#include "nsICSSDeclaration.h"
|
||||
#include "nsSVGElement.h"
|
||||
#include "nsDOMEvent.h"
|
||||
#include "nsDOMMouseEvent.h"
|
||||
#include "nsDOMUIEvent.h"
|
||||
#include "mozilla/dom/EventTargetBinding.h"
|
||||
#include "mozilla/dom/NodeBinding.h"
|
||||
#include "mozilla/dom/ElementBinding.h"
|
||||
@ -54,8 +52,6 @@ NEW_BINDING(nsIDocument, Document);
|
||||
NEW_BINDING(nsDocument, Document);
|
||||
NEW_BINDING(nsSVGElement, SVGElement);
|
||||
NEW_BINDING(nsDOMEvent, Event);
|
||||
NEW_BINDING(nsDOMMouseEvent, MouseEvent);
|
||||
NEW_BINDING(nsDOMUIEvent, UIEvent);
|
||||
|
||||
#define DEFINE_UNWRAP_CAST(_interface, _base, _bit) \
|
||||
template <> \
|
||||
|
Loading…
x
Reference in New Issue
Block a user