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

Unified Diff: Source/bindings/scripts/idl_types.py

Issue 309553002: Add ByteString support to IDL bindings (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add [Default=NullString] support Created 6 years, 6 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
Index: Source/bindings/scripts/idl_types.py
diff --git a/Source/bindings/scripts/idl_types.py b/Source/bindings/scripts/idl_types.py
index 5d6c1ced8fb45d335567bd6134a37bc8fec09d06..e7acaef6e95b30b1f1e8c334c93fb7420fd68cb4 100644
--- a/Source/bindings/scripts/idl_types.py
+++ b/Source/bindings/scripts/idl_types.py
@@ -38,10 +38,11 @@ NUMERIC_TYPES = (INTEGER_TYPES | frozenset([
PRIMITIVE_TYPES = (frozenset(['boolean']) | NUMERIC_TYPES)
BASIC_TYPES = (PRIMITIVE_TYPES | frozenset([
# Built-in, non-composite, non-object data types
- # http://www.w3.org/TR/WebIDL/#idl-types
+ # http://heycam.github.io/webidl/#idl-types
'DOMString',
+ 'ByteString',
'Date',
- # http://www.w3.org/TR/WebIDL/#es-type-mapping
+ # http://heycam.github.io/webidl/#es-type-mapping
'void',
]))
TYPE_NAMES = {
@@ -63,6 +64,7 @@ TYPE_NAMES = {
'DOMString': 'String',
'ByteString': 'ByteString',
'object': 'Object',
+ 'Date': 'Date',
}

Powered by Google App Engine
This is Rietveld 408576698