Index: tools/dom/scripts/htmlrenamer.py |
diff --git a/tools/dom/scripts/htmlrenamer.py b/tools/dom/scripts/htmlrenamer.py |
index 8b2ec85df201a1ec18484f7418b529e058758ebf..9f98979eee80e538f059e0988b6d801d05acec83 100644 |
--- a/tools/dom/scripts/htmlrenamer.py |
+++ b/tools/dom/scripts/htmlrenamer.py |
@@ -360,6 +360,8 @@ renamed_overloads = monitored.Dict('htmldartgenreator.renamed_overloads', { |
'DOMString repetitionType)': 'createPatternFromImage', |
'DataTransferItemList.add(File file)': 'addFile', |
'DataTransferItemList.add(DOMString data, DOMString type)': 'addData', |
+ 'FormData.append(DOMString name, Blob value, DOMString filename)': |
+ 'appendBlob', |
'IDBDatabase.transaction(DOMStringList storeNames, DOMString mode)': |
'transactionStores', |
'IDBDatabase.transaction(sequence<DOMString> storeNames, DOMString mode)': |
@@ -406,6 +408,10 @@ renamed_overloads = monitored.Dict('htmldartgenreator.renamed_overloads', { |
'long long offset, ArrayBuffer data)': 'bufferSubByteData', |
'WebGLRenderingContext.bufferSubData(unsigned long target, ' |
'long long offset, ArrayBufferView data)': 'bufferSubDataTyped', |
+ 'WebSocket.send(ArrayBuffer data)': 'sendByteBuffer', |
+ 'WebSocket.send(ArrayBufferView data)': 'sendTypedData', |
+ 'WebSocket.send(DOMString data)': 'sendString', |
+ 'WebSocket.send(Blob data)': 'sendBlob' |
}) |
# Members that have multiple definitions, but their types are identical (only |
@@ -416,13 +422,12 @@ keep_overloaded_members = monitored.Set( |
'CanvasRenderingContext2D.putImageData', |
'CanvasRenderingContext2D.webkitPutImageDataHD', |
'DataTransferItemList.add', |
- 'FormData.append', # TODO(efortuna): Split out into appendBlob. |
'HTMLInputElement.setRangeText', |
'HTMLTextAreaElement.setRangeText', |
'IDBDatabase.transaction', |
'RTCDataChannel.send', |
'URL.createObjectURL', |
- 'WebSocket.send', # TODO(efortuna): Add sendBlob, sendString, and family. |
+ 'WebSocket.send', |
'XMLHttpRequest.send' |
]) |