зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1854926 - Web IDL bindings uses disallowed type as a parameter in example code. r=dom-core,farre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D189131
This commit is contained in:
Родитель
f15ae695fd
Коммит
0632013161
|
@ -212,11 +212,11 @@ class MyClass
|
|||
ErrorResult& rv);
|
||||
void DoSomethingElse(MyClass& aOtherInstance, ErrorResult& rv);
|
||||
|
||||
void DoTheOther(JSContext* cx, JS::Value aSomething);
|
||||
void DoTheOther(JSContext* cx, JS::Handle<JS::Value> aSomething);
|
||||
|
||||
void DoYetAnotherThing(bool aActuallyDoIt);
|
||||
|
||||
static void StaticOperation(const GlobalObject& aGlobal, JS::Value aSomething);
|
||||
static void StaticOperation(const GlobalObject& aGlobal, JS::Handle<JS::Value> aSomething);
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -387,7 +387,7 @@ will correspond to these C++ function declarations:
|
|||
``` cpp
|
||||
bool MyAttr();
|
||||
void SetMyAttr(bool value);
|
||||
JS::Value MyMethod(const Optional<bool>& arg);
|
||||
bool MyMethod(const Optional<bool>& arg);
|
||||
```
|
||||
|
||||
#### Integer types
|
||||
|
|
Загрузка…
Ссылка в новой задаче