diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-11-03 08:12:37 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-03 08:12:37 -0500 |
commit | dafc57e8abb3723e62e32e82ef04eb770eee2ea2 (patch) | |
tree | db2bb8bf4fa6933db5bf6830ba90a08bc786fdd0 | |
parent | 9fcc9d9d3f59428bf19f950bd79ab257d59e3d16 (diff) | |
parent | ab90ac91de0435e8ef6cb0856aa6775d37317d97 (diff) | |
download | servo-dafc57e8abb3723e62e32e82ef04eb770eee2ea2.tar.gz servo-dafc57e8abb3723e62e32e82ef04eb770eee2ea2.zip |
Auto merge of #14041 - heycam:bindings-update-3, r=emilio
Regenerate bindings.
<!-- Please describe your changes on the following line: -->
Gecko bindings regeneration for latest stylo branch tip: https://hg.mozilla.org/incubator/stylo/rev/30359e047e9b24b073a9e996b4b3f843f2c5ff8f
r? @Manishearth
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).
<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14041)
<!-- Reviewable:end -->
-rwxr-xr-x | components/style/binding_tools/regen.py | 1 | ||||
-rw-r--r-- | components/style/gecko_bindings/structs_debug.rs | 267 | ||||
-rw-r--r-- | components/style/gecko_bindings/structs_release.rs | 265 | ||||
-rw-r--r-- | components/style/gecko_string_cache/atom_macro.rs | 24 |
4 files changed, 230 insertions, 327 deletions
diff --git a/components/style/binding_tools/regen.py b/components/style/binding_tools/regen.py index 53ade1bf1e7..6fcbf25b9c9 100755 --- a/components/style/binding_tools/regen.py +++ b/components/style/binding_tools/regen.py @@ -256,6 +256,7 @@ COMPILATION_TARGETS = { "RawGeckoDocument", "RawGeckoElement", "RawGeckoNode", + "ThreadSafe.*Holder", ], # Types to just use from the `structs` target. diff --git a/components/style/gecko_bindings/structs_debug.rs b/components/style/gecko_bindings/structs_debug.rs index 8fbdbe20112..f09f413df7a 100644 --- a/components/style/gecko_bindings/structs_debug.rs +++ b/components/style/gecko_bindings/structs_debug.rs @@ -1388,17 +1388,6 @@ pub enum nsresult { NS_ERROR_DOM_FILESYSTEM_PATH_EXISTS_ERR = 2154364932, NS_ERROR_DOM_FILESYSTEM_TYPE_MISMATCH_ERR = 2154364933, NS_ERROR_DOM_FILESYSTEM_UNKNOWN_ERR = 2154364934, - NS_ERROR_DOM_BLUETOOTH_FAIL = 2154430465, - NS_ERROR_DOM_BLUETOOTH_NOT_READY = 2154430466, - NS_ERROR_DOM_BLUETOOTH_NOMEM = 2154430467, - NS_ERROR_DOM_BLUETOOTH_BUSY = 2154430468, - NS_ERROR_DOM_BLUETOOTH_DONE = 2154430469, - NS_ERROR_DOM_BLUETOOTH_UNSUPPORTED = 2154430470, - NS_ERROR_DOM_BLUETOOTH_PARM_INVALID = 2154430471, - NS_ERROR_DOM_BLUETOOTH_UNHANDLED = 2154430472, - NS_ERROR_DOM_BLUETOOTH_AUTH_FAILURE = 2154430473, - NS_ERROR_DOM_BLUETOOTH_RMT_DEV_DOWN = 2154430474, - NS_ERROR_DOM_BLUETOOTH_AUTH_REJECTED = 2154430475, NS_ERROR_SIGNED_APP_MANIFEST_INVALID = 2154496001, NS_ERROR_DOM_ANIM_MISSING_PROPS_ERR = 2154561537, NS_ERROR_DOM_PUSH_INVALID_REGISTRATION_ERR = 2154627073, @@ -1434,6 +1423,38 @@ pub enum nsresult { } pub type nsrefcnt = MozRefCountType; #[repr(C)] +#[derive(Debug)] +pub struct OwningNonNull<T> { + pub mPtr: RefPtr<T>, + pub mInited: bool, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct StaticRefPtr<T> { + pub mRawPtr: *mut T, +} +#[repr(C)] +#[derive(Debug)] +pub struct RefPtr<T> { + pub mRawPtr: *mut T, +} +pub type RefPtr_element_type<T> = T; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct RefPtr_Proxy<T, R, Args> { + pub _phantom_0: ::std::marker::PhantomData<T>, + pub _phantom_1: ::std::marker::PhantomData<R>, + pub _phantom_2: ::std::marker::PhantomData<Args>, +} +pub type RefPtr_Proxy_member_function = [u8; 0usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct RefPtr_ConstRemovingRefPtrTraits<T, U> { + pub _address: u8, + pub _phantom_0: ::std::marker::PhantomData<T>, + pub _phantom_1: ::std::marker::PhantomData<U>, +} +#[repr(C)] #[derive(Debug, Copy, Clone)] pub struct AlignedStorage2<T> { pub u: AlignedStorage2_U<T>, @@ -1640,12 +1661,10 @@ impl Clone for JSCompartment { fn clone(&self) -> Self { *self } } #[repr(C)] -#[derive(Debug, Copy, Clone)] +#[derive(Debug)] pub struct atomic<_Tp> { - pub _base: (), - pub _phantom_0: ::std::marker::PhantomData<_Tp>, + pub _M_i: _Tp, } -pub type atomic___base = [u8; 0usize]; #[repr(u32)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] pub enum JSWhyMagic { @@ -2081,38 +2100,6 @@ impl Clone for PLHashAllocOps { fn clone(&self) -> Self { *self } } #[repr(C)] -#[derive(Debug)] -pub struct OwningNonNull<T> { - pub mPtr: RefPtr<T>, - pub mInited: bool, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct StaticRefPtr<T> { - pub mRawPtr: *mut T, -} -#[repr(C)] -#[derive(Debug)] -pub struct RefPtr<T> { - pub mRawPtr: *mut T, -} -pub type RefPtr_element_type<T> = T; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct RefPtr_Proxy<T, R, Args> { - pub _phantom_0: ::std::marker::PhantomData<T>, - pub _phantom_1: ::std::marker::PhantomData<R>, - pub _phantom_2: ::std::marker::PhantomData<Args>, -} -pub type RefPtr_Proxy_member_function = [u8; 0usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct RefPtr_ConstRemovingRefPtrTraits<T, U> { - pub _address: u8, - pub _phantom_0: ::std::marker::PhantomData<T>, - pub _phantom_1: ::std::marker::PhantomData<U>, -} -#[repr(C)] #[derive(Debug, Copy)] pub struct nsAutoOwningThread { pub mThread: *mut ::std::os::raw::c_void, @@ -2633,38 +2620,6 @@ pub struct pair<_T1, _T2> { pub type pair_first_type<_T1> = _T1; pub type pair_second_type<_T2> = _T2; #[repr(C)] -#[derive(Debug, Copy)] -pub struct input_iterator_tag { - pub _address: u8, -} -impl Clone for input_iterator_tag { - fn clone(&self) -> Self { *self } -} -#[repr(C)] -#[derive(Debug, Copy)] -pub struct forward_iterator_tag { - pub _address: u8, -} -impl Clone for forward_iterator_tag { - fn clone(&self) -> Self { *self } -} -#[repr(C)] -#[derive(Debug, Copy)] -pub struct bidirectional_iterator_tag { - pub _address: u8, -} -impl Clone for bidirectional_iterator_tag { - fn clone(&self) -> Self { *self } -} -#[repr(C)] -#[derive(Debug, Copy)] -pub struct random_access_iterator_tag { - pub _address: u8, -} -impl Clone for random_access_iterator_tag { - fn clone(&self) -> Self { *self } -} -#[repr(C)] pub struct SourceHook__bindgen_vtable { } /** @@ -5731,14 +5686,6 @@ impl Clone for nsIWeakReference { } pub type nsWeakPtr = nsCOMPtr<nsIWeakReference>; #[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __bit_const_reference<_Cp> { - pub __seg_: __bit_const_reference___storage_pointer<_Cp>, - pub __mask_: __bit_const_reference___storage_type<_Cp>, -} -pub type __bit_const_reference___storage_type<_Cp> = _Cp; -pub type __bit_const_reference___storage_pointer<_Cp> = _Cp; -#[repr(C)] #[derive(Debug, Copy)] pub struct nsIChannel { pub _base: nsIRequest, @@ -6902,63 +6849,63 @@ pub struct DOMPointInit { impl Clone for DOMPointInit { fn clone(&self) -> Self { *self } } -pub const NODE_HAS_LISTENERMANAGER: _bindgen_ty_22 = - _bindgen_ty_22::NODE_HAS_LISTENERMANAGER; -pub const NODE_HAS_PROPERTIES: _bindgen_ty_22 = - _bindgen_ty_22::NODE_HAS_PROPERTIES; -pub const NODE_IS_ANONYMOUS_ROOT: _bindgen_ty_22 = - _bindgen_ty_22::NODE_IS_ANONYMOUS_ROOT; -pub const NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE: _bindgen_ty_22 = - _bindgen_ty_22::NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE; -pub const NODE_IS_NATIVE_ANONYMOUS_ROOT: _bindgen_ty_22 = - _bindgen_ty_22::NODE_IS_NATIVE_ANONYMOUS_ROOT; -pub const NODE_FORCE_XBL_BINDINGS: _bindgen_ty_22 = - _bindgen_ty_22::NODE_FORCE_XBL_BINDINGS; -pub const NODE_MAY_BE_IN_BINDING_MNGR: _bindgen_ty_22 = - _bindgen_ty_22::NODE_MAY_BE_IN_BINDING_MNGR; -pub const NODE_IS_EDITABLE: _bindgen_ty_22 = _bindgen_ty_22::NODE_IS_EDITABLE; -pub const NODE_MAY_HAVE_CLASS: _bindgen_ty_22 = - _bindgen_ty_22::NODE_MAY_HAVE_CLASS; -pub const NODE_IS_IN_SHADOW_TREE: _bindgen_ty_22 = - _bindgen_ty_22::NODE_IS_IN_SHADOW_TREE; -pub const NODE_HAS_EMPTY_SELECTOR: _bindgen_ty_22 = - _bindgen_ty_22::NODE_HAS_EMPTY_SELECTOR; -pub const NODE_HAS_SLOW_SELECTOR: _bindgen_ty_22 = - _bindgen_ty_22::NODE_HAS_SLOW_SELECTOR; -pub const NODE_HAS_EDGE_CHILD_SELECTOR: _bindgen_ty_22 = - _bindgen_ty_22::NODE_HAS_EDGE_CHILD_SELECTOR; -pub const NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS: _bindgen_ty_22 = - _bindgen_ty_22::NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS; -pub const NODE_ALL_SELECTOR_FLAGS: _bindgen_ty_22 = - _bindgen_ty_22::NODE_ALL_SELECTOR_FLAGS; -pub const NODE_NEEDS_FRAME: _bindgen_ty_22 = _bindgen_ty_22::NODE_NEEDS_FRAME; -pub const NODE_DESCENDANTS_NEED_FRAMES: _bindgen_ty_22 = - _bindgen_ty_22::NODE_DESCENDANTS_NEED_FRAMES; -pub const NODE_HAS_ACCESSKEY: _bindgen_ty_22 = - _bindgen_ty_22::NODE_HAS_ACCESSKEY; -pub const NODE_HAS_DIRECTION_RTL: _bindgen_ty_22 = - _bindgen_ty_22::NODE_HAS_DIRECTION_RTL; -pub const NODE_HAS_DIRECTION_LTR: _bindgen_ty_22 = - _bindgen_ty_22::NODE_HAS_DIRECTION_LTR; -pub const NODE_ALL_DIRECTION_FLAGS: _bindgen_ty_22 = - _bindgen_ty_22::NODE_ALL_DIRECTION_FLAGS; -pub const NODE_CHROME_ONLY_ACCESS: _bindgen_ty_22 = - _bindgen_ty_22::NODE_CHROME_ONLY_ACCESS; -pub const NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS: _bindgen_ty_22 = - _bindgen_ty_22::NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS; -pub const NODE_SHARED_RESTYLE_BIT_1: _bindgen_ty_22 = - _bindgen_ty_22::NODE_SHARED_RESTYLE_BIT_1; -pub const NODE_SHARED_RESTYLE_BIT_2: _bindgen_ty_22 = - _bindgen_ty_22::NODE_SHARED_RESTYLE_BIT_2; -pub const NODE_IS_DIRTY_FOR_SERVO: _bindgen_ty_22 = - _bindgen_ty_22::NODE_SHARED_RESTYLE_BIT_1; -pub const NODE_HAS_DIRTY_DESCENDANTS_FOR_SERVO: _bindgen_ty_22 = - _bindgen_ty_22::NODE_SHARED_RESTYLE_BIT_2; -pub const NODE_TYPE_SPECIFIC_BITS_OFFSET: _bindgen_ty_22 = - _bindgen_ty_22::NODE_TYPE_SPECIFIC_BITS_OFFSET; +pub const NODE_HAS_LISTENERMANAGER: _bindgen_ty_67 = + _bindgen_ty_67::NODE_HAS_LISTENERMANAGER; +pub const NODE_HAS_PROPERTIES: _bindgen_ty_67 = + _bindgen_ty_67::NODE_HAS_PROPERTIES; +pub const NODE_IS_ANONYMOUS_ROOT: _bindgen_ty_67 = + _bindgen_ty_67::NODE_IS_ANONYMOUS_ROOT; +pub const NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE: _bindgen_ty_67 = + _bindgen_ty_67::NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE; +pub const NODE_IS_NATIVE_ANONYMOUS_ROOT: _bindgen_ty_67 = + _bindgen_ty_67::NODE_IS_NATIVE_ANONYMOUS_ROOT; +pub const NODE_FORCE_XBL_BINDINGS: _bindgen_ty_67 = + _bindgen_ty_67::NODE_FORCE_XBL_BINDINGS; +pub const NODE_MAY_BE_IN_BINDING_MNGR: _bindgen_ty_67 = + _bindgen_ty_67::NODE_MAY_BE_IN_BINDING_MNGR; +pub const NODE_IS_EDITABLE: _bindgen_ty_67 = _bindgen_ty_67::NODE_IS_EDITABLE; +pub const NODE_MAY_HAVE_CLASS: _bindgen_ty_67 = + _bindgen_ty_67::NODE_MAY_HAVE_CLASS; +pub const NODE_IS_IN_SHADOW_TREE: _bindgen_ty_67 = + _bindgen_ty_67::NODE_IS_IN_SHADOW_TREE; +pub const NODE_HAS_EMPTY_SELECTOR: _bindgen_ty_67 = + _bindgen_ty_67::NODE_HAS_EMPTY_SELECTOR; +pub const NODE_HAS_SLOW_SELECTOR: _bindgen_ty_67 = + _bindgen_ty_67::NODE_HAS_SLOW_SELECTOR; +pub const NODE_HAS_EDGE_CHILD_SELECTOR: _bindgen_ty_67 = + _bindgen_ty_67::NODE_HAS_EDGE_CHILD_SELECTOR; +pub const NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS: _bindgen_ty_67 = + _bindgen_ty_67::NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS; +pub const NODE_ALL_SELECTOR_FLAGS: _bindgen_ty_67 = + _bindgen_ty_67::NODE_ALL_SELECTOR_FLAGS; +pub const NODE_NEEDS_FRAME: _bindgen_ty_67 = _bindgen_ty_67::NODE_NEEDS_FRAME; +pub const NODE_DESCENDANTS_NEED_FRAMES: _bindgen_ty_67 = + _bindgen_ty_67::NODE_DESCENDANTS_NEED_FRAMES; +pub const NODE_HAS_ACCESSKEY: _bindgen_ty_67 = + _bindgen_ty_67::NODE_HAS_ACCESSKEY; +pub const NODE_HAS_DIRECTION_RTL: _bindgen_ty_67 = + _bindgen_ty_67::NODE_HAS_DIRECTION_RTL; +pub const NODE_HAS_DIRECTION_LTR: _bindgen_ty_67 = + _bindgen_ty_67::NODE_HAS_DIRECTION_LTR; +pub const NODE_ALL_DIRECTION_FLAGS: _bindgen_ty_67 = + _bindgen_ty_67::NODE_ALL_DIRECTION_FLAGS; +pub const NODE_CHROME_ONLY_ACCESS: _bindgen_ty_67 = + _bindgen_ty_67::NODE_CHROME_ONLY_ACCESS; +pub const NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS: _bindgen_ty_67 = + _bindgen_ty_67::NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS; +pub const NODE_SHARED_RESTYLE_BIT_1: _bindgen_ty_67 = + _bindgen_ty_67::NODE_SHARED_RESTYLE_BIT_1; +pub const NODE_SHARED_RESTYLE_BIT_2: _bindgen_ty_67 = + _bindgen_ty_67::NODE_SHARED_RESTYLE_BIT_2; +pub const NODE_IS_DIRTY_FOR_SERVO: _bindgen_ty_67 = + _bindgen_ty_67::NODE_SHARED_RESTYLE_BIT_1; +pub const NODE_HAS_DIRTY_DESCENDANTS_FOR_SERVO: _bindgen_ty_67 = + _bindgen_ty_67::NODE_SHARED_RESTYLE_BIT_2; +pub const NODE_TYPE_SPECIFIC_BITS_OFFSET: _bindgen_ty_67 = + _bindgen_ty_67::NODE_TYPE_SPECIFIC_BITS_OFFSET; #[repr(u32)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] -pub enum _bindgen_ty_22 { +pub enum _bindgen_ty_67 { NODE_HAS_LISTENERMANAGER = 4, NODE_HAS_PROPERTIES = 8, NODE_IS_ANONYMOUS_ROOT = 16, @@ -8355,21 +8302,21 @@ pub enum nsStyleUnit { } #[repr(C)] #[derive(Debug, Copy)] -pub struct _bindgen_ty_10 { +pub struct _bindgen_ty_25 { pub mInt: __BindgenUnionField<i32>, pub mFloat: __BindgenUnionField<f32>, pub mPointer: __BindgenUnionField<*mut ::std::os::raw::c_void>, pub bindgen_union_field: u64, } #[test] -fn bindgen_test_layout__bindgen_ty_10() { - assert_eq!(::std::mem::size_of::<_bindgen_ty_10>() , 8usize); - assert_eq!(::std::mem::align_of::<_bindgen_ty_10>() , 8usize); +fn bindgen_test_layout__bindgen_ty_25() { + assert_eq!(::std::mem::size_of::<_bindgen_ty_25>() , 8usize); + assert_eq!(::std::mem::align_of::<_bindgen_ty_25>() , 8usize); } -impl Clone for _bindgen_ty_10 { +impl Clone for _bindgen_ty_25 { fn clone(&self) -> Self { *self } } -pub type nsStyleUnion = _bindgen_ty_10; +pub type nsStyleUnion = _bindgen_ty_25; /** * Class that hold a single size specification used by the style * system. The size specification consists of two parts -- a number @@ -10200,18 +10147,12 @@ fn bindgen_test_layout_nsStyleGradient() { * RequestDiscard() are made to the imgRequestProxy and ImageTracker as * appropriate, according to the mode flags passed in to the constructor. * - * The main thread constructor takes a pointer to the already-created - * imgRequestProxy, and the css::ImageValue that was used while creating it. - * The ImageValue object is only used to grab the URL details to store - * into mBaseURI and mURIString. - * - * The off-main-thread constructor creates a new css::ImageValue to - * hold all the data required to resolve the imgRequestProxy later. This - * constructor also stores the URL details into mbaseURI and mURIString. - * The ImageValue is held on to in mImageTracker until the Resolve call. - * - * We use mBaseURI and mURIString so that we can perform nsStyleImageRequest - * equality comparisons without needing an imgRequestProxy. + * The main thread constructor takes a pointer to the css::ImageValue that + * is the specified url() value, while the off-main-thread constructor + * creates a new css::ImageValue to represent the url() information passed + * to the constructor. This ImageValue is held on to for the comparisons done + * in DefinitelyEquals(), so that we don't need to call into the non-OMT-safe + * Equals() on the nsIURI objects returned from imgRequestProxy::GetURI(). */ #[repr(C)] #[derive(Debug)] @@ -10220,18 +10161,16 @@ pub struct nsStyleImageRequest { pub mRequestProxy: RefPtr<imgRequestProxy>, pub mImageValue: RefPtr<ImageValue>, pub mImageTracker: RefPtr<ImageTracker>, - pub mBaseURI: nsMainThreadPtrHandle<nsIURI>, - pub mURIString: RefPtr<nsStringBuffer>, pub mModeFlags: nsStyleImageRequest_Mode, pub mResolved: bool, } #[repr(u8)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] -pub enum nsStyleImageRequest_Mode { Track = 1, Lock = 2, Discard = 4, } +pub enum nsStyleImageRequest_Mode { Track = 1, Discard = 2, } pub type nsStyleImageRequest_HasThreadSafeRefCnt = TrueType; #[test] fn bindgen_test_layout_nsStyleImageRequest() { - assert_eq!(::std::mem::size_of::<nsStyleImageRequest>() , 56usize); + assert_eq!(::std::mem::size_of::<nsStyleImageRequest>() , 40usize); assert_eq!(::std::mem::align_of::<nsStyleImageRequest>() , 8usize); } #[repr(u32)] diff --git a/components/style/gecko_bindings/structs_release.rs b/components/style/gecko_bindings/structs_release.rs index 5838d0f2685..a5767000604 100644 --- a/components/style/gecko_bindings/structs_release.rs +++ b/components/style/gecko_bindings/structs_release.rs @@ -1388,17 +1388,6 @@ pub enum nsresult { NS_ERROR_DOM_FILESYSTEM_PATH_EXISTS_ERR = 2154364932, NS_ERROR_DOM_FILESYSTEM_TYPE_MISMATCH_ERR = 2154364933, NS_ERROR_DOM_FILESYSTEM_UNKNOWN_ERR = 2154364934, - NS_ERROR_DOM_BLUETOOTH_FAIL = 2154430465, - NS_ERROR_DOM_BLUETOOTH_NOT_READY = 2154430466, - NS_ERROR_DOM_BLUETOOTH_NOMEM = 2154430467, - NS_ERROR_DOM_BLUETOOTH_BUSY = 2154430468, - NS_ERROR_DOM_BLUETOOTH_DONE = 2154430469, - NS_ERROR_DOM_BLUETOOTH_UNSUPPORTED = 2154430470, - NS_ERROR_DOM_BLUETOOTH_PARM_INVALID = 2154430471, - NS_ERROR_DOM_BLUETOOTH_UNHANDLED = 2154430472, - NS_ERROR_DOM_BLUETOOTH_AUTH_FAILURE = 2154430473, - NS_ERROR_DOM_BLUETOOTH_RMT_DEV_DOWN = 2154430474, - NS_ERROR_DOM_BLUETOOTH_AUTH_REJECTED = 2154430475, NS_ERROR_SIGNED_APP_MANIFEST_INVALID = 2154496001, NS_ERROR_DOM_ANIM_MISSING_PROPS_ERR = 2154561537, NS_ERROR_DOM_PUSH_INVALID_REGISTRATION_ERR = 2154627073, @@ -1434,6 +1423,37 @@ pub enum nsresult { } pub type nsrefcnt = MozRefCountType; #[repr(C)] +#[derive(Debug)] +pub struct OwningNonNull<T> { + pub mPtr: RefPtr<T>, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct StaticRefPtr<T> { + pub mRawPtr: *mut T, +} +#[repr(C)] +#[derive(Debug)] +pub struct RefPtr<T> { + pub mRawPtr: *mut T, +} +pub type RefPtr_element_type<T> = T; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct RefPtr_Proxy<T, R, Args> { + pub _phantom_0: ::std::marker::PhantomData<T>, + pub _phantom_1: ::std::marker::PhantomData<R>, + pub _phantom_2: ::std::marker::PhantomData<Args>, +} +pub type RefPtr_Proxy_member_function = [u8; 0usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct RefPtr_ConstRemovingRefPtrTraits<T, U> { + pub _address: u8, + pub _phantom_0: ::std::marker::PhantomData<T>, + pub _phantom_1: ::std::marker::PhantomData<U>, +} +#[repr(C)] #[derive(Debug, Copy, Clone)] pub struct AlignedStorage2<T> { pub u: AlignedStorage2_U<T>, @@ -1640,12 +1660,10 @@ impl Clone for JSCompartment { fn clone(&self) -> Self { *self } } #[repr(C)] -#[derive(Debug, Copy, Clone)] +#[derive(Debug)] pub struct atomic<_Tp> { - pub _base: (), - pub _phantom_0: ::std::marker::PhantomData<_Tp>, + pub _M_i: _Tp, } -pub type atomic___base = [u8; 0usize]; #[repr(u32)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] pub enum JSWhyMagic { @@ -2081,37 +2099,6 @@ impl Clone for PLHashAllocOps { fn clone(&self) -> Self { *self } } #[repr(C)] -#[derive(Debug)] -pub struct OwningNonNull<T> { - pub mPtr: RefPtr<T>, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct StaticRefPtr<T> { - pub mRawPtr: *mut T, -} -#[repr(C)] -#[derive(Debug)] -pub struct RefPtr<T> { - pub mRawPtr: *mut T, -} -pub type RefPtr_element_type<T> = T; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct RefPtr_Proxy<T, R, Args> { - pub _phantom_0: ::std::marker::PhantomData<T>, - pub _phantom_1: ::std::marker::PhantomData<R>, - pub _phantom_2: ::std::marker::PhantomData<Args>, -} -pub type RefPtr_Proxy_member_function = [u8; 0usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct RefPtr_ConstRemovingRefPtrTraits<T, U> { - pub _address: u8, - pub _phantom_0: ::std::marker::PhantomData<T>, - pub _phantom_1: ::std::marker::PhantomData<U>, -} -#[repr(C)] #[derive(Debug, Copy)] pub struct nsAutoOwningThread { pub mThread: *mut ::std::os::raw::c_void, @@ -2620,38 +2607,6 @@ pub struct pair<_T1, _T2> { pub type pair_first_type<_T1> = _T1; pub type pair_second_type<_T2> = _T2; #[repr(C)] -#[derive(Debug, Copy)] -pub struct input_iterator_tag { - pub _address: u8, -} -impl Clone for input_iterator_tag { - fn clone(&self) -> Self { *self } -} -#[repr(C)] -#[derive(Debug, Copy)] -pub struct forward_iterator_tag { - pub _address: u8, -} -impl Clone for forward_iterator_tag { - fn clone(&self) -> Self { *self } -} -#[repr(C)] -#[derive(Debug, Copy)] -pub struct bidirectional_iterator_tag { - pub _address: u8, -} -impl Clone for bidirectional_iterator_tag { - fn clone(&self) -> Self { *self } -} -#[repr(C)] -#[derive(Debug, Copy)] -pub struct random_access_iterator_tag { - pub _address: u8, -} -impl Clone for random_access_iterator_tag { - fn clone(&self) -> Self { *self } -} -#[repr(C)] pub struct SourceHook__bindgen_vtable { } /** @@ -5691,14 +5646,6 @@ impl Clone for nsIWeakReference { } pub type nsWeakPtr = nsCOMPtr<nsIWeakReference>; #[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __bit_const_reference<_Cp> { - pub __seg_: __bit_const_reference___storage_pointer<_Cp>, - pub __mask_: __bit_const_reference___storage_type<_Cp>, -} -pub type __bit_const_reference___storage_type<_Cp> = _Cp; -pub type __bit_const_reference___storage_pointer<_Cp> = _Cp; -#[repr(C)] #[derive(Debug, Copy)] pub struct nsIChannel { pub _base: nsIRequest, @@ -6860,63 +6807,63 @@ pub struct DOMPointInit { impl Clone for DOMPointInit { fn clone(&self) -> Self { *self } } -pub const NODE_HAS_LISTENERMANAGER: _bindgen_ty_22 = - _bindgen_ty_22::NODE_HAS_LISTENERMANAGER; -pub const NODE_HAS_PROPERTIES: _bindgen_ty_22 = - _bindgen_ty_22::NODE_HAS_PROPERTIES; -pub const NODE_IS_ANONYMOUS_ROOT: _bindgen_ty_22 = - _bindgen_ty_22::NODE_IS_ANONYMOUS_ROOT; -pub const NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE: _bindgen_ty_22 = - _bindgen_ty_22::NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE; -pub const NODE_IS_NATIVE_ANONYMOUS_ROOT: _bindgen_ty_22 = - _bindgen_ty_22::NODE_IS_NATIVE_ANONYMOUS_ROOT; -pub const NODE_FORCE_XBL_BINDINGS: _bindgen_ty_22 = - _bindgen_ty_22::NODE_FORCE_XBL_BINDINGS; -pub const NODE_MAY_BE_IN_BINDING_MNGR: _bindgen_ty_22 = - _bindgen_ty_22::NODE_MAY_BE_IN_BINDING_MNGR; -pub const NODE_IS_EDITABLE: _bindgen_ty_22 = _bindgen_ty_22::NODE_IS_EDITABLE; -pub const NODE_MAY_HAVE_CLASS: _bindgen_ty_22 = - _bindgen_ty_22::NODE_MAY_HAVE_CLASS; -pub const NODE_IS_IN_SHADOW_TREE: _bindgen_ty_22 = - _bindgen_ty_22::NODE_IS_IN_SHADOW_TREE; -pub const NODE_HAS_EMPTY_SELECTOR: _bindgen_ty_22 = - _bindgen_ty_22::NODE_HAS_EMPTY_SELECTOR; -pub const NODE_HAS_SLOW_SELECTOR: _bindgen_ty_22 = - _bindgen_ty_22::NODE_HAS_SLOW_SELECTOR; -pub const NODE_HAS_EDGE_CHILD_SELECTOR: _bindgen_ty_22 = - _bindgen_ty_22::NODE_HAS_EDGE_CHILD_SELECTOR; -pub const NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS: _bindgen_ty_22 = - _bindgen_ty_22::NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS; -pub const NODE_ALL_SELECTOR_FLAGS: _bindgen_ty_22 = - _bindgen_ty_22::NODE_ALL_SELECTOR_FLAGS; -pub const NODE_NEEDS_FRAME: _bindgen_ty_22 = _bindgen_ty_22::NODE_NEEDS_FRAME; -pub const NODE_DESCENDANTS_NEED_FRAMES: _bindgen_ty_22 = - _bindgen_ty_22::NODE_DESCENDANTS_NEED_FRAMES; -pub const NODE_HAS_ACCESSKEY: _bindgen_ty_22 = - _bindgen_ty_22::NODE_HAS_ACCESSKEY; -pub const NODE_HAS_DIRECTION_RTL: _bindgen_ty_22 = - _bindgen_ty_22::NODE_HAS_DIRECTION_RTL; -pub const NODE_HAS_DIRECTION_LTR: _bindgen_ty_22 = - _bindgen_ty_22::NODE_HAS_DIRECTION_LTR; -pub const NODE_ALL_DIRECTION_FLAGS: _bindgen_ty_22 = - _bindgen_ty_22::NODE_ALL_DIRECTION_FLAGS; -pub const NODE_CHROME_ONLY_ACCESS: _bindgen_ty_22 = - _bindgen_ty_22::NODE_CHROME_ONLY_ACCESS; -pub const NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS: _bindgen_ty_22 = - _bindgen_ty_22::NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS; -pub const NODE_SHARED_RESTYLE_BIT_1: _bindgen_ty_22 = - _bindgen_ty_22::NODE_SHARED_RESTYLE_BIT_1; -pub const NODE_SHARED_RESTYLE_BIT_2: _bindgen_ty_22 = - _bindgen_ty_22::NODE_SHARED_RESTYLE_BIT_2; -pub const NODE_IS_DIRTY_FOR_SERVO: _bindgen_ty_22 = - _bindgen_ty_22::NODE_SHARED_RESTYLE_BIT_1; -pub const NODE_HAS_DIRTY_DESCENDANTS_FOR_SERVO: _bindgen_ty_22 = - _bindgen_ty_22::NODE_SHARED_RESTYLE_BIT_2; -pub const NODE_TYPE_SPECIFIC_BITS_OFFSET: _bindgen_ty_22 = - _bindgen_ty_22::NODE_TYPE_SPECIFIC_BITS_OFFSET; +pub const NODE_HAS_LISTENERMANAGER: _bindgen_ty_61 = + _bindgen_ty_61::NODE_HAS_LISTENERMANAGER; +pub const NODE_HAS_PROPERTIES: _bindgen_ty_61 = + _bindgen_ty_61::NODE_HAS_PROPERTIES; +pub const NODE_IS_ANONYMOUS_ROOT: _bindgen_ty_61 = + _bindgen_ty_61::NODE_IS_ANONYMOUS_ROOT; +pub const NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE: _bindgen_ty_61 = + _bindgen_ty_61::NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE; +pub const NODE_IS_NATIVE_ANONYMOUS_ROOT: _bindgen_ty_61 = + _bindgen_ty_61::NODE_IS_NATIVE_ANONYMOUS_ROOT; +pub const NODE_FORCE_XBL_BINDINGS: _bindgen_ty_61 = + _bindgen_ty_61::NODE_FORCE_XBL_BINDINGS; +pub const NODE_MAY_BE_IN_BINDING_MNGR: _bindgen_ty_61 = + _bindgen_ty_61::NODE_MAY_BE_IN_BINDING_MNGR; +pub const NODE_IS_EDITABLE: _bindgen_ty_61 = _bindgen_ty_61::NODE_IS_EDITABLE; +pub const NODE_MAY_HAVE_CLASS: _bindgen_ty_61 = + _bindgen_ty_61::NODE_MAY_HAVE_CLASS; +pub const NODE_IS_IN_SHADOW_TREE: _bindgen_ty_61 = + _bindgen_ty_61::NODE_IS_IN_SHADOW_TREE; +pub const NODE_HAS_EMPTY_SELECTOR: _bindgen_ty_61 = + _bindgen_ty_61::NODE_HAS_EMPTY_SELECTOR; +pub const NODE_HAS_SLOW_SELECTOR: _bindgen_ty_61 = + _bindgen_ty_61::NODE_HAS_SLOW_SELECTOR; +pub const NODE_HAS_EDGE_CHILD_SELECTOR: _bindgen_ty_61 = + _bindgen_ty_61::NODE_HAS_EDGE_CHILD_SELECTOR; +pub const NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS: _bindgen_ty_61 = + _bindgen_ty_61::NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS; +pub const NODE_ALL_SELECTOR_FLAGS: _bindgen_ty_61 = + _bindgen_ty_61::NODE_ALL_SELECTOR_FLAGS; +pub const NODE_NEEDS_FRAME: _bindgen_ty_61 = _bindgen_ty_61::NODE_NEEDS_FRAME; +pub const NODE_DESCENDANTS_NEED_FRAMES: _bindgen_ty_61 = + _bindgen_ty_61::NODE_DESCENDANTS_NEED_FRAMES; +pub const NODE_HAS_ACCESSKEY: _bindgen_ty_61 = + _bindgen_ty_61::NODE_HAS_ACCESSKEY; +pub const NODE_HAS_DIRECTION_RTL: _bindgen_ty_61 = + _bindgen_ty_61::NODE_HAS_DIRECTION_RTL; +pub const NODE_HAS_DIRECTION_LTR: _bindgen_ty_61 = + _bindgen_ty_61::NODE_HAS_DIRECTION_LTR; +pub const NODE_ALL_DIRECTION_FLAGS: _bindgen_ty_61 = + _bindgen_ty_61::NODE_ALL_DIRECTION_FLAGS; +pub const NODE_CHROME_ONLY_ACCESS: _bindgen_ty_61 = + _bindgen_ty_61::NODE_CHROME_ONLY_ACCESS; +pub const NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS: _bindgen_ty_61 = + _bindgen_ty_61::NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS; +pub const NODE_SHARED_RESTYLE_BIT_1: _bindgen_ty_61 = + _bindgen_ty_61::NODE_SHARED_RESTYLE_BIT_1; +pub const NODE_SHARED_RESTYLE_BIT_2: _bindgen_ty_61 = + _bindgen_ty_61::NODE_SHARED_RESTYLE_BIT_2; +pub const NODE_IS_DIRTY_FOR_SERVO: _bindgen_ty_61 = + _bindgen_ty_61::NODE_SHARED_RESTYLE_BIT_1; +pub const NODE_HAS_DIRTY_DESCENDANTS_FOR_SERVO: _bindgen_ty_61 = + _bindgen_ty_61::NODE_SHARED_RESTYLE_BIT_2; +pub const NODE_TYPE_SPECIFIC_BITS_OFFSET: _bindgen_ty_61 = + _bindgen_ty_61::NODE_TYPE_SPECIFIC_BITS_OFFSET; #[repr(u32)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] -pub enum _bindgen_ty_22 { +pub enum _bindgen_ty_61 { NODE_HAS_LISTENERMANAGER = 4, NODE_HAS_PROPERTIES = 8, NODE_IS_ANONYMOUS_ROOT = 16, @@ -8312,21 +8259,21 @@ pub enum nsStyleUnit { } #[repr(C)] #[derive(Debug, Copy)] -pub struct _bindgen_ty_10 { +pub struct _bindgen_ty_25 { pub mInt: __BindgenUnionField<i32>, pub mFloat: __BindgenUnionField<f32>, pub mPointer: __BindgenUnionField<*mut ::std::os::raw::c_void>, pub bindgen_union_field: u64, } #[test] -fn bindgen_test_layout__bindgen_ty_10() { - assert_eq!(::std::mem::size_of::<_bindgen_ty_10>() , 8usize); - assert_eq!(::std::mem::align_of::<_bindgen_ty_10>() , 8usize); +fn bindgen_test_layout__bindgen_ty_25() { + assert_eq!(::std::mem::size_of::<_bindgen_ty_25>() , 8usize); + assert_eq!(::std::mem::align_of::<_bindgen_ty_25>() , 8usize); } -impl Clone for _bindgen_ty_10 { +impl Clone for _bindgen_ty_25 { fn clone(&self) -> Self { *self } } -pub type nsStyleUnion = _bindgen_ty_10; +pub type nsStyleUnion = _bindgen_ty_25; /** * Class that hold a single size specification used by the style * system. The size specification consists of two parts -- a number @@ -10157,18 +10104,12 @@ fn bindgen_test_layout_nsStyleGradient() { * RequestDiscard() are made to the imgRequestProxy and ImageTracker as * appropriate, according to the mode flags passed in to the constructor. * - * The main thread constructor takes a pointer to the already-created - * imgRequestProxy, and the css::ImageValue that was used while creating it. - * The ImageValue object is only used to grab the URL details to store - * into mBaseURI and mURIString. - * - * The off-main-thread constructor creates a new css::ImageValue to - * hold all the data required to resolve the imgRequestProxy later. This - * constructor also stores the URL details into mbaseURI and mURIString. - * The ImageValue is held on to in mImageTracker until the Resolve call. - * - * We use mBaseURI and mURIString so that we can perform nsStyleImageRequest - * equality comparisons without needing an imgRequestProxy. + * The main thread constructor takes a pointer to the css::ImageValue that + * is the specified url() value, while the off-main-thread constructor + * creates a new css::ImageValue to represent the url() information passed + * to the constructor. This ImageValue is held on to for the comparisons done + * in DefinitelyEquals(), so that we don't need to call into the non-OMT-safe + * Equals() on the nsIURI objects returned from imgRequestProxy::GetURI(). */ #[repr(C)] #[derive(Debug)] @@ -10177,18 +10118,16 @@ pub struct nsStyleImageRequest { pub mRequestProxy: RefPtr<imgRequestProxy>, pub mImageValue: RefPtr<ImageValue>, pub mImageTracker: RefPtr<ImageTracker>, - pub mBaseURI: nsMainThreadPtrHandle<nsIURI>, - pub mURIString: RefPtr<nsStringBuffer>, pub mModeFlags: nsStyleImageRequest_Mode, pub mResolved: bool, } #[repr(u8)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] -pub enum nsStyleImageRequest_Mode { Track = 1, Lock = 2, Discard = 4, } +pub enum nsStyleImageRequest_Mode { Track = 1, Discard = 2, } pub type nsStyleImageRequest_HasThreadSafeRefCnt = TrueType; #[test] fn bindgen_test_layout_nsStyleImageRequest() { - assert_eq!(::std::mem::size_of::<nsStyleImageRequest>() , 56usize); + assert_eq!(::std::mem::size_of::<nsStyleImageRequest>() , 40usize); assert_eq!(::std::mem::align_of::<nsStyleImageRequest>() , 8usize); } #[repr(u32)] diff --git a/components/style/gecko_string_cache/atom_macro.rs b/components/style/gecko_string_cache/atom_macro.rs index 661fcd7ebe5..17573c16679 100644 --- a/components/style/gecko_string_cache/atom_macro.rs +++ b/components/style/gecko_string_cache/atom_macro.rs @@ -796,6 +796,8 @@ cfg_if! { pub static nsGkAtoms_fullscreenerror: *mut nsIAtom; #[link_name = "_ZN9nsGkAtoms17functionAvailableE"] pub static nsGkAtoms_functionAvailable: *mut nsIAtom; + #[link_name = "_ZN9nsGkAtoms12freshProcessE"] + pub static nsGkAtoms_freshProcess: *mut nsIAtom; #[link_name = "_ZN9nsGkAtoms10generateIdE"] pub static nsGkAtoms_generateId: *mut nsIAtom; #[link_name = "_ZN9nsGkAtoms6getterE"] @@ -1544,6 +1546,10 @@ cfg_if! { pub static nsGkAtoms_onfinish: *mut nsIAtom; #[link_name = "_ZN9nsGkAtoms7onfocusE"] pub static nsGkAtoms_onfocus: *mut nsIAtom; + #[link_name = "_ZN9nsGkAtoms9onfocusinE"] + pub static nsGkAtoms_onfocusin: *mut nsIAtom; + #[link_name = "_ZN9nsGkAtoms10onfocusoutE"] + pub static nsGkAtoms_onfocusout: *mut nsIAtom; #[link_name = "_ZN9nsGkAtoms17onfrequencychangeE"] pub static nsGkAtoms_onfrequencychange: *mut nsIAtom; #[link_name = "_ZN9nsGkAtoms18onfullscreenchangeE"] @@ -5709,6 +5715,8 @@ cfg_if! { pub static nsGkAtoms_fullscreenerror: *mut nsIAtom; #[link_name = "?functionAvailable@nsGkAtoms@@2PEAVnsIAtom@@EA"] pub static nsGkAtoms_functionAvailable: *mut nsIAtom; + #[link_name = "?freshProcess@nsGkAtoms@@2PEAVnsIAtom@@EA"] + pub static nsGkAtoms_freshProcess: *mut nsIAtom; #[link_name = "?generateId@nsGkAtoms@@2PEAVnsIAtom@@EA"] pub static nsGkAtoms_generateId: *mut nsIAtom; #[link_name = "?getter@nsGkAtoms@@2PEAVnsIAtom@@EA"] @@ -6457,6 +6465,10 @@ cfg_if! { pub static nsGkAtoms_onfinish: *mut nsIAtom; #[link_name = "?onfocus@nsGkAtoms@@2PEAVnsIAtom@@EA"] pub static nsGkAtoms_onfocus: *mut nsIAtom; + #[link_name = "?onfocusin@nsGkAtoms@@2PEAVnsIAtom@@EA"] + pub static nsGkAtoms_onfocusin: *mut nsIAtom; + #[link_name = "?onfocusout@nsGkAtoms@@2PEAVnsIAtom@@EA"] + pub static nsGkAtoms_onfocusout: *mut nsIAtom; #[link_name = "?onfrequencychange@nsGkAtoms@@2PEAVnsIAtom@@EA"] pub static nsGkAtoms_onfrequencychange: *mut nsIAtom; #[link_name = "?onfullscreenchange@nsGkAtoms@@2PEAVnsIAtom@@EA"] @@ -10622,6 +10634,8 @@ cfg_if! { pub static nsGkAtoms_fullscreenerror: *mut nsIAtom; #[link_name = "\x01?functionAvailable@nsGkAtoms@@2PAVnsIAtom@@A"] pub static nsGkAtoms_functionAvailable: *mut nsIAtom; + #[link_name = "\x01?freshProcess@nsGkAtoms@@2PAVnsIAtom@@A"] + pub static nsGkAtoms_freshProcess: *mut nsIAtom; #[link_name = "\x01?generateId@nsGkAtoms@@2PAVnsIAtom@@A"] pub static nsGkAtoms_generateId: *mut nsIAtom; #[link_name = "\x01?getter@nsGkAtoms@@2PAVnsIAtom@@A"] @@ -11370,6 +11384,10 @@ cfg_if! { pub static nsGkAtoms_onfinish: *mut nsIAtom; #[link_name = "\x01?onfocus@nsGkAtoms@@2PAVnsIAtom@@A"] pub static nsGkAtoms_onfocus: *mut nsIAtom; + #[link_name = "\x01?onfocusin@nsGkAtoms@@2PAVnsIAtom@@A"] + pub static nsGkAtoms_onfocusin: *mut nsIAtom; + #[link_name = "\x01?onfocusout@nsGkAtoms@@2PAVnsIAtom@@A"] + pub static nsGkAtoms_onfocusout: *mut nsIAtom; #[link_name = "\x01?onfrequencychange@nsGkAtoms@@2PAVnsIAtom@@A"] pub static nsGkAtoms_onfrequencychange: *mut nsIAtom; #[link_name = "\x01?onfullscreenchange@nsGkAtoms@@2PAVnsIAtom@@A"] @@ -15538,6 +15556,8 @@ macro_rules! atom { { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fullscreenerror as *mut _) } }; ("function-available") => { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_functionAvailable as *mut _) } }; +("freshProcess") => + { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_freshProcess as *mut _) } }; ("generate-id") => { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_generateId as *mut _) } }; ("getter") => @@ -16286,6 +16306,10 @@ macro_rules! atom { { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onfinish as *mut _) } }; ("onfocus") => { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onfocus as *mut _) } }; +("onfocusin") => + { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onfocusin as *mut _) } }; +("onfocusout") => + { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onfocusout as *mut _) } }; ("onfrequencychange") => { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onfrequencychange as *mut _) } }; ("onfullscreenchange") => |