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:
Peter Van der Beken 2023-09-26 13:27:46 +00:00
Родитель f15ae695fd
Коммит 0632013161
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -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