diff --git a/components/style/gecko_bindings/bindings.rs b/components/style/gecko_bindings/bindings.rs index bac6ff5f5495..efc3b66b69cd 100644 --- a/components/style/gecko_bindings/bindings.rs +++ b/components/style/gecko_bindings/bindings.rs @@ -1010,6 +1010,10 @@ extern "C" { reference: RawServoStyleSheetBorrowed); } +extern "C" { + pub fn Servo_StyleSet_NoteStyleSheetsChanged(set: + RawServoStyleSetBorrowed); +} extern "C" { pub fn Servo_CssRules_ListTypes(rules: ServoCssRulesBorrowed, result: nsTArrayBorrowed_uintptr_t); diff --git a/components/style/gecko_bindings/structs_debug.rs b/components/style/gecko_bindings/structs_debug.rs index eba1d7a5b5cb..1b376642ffd9 100644 --- a/components/style/gecko_bindings/structs_debug.rs +++ b/components/style/gecko_bindings/structs_debug.rs @@ -1614,6 +1614,14 @@ pub mod root { } #[repr(C)] #[derive(Debug, Copy)] + pub struct TimeoutManager { + pub _address: u8, + } + impl Clone for TimeoutManager { + fn clone(&self) -> Self { *self } + } + #[repr(C)] + #[derive(Debug, Copy)] pub struct PrefSetting { pub _address: u8, } @@ -3740,6 +3748,12 @@ pub mod root { NS_ERROR_DOM_MEDIA_CDM_ERR = 2154692621, NS_ERROR_DOM_MEDIA_NEED_NEW_DECODER = 2154692622, NS_ERROR_DOM_MEDIA_CUBEB_INITIALIZATION_ERR = 2154692709, + NS_ERROR_UC_UPDATE_UNKNOWN = 2154758145, + NS_ERROR_UC_UPDATE_DUPLICATE_PREFIX = 2154758146, + NS_ERROR_UC_UPDATE_INFINITE_LOOP = 2154758147, + NS_ERROR_UC_UPDATE_WRONG_REMOVAL_INDICES = 2154758148, + NS_ERROR_UC_UPDATE_CHECKSUM_MISMATCH = 2154758149, + NS_ERROR_UC_UPDATE_MISSING_CHECKSUM = 2154758150, NS_ERROR_DOWNLOAD_COMPLETE = 2155347969, NS_ERROR_DOWNLOAD_NOT_PARTIAL = 2155347970, NS_ERROR_UNORM_MOREOUTPUT = 2155348001, @@ -3871,6 +3885,7 @@ pub mod root { pub struct Heap { pub ptr: T, } + pub type Heap_ElementType = T; /** * The TenuredHeap class is similar to the Heap class above in that it * encapsulates the GC concerns of an on-heap reference to a JS object. However, @@ -3906,9 +3921,10 @@ pub mod root { pub bits: usize, pub _phantom_0: ::std::marker::PhantomData, } + pub type TenuredHeap_ElementType = T; pub const TenuredHeap_maskBits: root::JS::TenuredHeap__bindgen_ty_1 = TenuredHeap__bindgen_ty_1::maskBits; - pub const flagsMask: root::JS::TenuredHeap__bindgen_ty_1 = + pub const TenuredHeap_flagsMask: root::JS::TenuredHeap__bindgen_ty_1 = TenuredHeap__bindgen_ty_1::maskBits; #[repr(i32)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] @@ -8223,9 +8239,9 @@ pub mod root { nsIPresShell__bindgen_ty_1::SCROLL_TOP; pub const nsIPresShell_SCROLL_BOTTOM: root::nsIPresShell__bindgen_ty_1 = nsIPresShell__bindgen_ty_1::SCROLL_BOTTOM; - pub const SCROLL_LEFT: root::nsIPresShell__bindgen_ty_1 = + pub const nsIPresShell_SCROLL_LEFT: root::nsIPresShell__bindgen_ty_1 = nsIPresShell__bindgen_ty_1::SCROLL_TOP; - pub const SCROLL_RIGHT: root::nsIPresShell__bindgen_ty_1 = + pub const nsIPresShell_SCROLL_RIGHT: root::nsIPresShell__bindgen_ty_1 = nsIPresShell__bindgen_ty_1::SCROLL_BOTTOM; pub const nsIPresShell_SCROLL_CENTER: root::nsIPresShell__bindgen_ty_1 = nsIPresShell__bindgen_ty_1::SCROLL_CENTER; @@ -10764,8 +10780,8 @@ pub mod root { eCSSProperty_mask_repeat = 181, eCSSProperty_mask_size = 182, eCSSProperty_mask_type = 183, - eCSSProperty_math_display = 184, - eCSSProperty_math_variant = 185, + eCSSProperty__moz_math_display = 184, + eCSSProperty__moz_math_variant = 185, eCSSProperty_max_block_size = 186, eCSSProperty_max_height = 187, eCSSProperty_max_inline_size = 188, @@ -10818,9 +10834,9 @@ pub mod root { eCSSProperty_right = 235, eCSSProperty_ruby_align = 236, eCSSProperty_ruby_position = 237, - eCSSProperty_script_level = 238, - eCSSProperty_script_min_size = 239, - eCSSProperty_script_size_multiplier = 240, + eCSSProperty__moz_script_level = 238, + eCSSProperty__moz_script_min_size = 239, + eCSSProperty__moz_script_size_multiplier = 240, eCSSProperty_scroll_behavior = 241, eCSSProperty_scroll_snap_coordinate = 242, eCSSProperty_scroll_snap_destination = 243, @@ -13067,133 +13083,140 @@ pub mod root { } #[test] fn __bindgen_test_layout_template_17() { + assert_eq!(::std::mem::size_of::>() + , 1usize); + assert_eq!(::std::mem::align_of::>() + , 1usize); + } + #[test] + fn __bindgen_test_layout_template_18() { assert_eq!(::std::mem::size_of::>() , 8usize); assert_eq!(::std::mem::align_of::>() , 8usize); } #[test] - fn __bindgen_test_layout_template_18() { + fn __bindgen_test_layout_template_19() { assert_eq!(::std::mem::size_of::>>() , 8usize); assert_eq!(::std::mem::align_of::>>() , 8usize); } #[test] - fn __bindgen_test_layout_template_19() { + fn __bindgen_test_layout_template_20() { assert_eq!(::std::mem::size_of::>() , 8usize); assert_eq!(::std::mem::align_of::>() , 8usize); } #[test] - fn __bindgen_test_layout_template_20() { + fn __bindgen_test_layout_template_21() { assert_eq!(::std::mem::size_of::>() , 8usize); assert_eq!(::std::mem::align_of::>() , 8usize); } #[test] - fn __bindgen_test_layout_template_21() { + fn __bindgen_test_layout_template_22() { assert_eq!(::std::mem::size_of::>() , 8usize); assert_eq!(::std::mem::align_of::>() , 8usize); } #[test] - fn __bindgen_test_layout_template_22() { + fn __bindgen_test_layout_template_23() { assert_eq!(::std::mem::size_of::>() , 8usize); assert_eq!(::std::mem::align_of::>() , 8usize); } #[test] - fn __bindgen_test_layout_template_23() { + fn __bindgen_test_layout_template_24() { assert_eq!(::std::mem::size_of::>() , 8usize); assert_eq!(::std::mem::align_of::>() , 8usize); } #[test] - fn __bindgen_test_layout_template_24() { + fn __bindgen_test_layout_template_25() { assert_eq!(::std::mem::size_of::>() , 16usize); assert_eq!(::std::mem::align_of::>() , 8usize); } #[test] - fn __bindgen_test_layout_template_25() { + fn __bindgen_test_layout_template_26() { assert_eq!(::std::mem::size_of::>() , 8usize); assert_eq!(::std::mem::align_of::>() , 8usize); } #[test] - fn __bindgen_test_layout_template_26() { + fn __bindgen_test_layout_template_27() { assert_eq!(::std::mem::size_of::>() , 8usize); assert_eq!(::std::mem::align_of::>() , 8usize); } #[test] - fn __bindgen_test_layout_template_27() { + fn __bindgen_test_layout_template_28() { assert_eq!(::std::mem::size_of::>>() , 8usize); assert_eq!(::std::mem::align_of::>>() , 8usize); } #[test] - fn __bindgen_test_layout_template_28() { + fn __bindgen_test_layout_template_29() { + assert_eq!(::std::mem::size_of::>() + , 24usize); + assert_eq!(::std::mem::align_of::>() + , 8usize); + } + #[test] + fn __bindgen_test_layout_template_30() { + assert_eq!(::std::mem::size_of::>() + , 24usize); + assert_eq!(::std::mem::align_of::>() + , 8usize); + } + #[test] + fn __bindgen_test_layout_template_31() { assert_eq!(::std::mem::size_of::>() , 8usize); assert_eq!(::std::mem::align_of::>() , 8usize); } #[test] - fn __bindgen_test_layout_template_29() { + fn __bindgen_test_layout_template_32() { assert_eq!(::std::mem::size_of::>() , 8usize); assert_eq!(::std::mem::align_of::>() , 8usize); } #[test] - fn __bindgen_test_layout_template_30() { + fn __bindgen_test_layout_template_33() { assert_eq!(::std::mem::size_of::>() , 1usize); assert_eq!(::std::mem::align_of::>() , 1usize); } #[test] - fn __bindgen_test_layout_template_31() { + fn __bindgen_test_layout_template_34() { assert_eq!(::std::mem::size_of::>() , 1usize); assert_eq!(::std::mem::align_of::>() , 1usize); } #[test] - fn __bindgen_test_layout_template_32() { + fn __bindgen_test_layout_template_35() { assert_eq!(::std::mem::size_of::>() , 1usize); assert_eq!(::std::mem::align_of::>() , 1usize); } #[test] - fn __bindgen_test_layout_template_33() { + fn __bindgen_test_layout_template_36() { assert_eq!(::std::mem::size_of::>() , 32usize); assert_eq!(::std::mem::align_of::>() , 8usize); } - #[test] - fn __bindgen_test_layout_template_34() { - assert_eq!(::std::mem::size_of::>() - , 24usize); - assert_eq!(::std::mem::align_of::>() - , 8usize); - } - #[test] - fn __bindgen_test_layout_template_35() { - assert_eq!(::std::mem::size_of::>() - , 24usize); - assert_eq!(::std::mem::align_of::>() - , 8usize); - } } diff --git a/components/style/gecko_bindings/structs_release.rs b/components/style/gecko_bindings/structs_release.rs index 5b21becc01b4..b4b461528054 100644 --- a/components/style/gecko_bindings/structs_release.rs +++ b/components/style/gecko_bindings/structs_release.rs @@ -1607,6 +1607,14 @@ pub mod root { } #[repr(C)] #[derive(Debug, Copy)] + pub struct TimeoutManager { + pub _address: u8, + } + impl Clone for TimeoutManager { + fn clone(&self) -> Self { *self } + } + #[repr(C)] + #[derive(Debug, Copy)] pub struct PrefSetting { pub _address: u8, } @@ -3722,6 +3730,12 @@ pub mod root { NS_ERROR_DOM_MEDIA_CDM_ERR = 2154692621, NS_ERROR_DOM_MEDIA_NEED_NEW_DECODER = 2154692622, NS_ERROR_DOM_MEDIA_CUBEB_INITIALIZATION_ERR = 2154692709, + NS_ERROR_UC_UPDATE_UNKNOWN = 2154758145, + NS_ERROR_UC_UPDATE_DUPLICATE_PREFIX = 2154758146, + NS_ERROR_UC_UPDATE_INFINITE_LOOP = 2154758147, + NS_ERROR_UC_UPDATE_WRONG_REMOVAL_INDICES = 2154758148, + NS_ERROR_UC_UPDATE_CHECKSUM_MISMATCH = 2154758149, + NS_ERROR_UC_UPDATE_MISSING_CHECKSUM = 2154758150, NS_ERROR_DOWNLOAD_COMPLETE = 2155347969, NS_ERROR_DOWNLOAD_NOT_PARTIAL = 2155347970, NS_ERROR_UNORM_MOREOUTPUT = 2155348001, @@ -3853,6 +3867,7 @@ pub mod root { pub struct Heap { pub ptr: T, } + pub type Heap_ElementType = T; /** * The TenuredHeap class is similar to the Heap class above in that it * encapsulates the GC concerns of an on-heap reference to a JS object. However, @@ -3888,9 +3903,10 @@ pub mod root { pub bits: usize, pub _phantom_0: ::std::marker::PhantomData, } + pub type TenuredHeap_ElementType = T; pub const TenuredHeap_maskBits: root::JS::TenuredHeap__bindgen_ty_1 = TenuredHeap__bindgen_ty_1::maskBits; - pub const flagsMask: root::JS::TenuredHeap__bindgen_ty_1 = + pub const TenuredHeap_flagsMask: root::JS::TenuredHeap__bindgen_ty_1 = TenuredHeap__bindgen_ty_1::maskBits; #[repr(i32)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] @@ -8161,9 +8177,9 @@ pub mod root { nsIPresShell__bindgen_ty_1::SCROLL_TOP; pub const nsIPresShell_SCROLL_BOTTOM: root::nsIPresShell__bindgen_ty_1 = nsIPresShell__bindgen_ty_1::SCROLL_BOTTOM; - pub const SCROLL_LEFT: root::nsIPresShell__bindgen_ty_1 = + pub const nsIPresShell_SCROLL_LEFT: root::nsIPresShell__bindgen_ty_1 = nsIPresShell__bindgen_ty_1::SCROLL_TOP; - pub const SCROLL_RIGHT: root::nsIPresShell__bindgen_ty_1 = + pub const nsIPresShell_SCROLL_RIGHT: root::nsIPresShell__bindgen_ty_1 = nsIPresShell__bindgen_ty_1::SCROLL_BOTTOM; pub const nsIPresShell_SCROLL_CENTER: root::nsIPresShell__bindgen_ty_1 = nsIPresShell__bindgen_ty_1::SCROLL_CENTER; @@ -10700,8 +10716,8 @@ pub mod root { eCSSProperty_mask_repeat = 181, eCSSProperty_mask_size = 182, eCSSProperty_mask_type = 183, - eCSSProperty_math_display = 184, - eCSSProperty_math_variant = 185, + eCSSProperty__moz_math_display = 184, + eCSSProperty__moz_math_variant = 185, eCSSProperty_max_block_size = 186, eCSSProperty_max_height = 187, eCSSProperty_max_inline_size = 188, @@ -10754,9 +10770,9 @@ pub mod root { eCSSProperty_right = 235, eCSSProperty_ruby_align = 236, eCSSProperty_ruby_position = 237, - eCSSProperty_script_level = 238, - eCSSProperty_script_min_size = 239, - eCSSProperty_script_size_multiplier = 240, + eCSSProperty__moz_script_level = 238, + eCSSProperty__moz_script_min_size = 239, + eCSSProperty__moz_script_size_multiplier = 240, eCSSProperty_scroll_behavior = 241, eCSSProperty_scroll_snap_coordinate = 242, eCSSProperty_scroll_snap_destination = 243, @@ -12993,133 +13009,140 @@ pub mod root { } #[test] fn __bindgen_test_layout_template_17() { + assert_eq!(::std::mem::size_of::>() + , 1usize); + assert_eq!(::std::mem::align_of::>() + , 1usize); + } + #[test] + fn __bindgen_test_layout_template_18() { assert_eq!(::std::mem::size_of::>() , 8usize); assert_eq!(::std::mem::align_of::>() , 8usize); } #[test] - fn __bindgen_test_layout_template_18() { + fn __bindgen_test_layout_template_19() { assert_eq!(::std::mem::size_of::>>() , 8usize); assert_eq!(::std::mem::align_of::>>() , 8usize); } #[test] - fn __bindgen_test_layout_template_19() { + fn __bindgen_test_layout_template_20() { assert_eq!(::std::mem::size_of::>() , 8usize); assert_eq!(::std::mem::align_of::>() , 8usize); } #[test] - fn __bindgen_test_layout_template_20() { + fn __bindgen_test_layout_template_21() { assert_eq!(::std::mem::size_of::>() , 8usize); assert_eq!(::std::mem::align_of::>() , 8usize); } #[test] - fn __bindgen_test_layout_template_21() { + fn __bindgen_test_layout_template_22() { assert_eq!(::std::mem::size_of::>() , 8usize); assert_eq!(::std::mem::align_of::>() , 8usize); } #[test] - fn __bindgen_test_layout_template_22() { + fn __bindgen_test_layout_template_23() { assert_eq!(::std::mem::size_of::>() , 8usize); assert_eq!(::std::mem::align_of::>() , 8usize); } #[test] - fn __bindgen_test_layout_template_23() { + fn __bindgen_test_layout_template_24() { assert_eq!(::std::mem::size_of::>() , 8usize); assert_eq!(::std::mem::align_of::>() , 8usize); } #[test] - fn __bindgen_test_layout_template_24() { + fn __bindgen_test_layout_template_25() { assert_eq!(::std::mem::size_of::>() , 8usize); assert_eq!(::std::mem::align_of::>() , 8usize); } #[test] - fn __bindgen_test_layout_template_25() { + fn __bindgen_test_layout_template_26() { assert_eq!(::std::mem::size_of::>() , 8usize); assert_eq!(::std::mem::align_of::>() , 8usize); } #[test] - fn __bindgen_test_layout_template_26() { + fn __bindgen_test_layout_template_27() { assert_eq!(::std::mem::size_of::>() , 8usize); assert_eq!(::std::mem::align_of::>() , 8usize); } #[test] - fn __bindgen_test_layout_template_27() { + fn __bindgen_test_layout_template_28() { assert_eq!(::std::mem::size_of::>>() , 8usize); assert_eq!(::std::mem::align_of::>>() , 8usize); } #[test] - fn __bindgen_test_layout_template_28() { + fn __bindgen_test_layout_template_29() { + assert_eq!(::std::mem::size_of::>() + , 24usize); + assert_eq!(::std::mem::align_of::>() + , 8usize); + } + #[test] + fn __bindgen_test_layout_template_30() { + assert_eq!(::std::mem::size_of::>() + , 24usize); + assert_eq!(::std::mem::align_of::>() + , 8usize); + } + #[test] + fn __bindgen_test_layout_template_31() { assert_eq!(::std::mem::size_of::>() , 8usize); assert_eq!(::std::mem::align_of::>() , 8usize); } #[test] - fn __bindgen_test_layout_template_29() { + fn __bindgen_test_layout_template_32() { assert_eq!(::std::mem::size_of::>() , 8usize); assert_eq!(::std::mem::align_of::>() , 8usize); } #[test] - fn __bindgen_test_layout_template_30() { + fn __bindgen_test_layout_template_33() { assert_eq!(::std::mem::size_of::>() , 1usize); assert_eq!(::std::mem::align_of::>() , 1usize); } #[test] - fn __bindgen_test_layout_template_31() { + fn __bindgen_test_layout_template_34() { assert_eq!(::std::mem::size_of::>() , 1usize); assert_eq!(::std::mem::align_of::>() , 1usize); } #[test] - fn __bindgen_test_layout_template_32() { + fn __bindgen_test_layout_template_35() { assert_eq!(::std::mem::size_of::>() , 1usize); assert_eq!(::std::mem::align_of::>() , 1usize); } #[test] - fn __bindgen_test_layout_template_33() { + fn __bindgen_test_layout_template_36() { assert_eq!(::std::mem::size_of::>() , 32usize); assert_eq!(::std::mem::align_of::>() , 8usize); } - #[test] - fn __bindgen_test_layout_template_34() { - assert_eq!(::std::mem::size_of::>() - , 24usize); - assert_eq!(::std::mem::align_of::>() - , 8usize); - } - #[test] - fn __bindgen_test_layout_template_35() { - assert_eq!(::std::mem::size_of::>() - , 24usize); - assert_eq!(::std::mem::align_of::>() - , 8usize); - } }