зеркало из https://github.com/mozilla/gecko-dev.git
Bug 742197. Make unannotated non-nullable string arguments stringify null and undefined in the webidl bindings. r=peterv
This commit is contained in:
Родитель
19e5dd0b3b
Коммит
0f61aa61e2
|
@ -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"
|
||||
|
|
Загрузка…
Ссылка в новой задаче