Codegen support multiple interfaces in single webidl file & WebGPU single webidl (#30448)

* Codegen support multiple interfaces in single webidl file

* Merge GPU*.webidl into WebGPU.webidl

* Update gpu files to use WebGPUBinding module file
This commit is contained in:
Samson 2023-09-30 14:30:12 +02:00 committed by GitHub
parent ebd41d4101
commit ddc47aa56b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
73 changed files with 1267 additions and 1428 deletions

View file

@ -14,6 +14,7 @@ Navigator includes NavigatorLanguage;
//Navigator includes NavigatorStorageUtils;
Navigator includes NavigatorPlugins;
Navigator includes NavigatorCookies;
Navigator includes NavigatorGPU;
// https://html.spec.whatwg.org/multipage/#navigatorid
[Exposed=(Window,Worker)]
@ -69,8 +70,3 @@ partial interface Navigator {
partial interface Navigator {
[Pref="dom.gamepad.enabled"] GamepadList getGamepads();
};
[Exposed=Window]
partial interface Navigator {
[SameObject, Pref="dom.webgpu.enabled"] readonly attribute GPU gpu;
};