Bug 1885111: remove requirement to update "TestJSImplGen". r=peterv

According to
<https://firefox-source-docs.mozilla.org/dom/webIdlBindings/index.html#implementing-web-idl-using-javascript>.

Differential Revision: https://phabricator.services.mozilla.com/D204489
This commit is contained in:
Mirko Brodesser 2024-04-09 10:15:31 +00:00
parent 2c116ddec0
commit f45e3ba609
2 changed files with 5 additions and 2 deletions

View File

@ -1083,7 +1083,7 @@ interface TestInterface {
undefined passUnionArrayBuffer((DOMString or ArrayBuffer) foo);
undefined passUnionAllowSharedArrayBuffer((DOMString or [AllowShared] ArrayBuffer) foo);
// If you add things here, add them to TestExampleGen and TestJSImplGen as well
// If you add things here, add them to TestExampleGen as well
};
[LegacyFactoryFunction=Test3((long or record<DOMString, any>) arg1),

View File

@ -870,7 +870,10 @@ interface TestExampleInterface {
undefined passUnionArrayBuffer((DOMString or ArrayBuffer) foo);
undefined passUnionAllowSharedArrayBuffer((DOMString or [AllowShared] ArrayBuffer) foo);
// If you add things here, add them to TestCodeGen and TestJSImplGen as well
// If you add things here, add them to TestExampleGen. If they need to be
// supported in JS-implemented WebIDL then you need to add them to
// TestJSImplGen as well, if they are not supported in JS-implemented WebIDL
// then the codegen should throw for that specific case.
};
[Exposed=Window]