Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Event bindings and support for WebIDL dictionaries #422

Merged
merged 2 commits into from May 8, 2013
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Next

Add codegen support for dictionaries, and implement Event bindings as…

… a side-effect. Add a stub EventTarget to allow the build to complete.
  • Loading branch information
jdm committed May 8, 2013
commit af2db0cf682e65abe5e6e6a380f9ea51a13cc16f
@@ -116,13 +116,11 @@ DOMInterfaces = {
'ClientRect': [
{
'nativeType': 'ClientRect',
'pointerType': '@mut '
}],

'ClientRectList': [
{
'nativeType': 'ClientRectList',
'pointerType': '@mut '
}],

'CSS2Properties': {
@@ -137,7 +135,6 @@ DOMInterfaces = {

'DOMParser': {
'nativeType': 'DOMParser',
'pointerType': '@mut '
},

'DOMSettableTokenList': [
@@ -160,10 +157,9 @@ DOMInterfaces = {

'Event': [
{
'nativeType': 'Event_'
},
{
'workers': True,
}],
],

'EventListener': [
{
@@ -174,16 +170,17 @@ DOMInterfaces = {

'EventTarget': [
{
'nativeType': 'nsDOMEventTargetHelper',
'hasInstanceInterface': 'nsIDOMEventTarget',
'concrete': False,
'prefable': True,
# 'nativeType': 'nsDOMEventTargetHelper',
# 'hasInstanceInterface': 'nsIDOMEventTarget',
# 'concrete': False,
# 'prefable': True,
},
{
'workers': True,
'headerFile': 'mozilla/dom/workers/bindings/EventTarget.h',
'concrete': False
}],
#{
# 'workers': True,
# 'headerFile': 'mozilla/dom/workers/bindings/EventTarget.h',
# 'concrete': False
#}
],

'FileList': [
{
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.