зеркало из https://github.com/mozilla/pjs.git
Bug 742197. Make unannotated non-nullable string arguments stringify null and undefined in the webidl bindings. r=peterv
This commit is contained in:
Родитель
620fe1f3d9
Коммит
0f2c58ae32
|
@ -1243,8 +1243,8 @@ def getArgumentConversionTemplate(type, descriptor):
|
|||
nullBehavior = "eNull"
|
||||
undefinedBehavior = "eNull"
|
||||
else:
|
||||
nullBehavior = "eDefaultNullBehavior"
|
||||
undefinedBehavior = "eDefaultUndefinedBehavior"
|
||||
nullBehavior = "eStringify"
|
||||
undefinedBehavior = "eStringify"
|
||||
|
||||
return (
|
||||
" xpc_qsDOMString ${name}(cx, ${argVal}, ${argPtr},\n"
|
||||
|
|
Загрузка…
Ссылка в новой задаче