Skip to content

Commit 4ff154f

Browse files
committed
Generate web-sys with old ClipboardEvent removed.
1 parent d5da20c commit 4ff154f

File tree

2 files changed

+0
-50
lines changed

2 files changed

+0
-50
lines changed

crates/web-sys/src/features/gen_ClipboardEvent.rs

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -28,44 +28,6 @@ extern "C" {
2828
#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
2929
pub fn clipboard_data(this: &ClipboardEvent) -> Option<DataTransfer>;
3030
#[cfg(web_sys_unstable_apis)]
31-
#[cfg(feature = "DataTransfer")]
32-
# [ wasm_bindgen ( structural , method , getter , js_class = "ClipboardEvent" , js_name = clipboardData ) ]
33-
#[doc = "Getter for the `clipboardData` field of this object."]
34-
#[doc = ""]
35-
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ClipboardEvent/clipboardData)"]
36-
#[doc = ""]
37-
#[doc = "*This API requires the following crate features to be activated: `ClipboardEvent`, `DataTransfer`*"]
38-
#[doc = ""]
39-
#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
40-
#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
41-
pub fn clipboard_data(this: &ClipboardEvent) -> Option<DataTransfer>;
42-
#[cfg(web_sys_unstable_apis)]
43-
#[wasm_bindgen(catch, constructor, js_class = "ClipboardEvent")]
44-
#[doc = "The `new ClipboardEvent(..)` constructor, creating a new instance of `ClipboardEvent`."]
45-
#[doc = ""]
46-
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ClipboardEvent/ClipboardEvent)"]
47-
#[doc = ""]
48-
#[doc = "*This API requires the following crate features to be activated: `ClipboardEvent`*"]
49-
#[doc = ""]
50-
#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
51-
#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
52-
pub fn new(type_: &str) -> Result<ClipboardEvent, JsValue>;
53-
#[cfg(web_sys_unstable_apis)]
54-
#[cfg(feature = "ClipboardEventInit")]
55-
#[wasm_bindgen(catch, constructor, js_class = "ClipboardEvent")]
56-
#[doc = "The `new ClipboardEvent(..)` constructor, creating a new instance of `ClipboardEvent`."]
57-
#[doc = ""]
58-
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ClipboardEvent/ClipboardEvent)"]
59-
#[doc = ""]
60-
#[doc = "*This API requires the following crate features to be activated: `ClipboardEvent`, `ClipboardEventInit`*"]
61-
#[doc = ""]
62-
#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
63-
#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
64-
pub fn new_with_event_init_dict(
65-
type_: &str,
66-
event_init_dict: &ClipboardEventInit,
67-
) -> Result<ClipboardEvent, JsValue>;
68-
#[cfg(web_sys_unstable_apis)]
6931
#[wasm_bindgen(catch, constructor, js_class = "ClipboardEvent")]
7032
#[doc = "The `new ClipboardEvent(..)` constructor, creating a new instance of `ClipboardEvent`."]
7133
#[doc = ""]

crates/web-sys/src/features/gen_Navigator.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -117,18 +117,6 @@ extern "C" {
117117
#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
118118
pub fn clipboard(this: &Navigator) -> Clipboard;
119119
#[cfg(web_sys_unstable_apis)]
120-
#[cfg(feature = "Xr")]
121-
# [ wasm_bindgen ( structural , method , getter , js_class = "Navigator" , js_name = xr ) ]
122-
#[doc = "Getter for the `xr` field of this object."]
123-
#[doc = ""]
124-
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/xr)"]
125-
#[doc = ""]
126-
#[doc = "*This API requires the following crate features to be activated: `Navigator`, `Xr`*"]
127-
#[doc = ""]
128-
#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
129-
#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
130-
pub fn xr(this: &Navigator) -> Xr;
131-
#[cfg(web_sys_unstable_apis)]
132120
#[cfg(feature = "Gpu")]
133121
# [ wasm_bindgen ( structural , method , getter , js_class = "Navigator" , js_name = gpu ) ]
134122
#[doc = "Getter for the `gpu` field of this object."]

0 commit comments

Comments
 (0)