Skip to content

Commit

Permalink
Bug 1282851 - Remove DummyInterfaceWorkers, r=khuey
Browse files Browse the repository at this point in the history
  • Loading branch information
bakulf committed Jun 29, 2016
1 parent 9b8df4a commit f8c5992
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 12 deletions.
6 changes: 0 additions & 6 deletions dom/bindings/Bindings.conf
Original file line number Diff line number Diff line change
Expand Up @@ -433,12 +433,6 @@ DOMInterfaces = {
'register': False,
},

'DummyInterfaceWorkers': {
'skipGen': True,
'register': False,
'workers': True
},

'DynamicsCompressorNode': {
'binaryNames': {
'release': 'getRelease'
Expand Down
3 changes: 1 addition & 2 deletions dom/bindings/Configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,7 @@ def __init__(self, filename, parseData, generatedEvents=[]):
(mainCallbacks, mainDictionaries) = findCallbacksAndDictionaries(mainTypes)

workerTypes = set()
for descriptor in ([self.getDescriptor("DummyInterfaceWorkers", workers=True)] +
self.getDescriptors(workers=True, isExternal=False, skipGen=False)):
for descriptor in (self.getDescriptors(workers=True, isExternal=False, skipGen=False)):
workerTypes |= set(getFlatTypes(getTypesFromDescriptor(descriptor)))
(workerCallbacks, workerDictionaries) = findCallbacksAndDictionaries(workerTypes)

Expand Down
1 change: 0 additions & 1 deletion dom/bindings/mozwebidlcodegen/test/DummyBinding.webidl
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
interface DummyInterface {};
interface DummyInterfaceWorkers {};
3 changes: 0 additions & 3 deletions dom/webidl/DummyBinding.webidl
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,3 @@ interface DummyInterface {
void lifecycleCallbacks(optional LifecycleCallbacks arg);
void promiseJobCallback(PromiseJobCallback arg);
};

interface DummyInterfaceWorkers {
};

0 comments on commit f8c5992

Please sign in to comment.