Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1645)

Unified Diff: tools/dom/scripts/htmlrenamer.py

Issue 18850007: Add back appendBlob and send variants in WebSocket. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/dom/dom.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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'
])
« no previous file with comments | « tools/dom/dom.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698