Index: client/dom/scripts/fremontcutbuilder.py |
diff --git a/client/dom/scripts/fremontcutbuilder.py b/client/dom/scripts/fremontcutbuilder.py |
index a71a7cf6d3f4eb00a14d936247ae2c490f3ab103..9af83e367615fb083df6077ea8cc3d777692a75a 100755 |
--- a/client/dom/scripts/fremontcutbuilder.py |
+++ b/client/dom/scripts/fremontcutbuilder.py |
@@ -118,15 +118,19 @@ def main(): |
source='WebKit', |
source_attributes={'revision': webkit_revision}, |
type_rename_map={ |
+ # Some of these are typos in the IDL. |
'float': 'double', |
'BarInfo': 'BarProp', |
'DedicatedWorkerContext': 'DedicatedWorkerGlobalScope', |
'DOMApplicationCache': 'ApplicationCache', |
'DOMCoreException': 'DOMException', |
+ 'DOMExceptionJSC': 'DOMException', # Node.replaceChild |
+ 'DomException': 'DOMException', # Navigator.registerProtocolHandler |
'DOMFormData': 'FormData', |
'DOMObject': 'object', |
'DOMSelection': 'Selection', |
'DOMWindow': 'Window', |
+ 'Exception': 'DOMException', # NotificationCenter.createNotification |
'SharedWorkerContext': 'SharedWorkerGlobalScope', |
'WorkerContext': 'WorkerGlobalScope', |
}) |