diff --git a/components/style/gecko/generated/atom_macro.rs b/components/style/gecko/generated/atom_macro.rs index 4b9be1c074e..c8a5b8524c2 100644 --- a/components/style/gecko/generated/atom_macro.rs +++ b/components/style/gecko/generated/atom_macro.rs @@ -268,6 +268,8 @@ cfg_if! { pub static nsGkAtoms_autocheck: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms12autocompleteE"] pub static nsGkAtoms_autocomplete: *mut nsStaticAtom; + #[link_name = "_ZN9nsGkAtoms24autocomplete_richlistboxE"] + pub static nsGkAtoms_autocomplete_richlistbox: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms9autofocusE"] pub static nsGkAtoms_autofocus: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms8autoplayE"] @@ -358,8 +360,6 @@ cfg_if! { pub static nsGkAtoms_browser: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms10mozbrowserE"] pub static nsGkAtoms_mozbrowser: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13bulletinboardE"] - pub static nsGkAtoms_bulletinboard: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms6buttonE"] pub static nsGkAtoms_button: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms24brighttitlebarforegroundE"] @@ -558,6 +558,12 @@ cfg_if! { pub static nsGkAtoms_data: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms8datalistE"] pub static nsGkAtoms_datalist: *mut nsStaticAtom; + #[link_name = "_ZN9nsGkAtoms10datal10nidE"] + pub static nsGkAtoms_datal10nid: *mut nsStaticAtom; + #[link_name = "_ZN9nsGkAtoms12datal10nargsE"] + pub static nsGkAtoms_datal10nargs: *mut nsStaticAtom; + #[link_name = "_ZN9nsGkAtoms13datal10nattrsE"] + pub static nsGkAtoms_datal10nattrs: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms8dataTypeE"] pub static nsGkAtoms_dataType: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms8dateTimeE"] @@ -1232,8 +1238,6 @@ cfg_if! { pub static nsGkAtoms_line: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms4linkE"] pub static nsGkAtoms_link: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4listE"] - pub static nsGkAtoms_list: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms7listboxE"] pub static nsGkAtoms_listbox: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms11listboxbodyE"] @@ -1380,8 +1384,8 @@ cfg_if! { pub static nsGkAtoms_minusSign: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms8minwidthE"] pub static nsGkAtoms_minwidth: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6_mixedE"] - pub static nsGkAtoms__mixed: *mut nsStaticAtom; + #[link_name = "_ZN9nsGkAtoms5mixedE"] + pub static nsGkAtoms_mixed: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms19messagemanagergroupE"] pub static nsGkAtoms_messagemanagergroup: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms3modE"] @@ -1820,6 +1824,8 @@ cfg_if! { pub static nsGkAtoms_onmessage: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms14onmessageerrorE"] pub static nsGkAtoms_onmessageerror: *mut nsStaticAtom; + #[link_name = "_ZN9nsGkAtoms13onmidimessageE"] + pub static nsGkAtoms_onmidimessage: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms11onmousedownE"] pub static nsGkAtoms_onmousedown: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms12onmouseenterE"] @@ -2588,8 +2594,6 @@ cfg_if! { pub static nsGkAtoms_sup: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms7summaryE"] pub static nsGkAtoms_summary: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7_switchE"] - pub static nsGkAtoms__switch: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms14systemPropertyE"] pub static nsGkAtoms_systemProperty: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms3tabE"] @@ -2928,6 +2932,8 @@ cfg_if! { pub static nsGkAtoms_colorInterpolation: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms25colorInterpolationFiltersE"] pub static nsGkAtoms_colorInterpolationFilters: *mut nsStaticAtom; + #[link_name = "_ZN9nsGkAtoms11colorpickerE"] + pub static nsGkAtoms_colorpicker: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms12colorProfileE"] pub static nsGkAtoms_colorProfile: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms6cursorE"] @@ -3280,8 +3286,6 @@ cfg_if! { pub static nsGkAtoms_saturate: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms10saturationE"] pub static nsGkAtoms_saturation: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3setE"] - pub static nsGkAtoms_set: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms4seedE"] pub static nsGkAtoms_seed: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms15shape_renderingE"] @@ -3612,8 +3616,8 @@ cfg_if! { pub static nsGkAtoms_domainofapplication_: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms5edge_E"] pub static nsGkAtoms_edge_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3el_E"] - pub static nsGkAtoms_el_: *mut nsStaticAtom; + #[link_name = "_ZN9nsGkAtoms2elE"] + pub static nsGkAtoms_el: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms9emptyset_E"] pub static nsGkAtoms_emptyset_: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms3eq_E"] @@ -3854,8 +3858,8 @@ cfg_if! { pub static nsGkAtoms_notsubset_: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms9numalign_E"] pub static nsGkAtoms_numalign_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6other_E"] - pub static nsGkAtoms_other_: *mut nsStaticAtom; + #[link_name = "_ZN9nsGkAtoms5otherE"] + pub static nsGkAtoms_other: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms13outerproduct_E"] pub static nsGkAtoms_outerproduct_: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms12partialdiff_E"] @@ -4264,6 +4268,8 @@ cfg_if! { pub static nsGkAtoms_apzCallbackTransform: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms23restylableAnonymousNodeE"] pub static nsGkAtoms_restylableAnonymousNode: *mut nsStaticAtom; + #[link_name = "_ZN9nsGkAtoms30docLevelNativeAnonymousContentE"] + pub static nsGkAtoms_docLevelNativeAnonymousContent: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms16paintRequestTimeE"] pub static nsGkAtoms_paintRequestTime: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms14pseudoPropertyE"] @@ -4332,8 +4338,6 @@ cfg_if! { pub static nsGkAtoms_ba: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms3crhE"] pub static nsGkAtoms_crh: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2elE"] - pub static nsGkAtoms_el: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms2gaE"] pub static nsGkAtoms_ga: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms2nlE"] @@ -4358,8 +4362,6 @@ cfg_if! { pub static nsGkAtoms_monospace: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms8mozfixedE"] pub static nsGkAtoms_mozfixed: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6RemoteE"] - pub static nsGkAtoms_Remote: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms8RemoteIdE"] pub static nsGkAtoms_RemoteId: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms10RemoteTypeE"] @@ -4562,8 +4564,6 @@ cfg_if! { pub static nsGkAtoms_pages: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms10scrollbarsE"] pub static nsGkAtoms_scrollbars: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5otherE"] - pub static nsGkAtoms_other: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms3apzE"] pub static nsGkAtoms_apz: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms7restoreE"] @@ -4654,8 +4654,6 @@ cfg_if! { pub static nsGkAtoms_menuitemcheckbox: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms13menuitemradioE"] pub static nsGkAtoms_menuitemradio: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5mixedE"] - pub static nsGkAtoms_mixed: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms9multilineE"] pub static nsGkAtoms_multiline: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms10navigationE"] @@ -4804,6 +4802,28 @@ cfg_if! { pub static nsGkAtoms_onaddsourcebuffer: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms20onremovesourcebufferE"] pub static nsGkAtoms_onremovesourcebuffer: *mut nsStaticAtom; + #[link_name = "_ZN9nsGkAtoms5aboutE"] + pub static nsGkAtoms_about: *mut nsStaticAtom; + #[link_name = "_ZN9nsGkAtoms2IDE"] + pub static nsGkAtoms_ID: *mut nsStaticAtom; + #[link_name = "_ZN9nsGkAtoms6nodeIDE"] + pub static nsGkAtoms_nodeID: *mut nsStaticAtom; + #[link_name = "_ZN9nsGkAtoms9aboutEachE"] + pub static nsGkAtoms_aboutEach: *mut nsStaticAtom; + #[link_name = "_ZN9nsGkAtoms8resourceE"] + pub static nsGkAtoms_resource: *mut nsStaticAtom; + #[link_name = "_ZN9nsGkAtoms3RDFE"] + pub static nsGkAtoms_RDF: *mut nsStaticAtom; + #[link_name = "_ZN9nsGkAtoms11DescriptionE"] + pub static nsGkAtoms_Description: *mut nsStaticAtom; + #[link_name = "_ZN9nsGkAtoms3BagE"] + pub static nsGkAtoms_Bag: *mut nsStaticAtom; + #[link_name = "_ZN9nsGkAtoms3SeqE"] + pub static nsGkAtoms_Seq: *mut nsStaticAtom; + #[link_name = "_ZN9nsGkAtoms3AltE"] + pub static nsGkAtoms_Alt: *mut nsStaticAtom; + #[link_name = "_ZN9nsGkAtoms9parseTypeE"] + pub static nsGkAtoms_parseType: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms5xlinkE"] pub static nsGkAtoms_xlink: *mut nsStaticAtom; #[link_name = "_ZN9nsGkAtoms9xml_spaceE"] @@ -5473,6 +5493,8 @@ cfg_if! { pub static nsGkAtoms_autocheck: *mut nsStaticAtom; #[link_name = "?autocomplete@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] pub static nsGkAtoms_autocomplete: *mut nsStaticAtom; + #[link_name = "?autocomplete_richlistbox@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] + pub static nsGkAtoms_autocomplete_richlistbox: *mut nsStaticAtom; #[link_name = "?autofocus@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] pub static nsGkAtoms_autofocus: *mut nsStaticAtom; #[link_name = "?autoplay@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] @@ -5563,8 +5585,6 @@ cfg_if! { pub static nsGkAtoms_browser: *mut nsStaticAtom; #[link_name = "?mozbrowser@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] pub static nsGkAtoms_mozbrowser: *mut nsStaticAtom; - #[link_name = "?bulletinboard@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_bulletinboard: *mut nsStaticAtom; #[link_name = "?button@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] pub static nsGkAtoms_button: *mut nsStaticAtom; #[link_name = "?brighttitlebarforeground@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] @@ -5763,6 +5783,12 @@ cfg_if! { pub static nsGkAtoms_data: *mut nsStaticAtom; #[link_name = "?datalist@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] pub static nsGkAtoms_datalist: *mut nsStaticAtom; + #[link_name = "?datal10nid@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] + pub static nsGkAtoms_datal10nid: *mut nsStaticAtom; + #[link_name = "?datal10nargs@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] + pub static nsGkAtoms_datal10nargs: *mut nsStaticAtom; + #[link_name = "?datal10nattrs@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] + pub static nsGkAtoms_datal10nattrs: *mut nsStaticAtom; #[link_name = "?dataType@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] pub static nsGkAtoms_dataType: *mut nsStaticAtom; #[link_name = "?dateTime@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] @@ -6437,8 +6463,6 @@ cfg_if! { pub static nsGkAtoms_line: *mut nsStaticAtom; #[link_name = "?link@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] pub static nsGkAtoms_link: *mut nsStaticAtom; - #[link_name = "?list@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_list: *mut nsStaticAtom; #[link_name = "?listbox@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] pub static nsGkAtoms_listbox: *mut nsStaticAtom; #[link_name = "?listboxbody@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] @@ -6585,8 +6609,8 @@ cfg_if! { pub static nsGkAtoms_minusSign: *mut nsStaticAtom; #[link_name = "?minwidth@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] pub static nsGkAtoms_minwidth: *mut nsStaticAtom; - #[link_name = "?_mixed@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__mixed: *mut nsStaticAtom; + #[link_name = "?mixed@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] + pub static nsGkAtoms_mixed: *mut nsStaticAtom; #[link_name = "?messagemanagergroup@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] pub static nsGkAtoms_messagemanagergroup: *mut nsStaticAtom; #[link_name = "?mod@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] @@ -7025,6 +7049,8 @@ cfg_if! { pub static nsGkAtoms_onmessage: *mut nsStaticAtom; #[link_name = "?onmessageerror@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] pub static nsGkAtoms_onmessageerror: *mut nsStaticAtom; + #[link_name = "?onmidimessage@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] + pub static nsGkAtoms_onmidimessage: *mut nsStaticAtom; #[link_name = "?onmousedown@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] pub static nsGkAtoms_onmousedown: *mut nsStaticAtom; #[link_name = "?onmouseenter@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] @@ -7793,8 +7819,6 @@ cfg_if! { pub static nsGkAtoms_sup: *mut nsStaticAtom; #[link_name = "?summary@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] pub static nsGkAtoms_summary: *mut nsStaticAtom; - #[link_name = "?_switch@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__switch: *mut nsStaticAtom; #[link_name = "?systemProperty@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] pub static nsGkAtoms_systemProperty: *mut nsStaticAtom; #[link_name = "?tab@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] @@ -8133,6 +8157,8 @@ cfg_if! { pub static nsGkAtoms_colorInterpolation: *mut nsStaticAtom; #[link_name = "?colorInterpolationFilters@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] pub static nsGkAtoms_colorInterpolationFilters: *mut nsStaticAtom; + #[link_name = "?colorpicker@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] + pub static nsGkAtoms_colorpicker: *mut nsStaticAtom; #[link_name = "?colorProfile@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] pub static nsGkAtoms_colorProfile: *mut nsStaticAtom; #[link_name = "?cursor@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] @@ -8485,8 +8511,6 @@ cfg_if! { pub static nsGkAtoms_saturate: *mut nsStaticAtom; #[link_name = "?saturation@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] pub static nsGkAtoms_saturation: *mut nsStaticAtom; - #[link_name = "?set@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_set: *mut nsStaticAtom; #[link_name = "?seed@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] pub static nsGkAtoms_seed: *mut nsStaticAtom; #[link_name = "?shape_rendering@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] @@ -8817,8 +8841,8 @@ cfg_if! { pub static nsGkAtoms_domainofapplication_: *mut nsStaticAtom; #[link_name = "?edge_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] pub static nsGkAtoms_edge_: *mut nsStaticAtom; - #[link_name = "?el_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_el_: *mut nsStaticAtom; + #[link_name = "?el@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] + pub static nsGkAtoms_el: *mut nsStaticAtom; #[link_name = "?emptyset_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] pub static nsGkAtoms_emptyset_: *mut nsStaticAtom; #[link_name = "?eq_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] @@ -9059,8 +9083,8 @@ cfg_if! { pub static nsGkAtoms_notsubset_: *mut nsStaticAtom; #[link_name = "?numalign_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] pub static nsGkAtoms_numalign_: *mut nsStaticAtom; - #[link_name = "?other_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_other_: *mut nsStaticAtom; + #[link_name = "?other@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] + pub static nsGkAtoms_other: *mut nsStaticAtom; #[link_name = "?outerproduct_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] pub static nsGkAtoms_outerproduct_: *mut nsStaticAtom; #[link_name = "?partialdiff_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] @@ -9469,6 +9493,8 @@ cfg_if! { pub static nsGkAtoms_apzCallbackTransform: *mut nsStaticAtom; #[link_name = "?restylableAnonymousNode@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] pub static nsGkAtoms_restylableAnonymousNode: *mut nsStaticAtom; + #[link_name = "?docLevelNativeAnonymousContent@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] + pub static nsGkAtoms_docLevelNativeAnonymousContent: *mut nsStaticAtom; #[link_name = "?paintRequestTime@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] pub static nsGkAtoms_paintRequestTime: *mut nsStaticAtom; #[link_name = "?pseudoProperty@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] @@ -9537,8 +9563,6 @@ cfg_if! { pub static nsGkAtoms_ba: *mut nsStaticAtom; #[link_name = "?crh@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] pub static nsGkAtoms_crh: *mut nsStaticAtom; - #[link_name = "?el@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_el: *mut nsStaticAtom; #[link_name = "?ga@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] pub static nsGkAtoms_ga: *mut nsStaticAtom; #[link_name = "?nl@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] @@ -9563,8 +9587,6 @@ cfg_if! { pub static nsGkAtoms_monospace: *mut nsStaticAtom; #[link_name = "?mozfixed@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] pub static nsGkAtoms_mozfixed: *mut nsStaticAtom; - #[link_name = "?Remote@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_Remote: *mut nsStaticAtom; #[link_name = "?RemoteId@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] pub static nsGkAtoms_RemoteId: *mut nsStaticAtom; #[link_name = "?RemoteType@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] @@ -9767,8 +9789,6 @@ cfg_if! { pub static nsGkAtoms_pages: *mut nsStaticAtom; #[link_name = "?scrollbars@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] pub static nsGkAtoms_scrollbars: *mut nsStaticAtom; - #[link_name = "?other@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_other: *mut nsStaticAtom; #[link_name = "?apz@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] pub static nsGkAtoms_apz: *mut nsStaticAtom; #[link_name = "?restore@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] @@ -9859,8 +9879,6 @@ cfg_if! { pub static nsGkAtoms_menuitemcheckbox: *mut nsStaticAtom; #[link_name = "?menuitemradio@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] pub static nsGkAtoms_menuitemradio: *mut nsStaticAtom; - #[link_name = "?mixed@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mixed: *mut nsStaticAtom; #[link_name = "?multiline@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] pub static nsGkAtoms_multiline: *mut nsStaticAtom; #[link_name = "?navigation@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] @@ -10009,6 +10027,28 @@ cfg_if! { pub static nsGkAtoms_onaddsourcebuffer: *mut nsStaticAtom; #[link_name = "?onremovesourcebuffer@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] pub static nsGkAtoms_onremovesourcebuffer: *mut nsStaticAtom; + #[link_name = "?about@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] + pub static nsGkAtoms_about: *mut nsStaticAtom; + #[link_name = "?ID@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] + pub static nsGkAtoms_ID: *mut nsStaticAtom; + #[link_name = "?nodeID@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] + pub static nsGkAtoms_nodeID: *mut nsStaticAtom; + #[link_name = "?aboutEach@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] + pub static nsGkAtoms_aboutEach: *mut nsStaticAtom; + #[link_name = "?resource@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] + pub static nsGkAtoms_resource: *mut nsStaticAtom; + #[link_name = "?RDF@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] + pub static nsGkAtoms_RDF: *mut nsStaticAtom; + #[link_name = "?Description@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] + pub static nsGkAtoms_Description: *mut nsStaticAtom; + #[link_name = "?Bag@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] + pub static nsGkAtoms_Bag: *mut nsStaticAtom; + #[link_name = "?Seq@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] + pub static nsGkAtoms_Seq: *mut nsStaticAtom; + #[link_name = "?Alt@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] + pub static nsGkAtoms_Alt: *mut nsStaticAtom; + #[link_name = "?parseType@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] + pub static nsGkAtoms_parseType: *mut nsStaticAtom; #[link_name = "?xlink@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] pub static nsGkAtoms_xlink: *mut nsStaticAtom; #[link_name = "?xml_space@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] @@ -10678,6 +10718,8 @@ cfg_if! { pub static nsGkAtoms_autocheck: *mut nsStaticAtom; #[link_name = "\x01?autocomplete@nsGkAtoms@@2PAVnsStaticAtom@@A"] pub static nsGkAtoms_autocomplete: *mut nsStaticAtom; + #[link_name = "\x01?autocomplete_richlistbox@nsGkAtoms@@2PAVnsStaticAtom@@A"] + pub static nsGkAtoms_autocomplete_richlistbox: *mut nsStaticAtom; #[link_name = "\x01?autofocus@nsGkAtoms@@2PAVnsStaticAtom@@A"] pub static nsGkAtoms_autofocus: *mut nsStaticAtom; #[link_name = "\x01?autoplay@nsGkAtoms@@2PAVnsStaticAtom@@A"] @@ -10768,8 +10810,6 @@ cfg_if! { pub static nsGkAtoms_browser: *mut nsStaticAtom; #[link_name = "\x01?mozbrowser@nsGkAtoms@@2PAVnsStaticAtom@@A"] pub static nsGkAtoms_mozbrowser: *mut nsStaticAtom; - #[link_name = "\x01?bulletinboard@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_bulletinboard: *mut nsStaticAtom; #[link_name = "\x01?button@nsGkAtoms@@2PAVnsStaticAtom@@A"] pub static nsGkAtoms_button: *mut nsStaticAtom; #[link_name = "\x01?brighttitlebarforeground@nsGkAtoms@@2PAVnsStaticAtom@@A"] @@ -10968,6 +11008,12 @@ cfg_if! { pub static nsGkAtoms_data: *mut nsStaticAtom; #[link_name = "\x01?datalist@nsGkAtoms@@2PAVnsStaticAtom@@A"] pub static nsGkAtoms_datalist: *mut nsStaticAtom; + #[link_name = "\x01?datal10nid@nsGkAtoms@@2PAVnsStaticAtom@@A"] + pub static nsGkAtoms_datal10nid: *mut nsStaticAtom; + #[link_name = "\x01?datal10nargs@nsGkAtoms@@2PAVnsStaticAtom@@A"] + pub static nsGkAtoms_datal10nargs: *mut nsStaticAtom; + #[link_name = "\x01?datal10nattrs@nsGkAtoms@@2PAVnsStaticAtom@@A"] + pub static nsGkAtoms_datal10nattrs: *mut nsStaticAtom; #[link_name = "\x01?dataType@nsGkAtoms@@2PAVnsStaticAtom@@A"] pub static nsGkAtoms_dataType: *mut nsStaticAtom; #[link_name = "\x01?dateTime@nsGkAtoms@@2PAVnsStaticAtom@@A"] @@ -11642,8 +11688,6 @@ cfg_if! { pub static nsGkAtoms_line: *mut nsStaticAtom; #[link_name = "\x01?link@nsGkAtoms@@2PAVnsStaticAtom@@A"] pub static nsGkAtoms_link: *mut nsStaticAtom; - #[link_name = "\x01?list@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_list: *mut nsStaticAtom; #[link_name = "\x01?listbox@nsGkAtoms@@2PAVnsStaticAtom@@A"] pub static nsGkAtoms_listbox: *mut nsStaticAtom; #[link_name = "\x01?listboxbody@nsGkAtoms@@2PAVnsStaticAtom@@A"] @@ -11790,8 +11834,8 @@ cfg_if! { pub static nsGkAtoms_minusSign: *mut nsStaticAtom; #[link_name = "\x01?minwidth@nsGkAtoms@@2PAVnsStaticAtom@@A"] pub static nsGkAtoms_minwidth: *mut nsStaticAtom; - #[link_name = "\x01?_mixed@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__mixed: *mut nsStaticAtom; + #[link_name = "\x01?mixed@nsGkAtoms@@2PAVnsStaticAtom@@A"] + pub static nsGkAtoms_mixed: *mut nsStaticAtom; #[link_name = "\x01?messagemanagergroup@nsGkAtoms@@2PAVnsStaticAtom@@A"] pub static nsGkAtoms_messagemanagergroup: *mut nsStaticAtom; #[link_name = "\x01?mod@nsGkAtoms@@2PAVnsStaticAtom@@A"] @@ -12230,6 +12274,8 @@ cfg_if! { pub static nsGkAtoms_onmessage: *mut nsStaticAtom; #[link_name = "\x01?onmessageerror@nsGkAtoms@@2PAVnsStaticAtom@@A"] pub static nsGkAtoms_onmessageerror: *mut nsStaticAtom; + #[link_name = "\x01?onmidimessage@nsGkAtoms@@2PAVnsStaticAtom@@A"] + pub static nsGkAtoms_onmidimessage: *mut nsStaticAtom; #[link_name = "\x01?onmousedown@nsGkAtoms@@2PAVnsStaticAtom@@A"] pub static nsGkAtoms_onmousedown: *mut nsStaticAtom; #[link_name = "\x01?onmouseenter@nsGkAtoms@@2PAVnsStaticAtom@@A"] @@ -12998,8 +13044,6 @@ cfg_if! { pub static nsGkAtoms_sup: *mut nsStaticAtom; #[link_name = "\x01?summary@nsGkAtoms@@2PAVnsStaticAtom@@A"] pub static nsGkAtoms_summary: *mut nsStaticAtom; - #[link_name = "\x01?_switch@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__switch: *mut nsStaticAtom; #[link_name = "\x01?systemProperty@nsGkAtoms@@2PAVnsStaticAtom@@A"] pub static nsGkAtoms_systemProperty: *mut nsStaticAtom; #[link_name = "\x01?tab@nsGkAtoms@@2PAVnsStaticAtom@@A"] @@ -13338,6 +13382,8 @@ cfg_if! { pub static nsGkAtoms_colorInterpolation: *mut nsStaticAtom; #[link_name = "\x01?colorInterpolationFilters@nsGkAtoms@@2PAVnsStaticAtom@@A"] pub static nsGkAtoms_colorInterpolationFilters: *mut nsStaticAtom; + #[link_name = "\x01?colorpicker@nsGkAtoms@@2PAVnsStaticAtom@@A"] + pub static nsGkAtoms_colorpicker: *mut nsStaticAtom; #[link_name = "\x01?colorProfile@nsGkAtoms@@2PAVnsStaticAtom@@A"] pub static nsGkAtoms_colorProfile: *mut nsStaticAtom; #[link_name = "\x01?cursor@nsGkAtoms@@2PAVnsStaticAtom@@A"] @@ -13690,8 +13736,6 @@ cfg_if! { pub static nsGkAtoms_saturate: *mut nsStaticAtom; #[link_name = "\x01?saturation@nsGkAtoms@@2PAVnsStaticAtom@@A"] pub static nsGkAtoms_saturation: *mut nsStaticAtom; - #[link_name = "\x01?set@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_set: *mut nsStaticAtom; #[link_name = "\x01?seed@nsGkAtoms@@2PAVnsStaticAtom@@A"] pub static nsGkAtoms_seed: *mut nsStaticAtom; #[link_name = "\x01?shape_rendering@nsGkAtoms@@2PAVnsStaticAtom@@A"] @@ -14022,8 +14066,8 @@ cfg_if! { pub static nsGkAtoms_domainofapplication_: *mut nsStaticAtom; #[link_name = "\x01?edge_@nsGkAtoms@@2PAVnsStaticAtom@@A"] pub static nsGkAtoms_edge_: *mut nsStaticAtom; - #[link_name = "\x01?el_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_el_: *mut nsStaticAtom; + #[link_name = "\x01?el@nsGkAtoms@@2PAVnsStaticAtom@@A"] + pub static nsGkAtoms_el: *mut nsStaticAtom; #[link_name = "\x01?emptyset_@nsGkAtoms@@2PAVnsStaticAtom@@A"] pub static nsGkAtoms_emptyset_: *mut nsStaticAtom; #[link_name = "\x01?eq_@nsGkAtoms@@2PAVnsStaticAtom@@A"] @@ -14264,8 +14308,8 @@ cfg_if! { pub static nsGkAtoms_notsubset_: *mut nsStaticAtom; #[link_name = "\x01?numalign_@nsGkAtoms@@2PAVnsStaticAtom@@A"] pub static nsGkAtoms_numalign_: *mut nsStaticAtom; - #[link_name = "\x01?other_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_other_: *mut nsStaticAtom; + #[link_name = "\x01?other@nsGkAtoms@@2PAVnsStaticAtom@@A"] + pub static nsGkAtoms_other: *mut nsStaticAtom; #[link_name = "\x01?outerproduct_@nsGkAtoms@@2PAVnsStaticAtom@@A"] pub static nsGkAtoms_outerproduct_: *mut nsStaticAtom; #[link_name = "\x01?partialdiff_@nsGkAtoms@@2PAVnsStaticAtom@@A"] @@ -14674,6 +14718,8 @@ cfg_if! { pub static nsGkAtoms_apzCallbackTransform: *mut nsStaticAtom; #[link_name = "\x01?restylableAnonymousNode@nsGkAtoms@@2PAVnsStaticAtom@@A"] pub static nsGkAtoms_restylableAnonymousNode: *mut nsStaticAtom; + #[link_name = "\x01?docLevelNativeAnonymousContent@nsGkAtoms@@2PAVnsStaticAtom@@A"] + pub static nsGkAtoms_docLevelNativeAnonymousContent: *mut nsStaticAtom; #[link_name = "\x01?paintRequestTime@nsGkAtoms@@2PAVnsStaticAtom@@A"] pub static nsGkAtoms_paintRequestTime: *mut nsStaticAtom; #[link_name = "\x01?pseudoProperty@nsGkAtoms@@2PAVnsStaticAtom@@A"] @@ -14742,8 +14788,6 @@ cfg_if! { pub static nsGkAtoms_ba: *mut nsStaticAtom; #[link_name = "\x01?crh@nsGkAtoms@@2PAVnsStaticAtom@@A"] pub static nsGkAtoms_crh: *mut nsStaticAtom; - #[link_name = "\x01?el@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_el: *mut nsStaticAtom; #[link_name = "\x01?ga@nsGkAtoms@@2PAVnsStaticAtom@@A"] pub static nsGkAtoms_ga: *mut nsStaticAtom; #[link_name = "\x01?nl@nsGkAtoms@@2PAVnsStaticAtom@@A"] @@ -14768,8 +14812,6 @@ cfg_if! { pub static nsGkAtoms_monospace: *mut nsStaticAtom; #[link_name = "\x01?mozfixed@nsGkAtoms@@2PAVnsStaticAtom@@A"] pub static nsGkAtoms_mozfixed: *mut nsStaticAtom; - #[link_name = "\x01?Remote@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_Remote: *mut nsStaticAtom; #[link_name = "\x01?RemoteId@nsGkAtoms@@2PAVnsStaticAtom@@A"] pub static nsGkAtoms_RemoteId: *mut nsStaticAtom; #[link_name = "\x01?RemoteType@nsGkAtoms@@2PAVnsStaticAtom@@A"] @@ -14972,8 +15014,6 @@ cfg_if! { pub static nsGkAtoms_pages: *mut nsStaticAtom; #[link_name = "\x01?scrollbars@nsGkAtoms@@2PAVnsStaticAtom@@A"] pub static nsGkAtoms_scrollbars: *mut nsStaticAtom; - #[link_name = "\x01?other@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_other: *mut nsStaticAtom; #[link_name = "\x01?apz@nsGkAtoms@@2PAVnsStaticAtom@@A"] pub static nsGkAtoms_apz: *mut nsStaticAtom; #[link_name = "\x01?restore@nsGkAtoms@@2PAVnsStaticAtom@@A"] @@ -15064,8 +15104,6 @@ cfg_if! { pub static nsGkAtoms_menuitemcheckbox: *mut nsStaticAtom; #[link_name = "\x01?menuitemradio@nsGkAtoms@@2PAVnsStaticAtom@@A"] pub static nsGkAtoms_menuitemradio: *mut nsStaticAtom; - #[link_name = "\x01?mixed@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mixed: *mut nsStaticAtom; #[link_name = "\x01?multiline@nsGkAtoms@@2PAVnsStaticAtom@@A"] pub static nsGkAtoms_multiline: *mut nsStaticAtom; #[link_name = "\x01?navigation@nsGkAtoms@@2PAVnsStaticAtom@@A"] @@ -15214,6 +15252,28 @@ cfg_if! { pub static nsGkAtoms_onaddsourcebuffer: *mut nsStaticAtom; #[link_name = "\x01?onremovesourcebuffer@nsGkAtoms@@2PAVnsStaticAtom@@A"] pub static nsGkAtoms_onremovesourcebuffer: *mut nsStaticAtom; + #[link_name = "\x01?about@nsGkAtoms@@2PAVnsStaticAtom@@A"] + pub static nsGkAtoms_about: *mut nsStaticAtom; + #[link_name = "\x01?ID@nsGkAtoms@@2PAVnsStaticAtom@@A"] + pub static nsGkAtoms_ID: *mut nsStaticAtom; + #[link_name = "\x01?nodeID@nsGkAtoms@@2PAVnsStaticAtom@@A"] + pub static nsGkAtoms_nodeID: *mut nsStaticAtom; + #[link_name = "\x01?aboutEach@nsGkAtoms@@2PAVnsStaticAtom@@A"] + pub static nsGkAtoms_aboutEach: *mut nsStaticAtom; + #[link_name = "\x01?resource@nsGkAtoms@@2PAVnsStaticAtom@@A"] + pub static nsGkAtoms_resource: *mut nsStaticAtom; + #[link_name = "\x01?RDF@nsGkAtoms@@2PAVnsStaticAtom@@A"] + pub static nsGkAtoms_RDF: *mut nsStaticAtom; + #[link_name = "\x01?Description@nsGkAtoms@@2PAVnsStaticAtom@@A"] + pub static nsGkAtoms_Description: *mut nsStaticAtom; + #[link_name = "\x01?Bag@nsGkAtoms@@2PAVnsStaticAtom@@A"] + pub static nsGkAtoms_Bag: *mut nsStaticAtom; + #[link_name = "\x01?Seq@nsGkAtoms@@2PAVnsStaticAtom@@A"] + pub static nsGkAtoms_Seq: *mut nsStaticAtom; + #[link_name = "\x01?Alt@nsGkAtoms@@2PAVnsStaticAtom@@A"] + pub static nsGkAtoms_Alt: *mut nsStaticAtom; + #[link_name = "\x01?parseType@nsGkAtoms@@2PAVnsStaticAtom@@A"] + pub static nsGkAtoms_parseType: *mut nsStaticAtom; #[link_name = "\x01?xlink@nsGkAtoms@@2PAVnsStaticAtom@@A"] pub static nsGkAtoms_xlink: *mut nsStaticAtom; #[link_name = "\x01?xml_space@nsGkAtoms@@2PAVnsStaticAtom@@A"] @@ -15886,6 +15946,8 @@ macro_rules! atom { {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_autocheck as *mut _) } }}; ("autocomplete") => {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_autocomplete as *mut _) } }}; +("autocomplete-richlistbox") => + {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_autocomplete_richlistbox as *mut _) } }}; ("autofocus") => {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_autofocus as *mut _) } }}; ("autoplay") => @@ -15976,8 +16038,6 @@ macro_rules! atom { {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_browser as *mut _) } }}; ("mozbrowser") => {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mozbrowser as *mut _) } }}; -("bulletinboard") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_bulletinboard as *mut _) } }}; ("button") => {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_button as *mut _) } }}; ("brighttitlebarforeground") => @@ -16176,6 +16236,12 @@ macro_rules! atom { {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_data as *mut _) } }}; ("datalist") => {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_datalist as *mut _) } }}; +("data-l10n-id") => + {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_datal10nid as *mut _) } }}; +("data-l10n-args") => + {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_datal10nargs as *mut _) } }}; +("data-l10n-attrs") => + {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_datal10nattrs as *mut _) } }}; ("data-type") => {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_dataType as *mut _) } }}; ("date-time") => @@ -16850,8 +16916,6 @@ macro_rules! atom { {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_line as *mut _) } }}; ("link") => {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_link as *mut _) } }}; -("list") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_list as *mut _) } }}; ("listbox") => {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_listbox as *mut _) } }}; ("listboxbody") => @@ -16999,7 +17063,7 @@ macro_rules! atom { ("minwidth") => {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_minwidth as *mut _) } }}; ("mixed") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__mixed as *mut _) } }}; + {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mixed as *mut _) } }}; ("messagemanagergroup") => {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_messagemanagergroup as *mut _) } }}; ("mod") => @@ -17438,6 +17502,8 @@ macro_rules! atom { {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmessage as *mut _) } }}; ("onmessageerror") => {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmessageerror as *mut _) } }}; +("onmidimessage") => + {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmidimessage as *mut _) } }}; ("onmousedown") => {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmousedown as *mut _) } }}; ("onmouseenter") => @@ -18206,8 +18272,6 @@ macro_rules! atom { {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_sup as *mut _) } }}; ("summary") => {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_summary as *mut _) } }}; -("switch") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__switch as *mut _) } }}; ("system-property") => {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_systemProperty as *mut _) } }}; ("tab") => @@ -18546,6 +18610,8 @@ macro_rules! atom { {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_colorInterpolation as *mut _) } }}; ("color-interpolation-filters") => {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_colorInterpolationFilters as *mut _) } }}; +("colorpicker") => + {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_colorpicker as *mut _) } }}; ("color-profile") => {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_colorProfile as *mut _) } }}; ("cursor") => @@ -18898,8 +18964,6 @@ macro_rules! atom { {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_saturate as *mut _) } }}; ("saturation") => {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_saturation as *mut _) } }}; -("set") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_set as *mut _) } }}; ("seed") => {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_seed as *mut _) } }}; ("shape-rendering") => @@ -19231,7 +19295,7 @@ macro_rules! atom { ("edge") => {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_edge_ as *mut _) } }}; ("el") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_el_ as *mut _) } }}; + {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_el as *mut _) } }}; ("emptyset") => {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_emptyset_ as *mut _) } }}; ("eq") => @@ -19473,7 +19537,7 @@ macro_rules! atom { ("numalign") => {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_numalign_ as *mut _) } }}; ("other") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_other_ as *mut _) } }}; + {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_other as *mut _) } }}; ("outerproduct") => {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_outerproduct_ as *mut _) } }}; ("partialdiff") => @@ -19882,6 +19946,8 @@ macro_rules! atom { {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_apzCallbackTransform as *mut _) } }}; ("restylableAnonymousNode") => {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_restylableAnonymousNode as *mut _) } }}; +("docLevelNativeAnonymousContent") => + {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docLevelNativeAnonymousContent as *mut _) } }}; ("PaintRequestTime") => {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_paintRequestTime as *mut _) } }}; ("PseudoProperty") => @@ -19950,8 +20016,6 @@ macro_rules! atom { {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ba as *mut _) } }}; ("crh") => {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_crh as *mut _) } }}; -("el") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_el as *mut _) } }}; ("ga") => {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ga as *mut _) } }}; ("nl") => @@ -19976,8 +20040,6 @@ macro_rules! atom { {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_monospace as *mut _) } }}; ("-moz-fixed") => {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mozfixed as *mut _) } }}; -("remote") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_Remote as *mut _) } }}; ("_remote_id") => {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_RemoteId as *mut _) } }}; ("remoteType") => @@ -20180,8 +20242,6 @@ macro_rules! atom { {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_pages as *mut _) } }}; ("scrollbars") => {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_scrollbars as *mut _) } }}; -("other") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_other as *mut _) } }}; ("apz") => {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_apz as *mut _) } }}; ("restore") => @@ -20272,8 +20332,6 @@ macro_rules! atom { {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_menuitemcheckbox as *mut _) } }}; ("menuitemradio") => {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_menuitemradio as *mut _) } }}; -("mixed") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mixed as *mut _) } }}; ("multiline") => {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_multiline as *mut _) } }}; ("navigation") => @@ -20422,6 +20480,28 @@ macro_rules! atom { {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onaddsourcebuffer as *mut _) } }}; ("onremovesourcebuffer") => {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onremovesourcebuffer as *mut _) } }}; +("about") => + {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_about as *mut _) } }}; +("ID") => + {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ID as *mut _) } }}; +("nodeID") => + {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_nodeID as *mut _) } }}; +("aboutEach") => + {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aboutEach as *mut _) } }}; +("resource") => + {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_resource as *mut _) } }}; +("RDF") => + {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_RDF as *mut _) } }}; +("Description") => + {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_Description as *mut _) } }}; +("Bag") => + {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_Bag as *mut _) } }}; +("Seq") => + {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_Seq as *mut _) } }}; +("Alt") => + {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_Alt as *mut _) } }}; +("parseType") => + {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_parseType as *mut _) } }}; ("xlink") => {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_xlink as *mut _) } }}; ("xml:space") => diff --git a/components/style/gecko/generated/bindings.rs b/components/style/gecko/generated/bindings.rs index 2cf7305e663..2a49628dd5a 100644 --- a/components/style/gecko/generated/bindings.rs +++ b/components/style/gecko/generated/bindings.rs @@ -255,60 +255,46 @@ use gecko_bindings::structs::FontFamilyName; use gecko_bindings::structs::mozilla::SharedFontList; pub type nsTArrayBorrowed_uintptr_t<'a> = &'a mut ::gecko_bindings::structs::nsTArray; pub type RawServoStyleSetOwned = ::gecko_bindings::sugar::ownership::Owned; -pub type RawServoStyleSetOwnedOrNull = - ::gecko_bindings::sugar::ownership::OwnedOrNull; +pub type RawServoStyleSetOwnedOrNull = ::gecko_bindings::sugar::ownership::OwnedOrNull; pub type RawServoStyleSetBorrowed<'a> = &'a RawServoStyleSet; pub type RawServoStyleSetBorrowedOrNull<'a> = Option<&'a RawServoStyleSet>; pub type RawServoStyleSetBorrowedMut<'a> = &'a mut RawServoStyleSet; pub type RawServoStyleSetBorrowedMutOrNull<'a> = Option<&'a mut RawServoStyleSet>; -enum RawServoStyleSetVoid { -} +enum RawServoStyleSetVoid { } pub struct RawServoStyleSet(RawServoStyleSetVoid); -pub type RawServoAuthorStylesOwned = - ::gecko_bindings::sugar::ownership::Owned; -pub type RawServoAuthorStylesOwnedOrNull = - ::gecko_bindings::sugar::ownership::OwnedOrNull; +pub type RawServoAuthorStylesOwned = ::gecko_bindings::sugar::ownership::Owned; +pub type RawServoAuthorStylesOwnedOrNull = ::gecko_bindings::sugar::ownership::OwnedOrNull; pub type RawServoAuthorStylesBorrowed<'a> = &'a RawServoAuthorStyles; pub type RawServoAuthorStylesBorrowedOrNull<'a> = Option<&'a RawServoAuthorStyles>; pub type RawServoAuthorStylesBorrowedMut<'a> = &'a mut RawServoAuthorStyles; pub type RawServoAuthorStylesBorrowedMutOrNull<'a> = Option<&'a mut RawServoAuthorStyles>; -enum RawServoAuthorStylesVoid { -} +enum RawServoAuthorStylesVoid { } pub struct RawServoAuthorStyles(RawServoAuthorStylesVoid); -pub type RawServoSelectorListOwned = - ::gecko_bindings::sugar::ownership::Owned; -pub type RawServoSelectorListOwnedOrNull = - ::gecko_bindings::sugar::ownership::OwnedOrNull; +pub type RawServoSelectorListOwned = ::gecko_bindings::sugar::ownership::Owned; +pub type RawServoSelectorListOwnedOrNull = ::gecko_bindings::sugar::ownership::OwnedOrNull; pub type RawServoSelectorListBorrowed<'a> = &'a RawServoSelectorList; pub type RawServoSelectorListBorrowedOrNull<'a> = Option<&'a RawServoSelectorList>; pub type RawServoSelectorListBorrowedMut<'a> = &'a mut RawServoSelectorList; pub type RawServoSelectorListBorrowedMutOrNull<'a> = Option<&'a mut RawServoSelectorList>; -pub type RawServoSourceSizeListOwned = - ::gecko_bindings::sugar::ownership::Owned; -pub type RawServoSourceSizeListOwnedOrNull = - ::gecko_bindings::sugar::ownership::OwnedOrNull; +pub type RawServoSourceSizeListOwned = ::gecko_bindings::sugar::ownership::Owned; +pub type RawServoSourceSizeListOwnedOrNull = ::gecko_bindings::sugar::ownership::OwnedOrNull; pub type RawServoSourceSizeListBorrowed<'a> = &'a RawServoSourceSizeList; pub type RawServoSourceSizeListBorrowedOrNull<'a> = Option<&'a RawServoSourceSizeList>; pub type RawServoSourceSizeListBorrowedMut<'a> = &'a mut RawServoSourceSizeList; pub type RawServoSourceSizeListBorrowedMutOrNull<'a> = Option<&'a mut RawServoSourceSizeList>; -pub type ServoElementSnapshotOwned = - ::gecko_bindings::sugar::ownership::Owned; -pub type ServoElementSnapshotOwnedOrNull = - ::gecko_bindings::sugar::ownership::OwnedOrNull; +pub type ServoElementSnapshotOwned = ::gecko_bindings::sugar::ownership::Owned; +pub type ServoElementSnapshotOwnedOrNull = ::gecko_bindings::sugar::ownership::OwnedOrNull; pub type ServoElementSnapshotBorrowed<'a> = &'a ServoElementSnapshot; pub type ServoElementSnapshotBorrowedOrNull<'a> = Option<&'a ServoElementSnapshot>; pub type ServoElementSnapshotBorrowedMut<'a> = &'a mut ServoElementSnapshot; pub type ServoElementSnapshotBorrowedMutOrNull<'a> = Option<&'a mut ServoElementSnapshot>; -pub type RawServoAnimationValueMapOwned = - ::gecko_bindings::sugar::ownership::Owned; -pub type RawServoAnimationValueMapOwnedOrNull = - ::gecko_bindings::sugar::ownership::OwnedOrNull; +pub type RawServoAnimationValueMapOwned = ::gecko_bindings::sugar::ownership::Owned; +pub type RawServoAnimationValueMapOwnedOrNull = ::gecko_bindings::sugar::ownership::OwnedOrNull; pub type RawServoAnimationValueMapBorrowed<'a> = &'a RawServoAnimationValueMap; pub type RawServoAnimationValueMapBorrowedOrNull<'a> = Option<&'a RawServoAnimationValueMap>; pub type RawServoAnimationValueMapBorrowedMut<'a> = &'a mut RawServoAnimationValueMap; pub type RawServoAnimationValueMapBorrowedMutOrNull<'a> = Option<&'a mut RawServoAnimationValueMap>; -enum RawServoAnimationValueMapVoid { -} +enum RawServoAnimationValueMapVoid { } pub struct RawServoAnimationValueMap(RawServoAnimationValueMapVoid); pub type RawGeckoNodeBorrowed<'a> = &'a RawGeckoNode; pub type RawGeckoNodeBorrowedOrNull<'a> = Option<&'a RawGeckoNode>; @@ -317,8 +303,7 @@ pub type RawGeckoElementBorrowedOrNull<'a> = Option<&'a RawGeckoElement>; pub type RawGeckoDocumentBorrowed<'a> = &'a RawGeckoDocument; pub type RawGeckoDocumentBorrowedOrNull<'a> = Option<&'a RawGeckoDocument>; pub type RawServoDeclarationBlockStrongBorrowed<'a> = &'a RawServoDeclarationBlockStrong; -pub type RawServoDeclarationBlockStrongBorrowedOrNull<'a> = - Option<&'a RawServoDeclarationBlockStrong>; +pub type RawServoDeclarationBlockStrongBorrowedOrNull<'a> = Option<&'a RawServoDeclarationBlockStrong>; pub type RawGeckoPresContextBorrowed<'a> = &'a RawGeckoPresContext; pub type RawGeckoPresContextBorrowedOrNull<'a> = Option<&'a RawGeckoPresContext>; pub type RawGeckoXBLBindingBorrowed<'a> = &'a RawGeckoXBLBinding; @@ -336,11 +321,9 @@ pub type nsTimingFunctionBorrowedOrNull<'a> = Option<&'a nsTimingFunction>; pub type nsTimingFunctionBorrowedMut<'a> = &'a mut nsTimingFunction; pub type nsTimingFunctionBorrowedMutOrNull<'a> = Option<&'a mut nsTimingFunction>; pub type RawGeckoAnimationPropertySegmentBorrowed<'a> = &'a RawGeckoAnimationPropertySegment; -pub type RawGeckoAnimationPropertySegmentBorrowedOrNull<'a> = - Option<&'a RawGeckoAnimationPropertySegment>; +pub type RawGeckoAnimationPropertySegmentBorrowedOrNull<'a> = Option<&'a RawGeckoAnimationPropertySegment>; pub type RawGeckoAnimationPropertySegmentBorrowedMut<'a> = &'a mut RawGeckoAnimationPropertySegment; -pub type RawGeckoAnimationPropertySegmentBorrowedMutOrNull<'a> = - Option<&'a mut RawGeckoAnimationPropertySegment>; +pub type RawGeckoAnimationPropertySegmentBorrowedMutOrNull<'a> = Option<&'a mut RawGeckoAnimationPropertySegment>; pub type RawGeckoComputedTimingBorrowed<'a> = &'a RawGeckoComputedTiming; pub type RawGeckoComputedTimingBorrowedOrNull<'a> = Option<&'a RawGeckoComputedTiming>; pub type RawGeckoComputedTimingBorrowedMut<'a> = &'a mut RawGeckoComputedTiming; @@ -354,18 +337,13 @@ pub type RawGeckoKeyframeListBorrowedOrNull<'a> = Option<&'a RawGeckoKeyframeLis pub type RawGeckoKeyframeListBorrowedMut<'a> = &'a mut RawGeckoKeyframeList; pub type RawGeckoKeyframeListBorrowedMutOrNull<'a> = Option<&'a mut RawGeckoKeyframeList>; pub type RawGeckoPropertyValuePairListBorrowed<'a> = &'a RawGeckoPropertyValuePairList; -pub type RawGeckoPropertyValuePairListBorrowedOrNull<'a> = - Option<&'a RawGeckoPropertyValuePairList>; +pub type RawGeckoPropertyValuePairListBorrowedOrNull<'a> = Option<&'a RawGeckoPropertyValuePairList>; pub type RawGeckoPropertyValuePairListBorrowedMut<'a> = &'a mut RawGeckoPropertyValuePairList; -pub type RawGeckoPropertyValuePairListBorrowedMutOrNull<'a> = - Option<&'a mut RawGeckoPropertyValuePairList>; +pub type RawGeckoPropertyValuePairListBorrowedMutOrNull<'a> = Option<&'a mut RawGeckoPropertyValuePairList>; pub type RawGeckoComputedKeyframeValuesListBorrowed<'a> = &'a RawGeckoComputedKeyframeValuesList; -pub type RawGeckoComputedKeyframeValuesListBorrowedOrNull<'a> = - Option<&'a RawGeckoComputedKeyframeValuesList>; -pub type RawGeckoComputedKeyframeValuesListBorrowedMut<'a> = - &'a mut RawGeckoComputedKeyframeValuesList; -pub type RawGeckoComputedKeyframeValuesListBorrowedMutOrNull<'a> = - Option<&'a mut RawGeckoComputedKeyframeValuesList>; +pub type RawGeckoComputedKeyframeValuesListBorrowedOrNull<'a> = Option<&'a RawGeckoComputedKeyframeValuesList>; +pub type RawGeckoComputedKeyframeValuesListBorrowedMut<'a> = &'a mut RawGeckoComputedKeyframeValuesList; +pub type RawGeckoComputedKeyframeValuesListBorrowedMutOrNull<'a> = Option<&'a mut RawGeckoComputedKeyframeValuesList>; pub type RawGeckoFontFaceRuleListBorrowed<'a> = &'a RawGeckoFontFaceRuleList; pub type RawGeckoFontFaceRuleListBorrowedOrNull<'a> = Option<&'a RawGeckoFontFaceRuleList>; pub type RawGeckoFontFaceRuleListBorrowedMut<'a> = &'a mut RawGeckoFontFaceRuleList; @@ -373,37 +351,28 @@ pub type RawGeckoFontFaceRuleListBorrowedMutOrNull<'a> = Option<&'a mut RawGecko pub type RawGeckoServoStyleRuleListBorrowed<'a> = &'a RawGeckoServoStyleRuleList; pub type RawGeckoServoStyleRuleListBorrowedOrNull<'a> = Option<&'a RawGeckoServoStyleRuleList>; pub type RawGeckoServoStyleRuleListBorrowedMut<'a> = &'a mut RawGeckoServoStyleRuleList; -pub type RawGeckoServoStyleRuleListBorrowedMutOrNull<'a> = - Option<&'a mut RawGeckoServoStyleRuleList>; +pub type RawGeckoServoStyleRuleListBorrowedMutOrNull<'a> = Option<&'a mut RawGeckoServoStyleRuleList>; pub type RawGeckoServoAnimationValueListBorrowed<'a> = &'a RawGeckoServoAnimationValueList; -pub type RawGeckoServoAnimationValueListBorrowedOrNull<'a> = - Option<&'a RawGeckoServoAnimationValueList>; +pub type RawGeckoServoAnimationValueListBorrowedOrNull<'a> = Option<&'a RawGeckoServoAnimationValueList>; pub type RawGeckoServoAnimationValueListBorrowedMut<'a> = &'a mut RawGeckoServoAnimationValueList; -pub type RawGeckoServoAnimationValueListBorrowedMutOrNull<'a> = - Option<&'a mut RawGeckoServoAnimationValueList>; +pub type RawGeckoServoAnimationValueListBorrowedMutOrNull<'a> = Option<&'a mut RawGeckoServoAnimationValueList>; pub type RawGeckoStyleAnimationListBorrowed<'a> = &'a RawGeckoStyleAnimationList; pub type RawGeckoStyleAnimationListBorrowedOrNull<'a> = Option<&'a RawGeckoStyleAnimationList>; pub type RawGeckoStyleAnimationListBorrowedMut<'a> = &'a mut RawGeckoStyleAnimationList; -pub type RawGeckoStyleAnimationListBorrowedMutOrNull<'a> = - Option<&'a mut RawGeckoStyleAnimationList>; +pub type RawGeckoStyleAnimationListBorrowedMutOrNull<'a> = Option<&'a mut RawGeckoStyleAnimationList>; pub type RawGeckoStyleChildrenIteratorBorrowed<'a> = &'a RawGeckoStyleChildrenIterator; -pub type RawGeckoStyleChildrenIteratorBorrowedOrNull<'a> = - Option<&'a RawGeckoStyleChildrenIterator>; +pub type RawGeckoStyleChildrenIteratorBorrowedOrNull<'a> = Option<&'a RawGeckoStyleChildrenIterator>; pub type RawGeckoStyleChildrenIteratorBorrowedMut<'a> = &'a mut RawGeckoStyleChildrenIterator; -pub type RawGeckoStyleChildrenIteratorBorrowedMutOrNull<'a> = - Option<&'a mut RawGeckoStyleChildrenIterator>; +pub type RawGeckoStyleChildrenIteratorBorrowedMutOrNull<'a> = Option<&'a mut RawGeckoStyleChildrenIterator>; pub type ServoCssRulesStrong = ::gecko_bindings::sugar::ownership::Strong; pub type ServoCssRulesBorrowed<'a> = &'a ServoCssRules; pub type ServoCssRulesBorrowedOrNull<'a> = Option<&'a ServoCssRules>; -enum ServoCssRulesVoid { -} +enum ServoCssRulesVoid { } pub struct ServoCssRules(ServoCssRulesVoid); -pub type RawServoStyleSheetContentsStrong = - ::gecko_bindings::sugar::ownership::Strong; +pub type RawServoStyleSheetContentsStrong = ::gecko_bindings::sugar::ownership::Strong; pub type RawServoStyleSheetContentsBorrowed<'a> = &'a RawServoStyleSheetContents; pub type RawServoStyleSheetContentsBorrowedOrNull<'a> = Option<&'a RawServoStyleSheetContents>; -pub type RawServoDeclarationBlockStrong = - ::gecko_bindings::sugar::ownership::Strong; +pub type RawServoDeclarationBlockStrong = ::gecko_bindings::sugar::ownership::Strong; pub type RawServoDeclarationBlockBorrowed<'a> = &'a RawServoDeclarationBlock; pub type RawServoDeclarationBlockBorrowedOrNull<'a> = Option<&'a RawServoDeclarationBlock>; pub type RawServoStyleRuleStrong = ::gecko_bindings::sugar::ownership::Strong; @@ -412,25 +381,20 @@ pub type RawServoStyleRuleBorrowedOrNull<'a> = Option<&'a RawServoStyleRule>; pub type RawServoImportRuleStrong = ::gecko_bindings::sugar::ownership::Strong; pub type RawServoImportRuleBorrowed<'a> = &'a RawServoImportRule; pub type RawServoImportRuleBorrowedOrNull<'a> = Option<&'a RawServoImportRule>; -enum RawServoImportRuleVoid { -} +enum RawServoImportRuleVoid { } pub struct RawServoImportRule(RawServoImportRuleVoid); -pub type RawServoAnimationValueStrong = - ::gecko_bindings::sugar::ownership::Strong; +pub type RawServoAnimationValueStrong = ::gecko_bindings::sugar::ownership::Strong; pub type RawServoAnimationValueBorrowed<'a> = &'a RawServoAnimationValue; pub type RawServoAnimationValueBorrowedOrNull<'a> = Option<&'a RawServoAnimationValue>; pub type RawServoKeyframeStrong = ::gecko_bindings::sugar::ownership::Strong; pub type RawServoKeyframeBorrowed<'a> = &'a RawServoKeyframe; pub type RawServoKeyframeBorrowedOrNull<'a> = Option<&'a RawServoKeyframe>; -enum RawServoKeyframeVoid { -} +enum RawServoKeyframeVoid { } pub struct RawServoKeyframe(RawServoKeyframeVoid); -pub type RawServoKeyframesRuleStrong = - ::gecko_bindings::sugar::ownership::Strong; +pub type RawServoKeyframesRuleStrong = ::gecko_bindings::sugar::ownership::Strong; pub type RawServoKeyframesRuleBorrowed<'a> = &'a RawServoKeyframesRule; pub type RawServoKeyframesRuleBorrowedOrNull<'a> = Option<&'a RawServoKeyframesRule>; -enum RawServoKeyframesRuleVoid { -} +enum RawServoKeyframesRuleVoid { } pub struct RawServoKeyframesRule(RawServoKeyframesRuleVoid); pub type RawServoMediaListStrong = ::gecko_bindings::sugar::ownership::Strong; pub type RawServoMediaListBorrowed<'a> = &'a RawServoMediaList; @@ -438,49 +402,37 @@ pub type RawServoMediaListBorrowedOrNull<'a> = Option<&'a RawServoMediaList>; pub type RawServoMediaRuleStrong = ::gecko_bindings::sugar::ownership::Strong; pub type RawServoMediaRuleBorrowed<'a> = &'a RawServoMediaRule; pub type RawServoMediaRuleBorrowedOrNull<'a> = Option<&'a RawServoMediaRule>; -enum RawServoMediaRuleVoid { -} +enum RawServoMediaRuleVoid { } pub struct RawServoMediaRule(RawServoMediaRuleVoid); -pub type RawServoNamespaceRuleStrong = - ::gecko_bindings::sugar::ownership::Strong; +pub type RawServoNamespaceRuleStrong = ::gecko_bindings::sugar::ownership::Strong; pub type RawServoNamespaceRuleBorrowed<'a> = &'a RawServoNamespaceRule; pub type RawServoNamespaceRuleBorrowedOrNull<'a> = Option<&'a RawServoNamespaceRule>; -enum RawServoNamespaceRuleVoid { -} +enum RawServoNamespaceRuleVoid { } pub struct RawServoNamespaceRule(RawServoNamespaceRuleVoid); pub type RawServoPageRuleStrong = ::gecko_bindings::sugar::ownership::Strong; pub type RawServoPageRuleBorrowed<'a> = &'a RawServoPageRule; pub type RawServoPageRuleBorrowedOrNull<'a> = Option<&'a RawServoPageRule>; -enum RawServoPageRuleVoid { -} +enum RawServoPageRuleVoid { } pub struct RawServoPageRule(RawServoPageRuleVoid); -pub type RawServoSupportsRuleStrong = - ::gecko_bindings::sugar::ownership::Strong; +pub type RawServoSupportsRuleStrong = ::gecko_bindings::sugar::ownership::Strong; pub type RawServoSupportsRuleBorrowed<'a> = &'a RawServoSupportsRule; pub type RawServoSupportsRuleBorrowedOrNull<'a> = Option<&'a RawServoSupportsRule>; -enum RawServoSupportsRuleVoid { -} +enum RawServoSupportsRuleVoid { } pub struct RawServoSupportsRule(RawServoSupportsRuleVoid); -pub type RawServoDocumentRuleStrong = - ::gecko_bindings::sugar::ownership::Strong; +pub type RawServoDocumentRuleStrong = ::gecko_bindings::sugar::ownership::Strong; pub type RawServoDocumentRuleBorrowed<'a> = &'a RawServoDocumentRule; pub type RawServoDocumentRuleBorrowedOrNull<'a> = Option<&'a RawServoDocumentRule>; -enum RawServoDocumentRuleVoid { -} +enum RawServoDocumentRuleVoid { } pub struct RawServoDocumentRule(RawServoDocumentRuleVoid); -pub type RawServoFontFeatureValuesRuleStrong = - ::gecko_bindings::sugar::ownership::Strong; +pub type RawServoFontFeatureValuesRuleStrong = ::gecko_bindings::sugar::ownership::Strong; pub type RawServoFontFeatureValuesRuleBorrowed<'a> = &'a RawServoFontFeatureValuesRule; -pub type RawServoFontFeatureValuesRuleBorrowedOrNull<'a> = - Option<&'a RawServoFontFeatureValuesRule>; -enum RawServoFontFeatureValuesRuleVoid { -} +pub type RawServoFontFeatureValuesRuleBorrowedOrNull<'a> = Option<&'a RawServoFontFeatureValuesRule>; +enum RawServoFontFeatureValuesRuleVoid { } pub struct RawServoFontFeatureValuesRule(RawServoFontFeatureValuesRuleVoid); pub type RawServoRuleNodeStrong = ::gecko_bindings::sugar::ownership::Strong; pub type RawServoRuleNodeBorrowed<'a> = &'a RawServoRuleNode; pub type RawServoRuleNodeBorrowedOrNull<'a> = Option<&'a RawServoRuleNode>; -enum RawServoRuleNodeVoid { -} +enum RawServoRuleNodeVoid { } pub struct RawServoRuleNode(RawServoRuleNodeVoid); extern "C" { @@ -992,23 +944,6 @@ extern "C" { extern "C" { pub fn Gecko_ReleaseAtom(aAtom: *mut nsAtom); } -extern "C" { - pub fn Gecko_GetAtomAsUTF16(aAtom: *mut nsAtom, aLength: *mut u32) -> *const u16; -} -extern "C" { - pub fn Gecko_AtomEqualsUTF8( - aAtom: *mut nsAtom, - aString: *const ::std::os::raw::c_char, - aLength: u32, - ) -> bool; -} -extern "C" { - pub fn Gecko_AtomEqualsUTF8IgnoreCase( - aAtom: *mut nsAtom, - aString: *const ::std::os::raw::c_char, - aLength: u32, - ) -> bool; -} extern "C" { pub fn Gecko_CopyFontFamilyFrom(dst: *mut nsFont, src: *const nsFont); } @@ -1591,11 +1526,6 @@ extern "C" { aElement: RawGeckoElementBorrowed, ) -> RawGeckoElementBorrowedOrNull; } -extern "C" { - pub fn Gecko_GetXBLBinding( - aElement: RawGeckoElementBorrowed, - ) -> RawGeckoXBLBindingBorrowedOrNull; -} extern "C" { pub fn Gecko_XBLBinding_GetRawServoStyles( aXBLBinding: RawGeckoXBLBindingBorrowed, diff --git a/components/style/gecko/generated/structs.rs b/components/style/gecko/generated/structs.rs index 172ad57dd9d..c20b03d33ca 100644 --- a/components/style/gecko/generated/structs.rs +++ b/components/style/gecko/generated/structs.rs @@ -10,14 +10,12 @@ pub type ServoUnsafeCell = ::std::cell::UnsafeCell; pub type ServoCell = ::std::cell::Cell; pub type ServoNodeData = AtomicRefCell; pub type ServoWritingMode = ::logical_geometry::WritingMode; -pub type ServoCustomPropertiesMap = - Option<::servo_arc::Arc<::custom_properties::CustomPropertiesMap>>; +pub type ServoCustomPropertiesMap = Option<::servo_arc::Arc<::custom_properties::CustomPropertiesMap>>; pub type ServoRuleNode = Option<::rule_tree::StrongRuleNode>; pub type ServoVisitedStyle = Option<::servo_arc::RawOffsetArc<::properties::ComputedValues>>; pub type ServoComputedValueFlags = ::properties::computed_value_flags::ComputedValueFlags; pub type ServoRawOffsetArc = ::servo_arc::RawOffsetArc; -pub type ServoStyleContextStrong = - ::gecko_bindings::sugar::ownership::Strong<::properties::ComputedValues>; +pub type ServoStyleContextStrong = ::gecko_bindings::sugar::ownership::Strong<::properties::ComputedValues>; #[allow(non_snake_case, non_camel_case_types, non_upper_case_globals)] pub mod root { @@ -827,14 +825,6 @@ pub mod root { pub const NS_STYLE_SCROLL_SNAP_TYPE_NONE: u32 = 0; pub const NS_STYLE_SCROLL_SNAP_TYPE_MANDATORY: u32 = 1; pub const NS_STYLE_SCROLL_SNAP_TYPE_PROXIMITY: u32 = 2; - pub const NS_STYLE_ORIENTATION_PORTRAIT: u32 = 0; - pub const NS_STYLE_ORIENTATION_LANDSCAPE: u32 = 1; - pub const NS_STYLE_SCAN_PROGRESSIVE: u32 = 0; - pub const NS_STYLE_SCAN_INTERLACE: u32 = 1; - pub const NS_STYLE_DISPLAY_MODE_BROWSER: u32 = 0; - pub const NS_STYLE_DISPLAY_MODE_MINIMAL_UI: u32 = 1; - pub const NS_STYLE_DISPLAY_MODE_STANDALONE: u32 = 2; - pub const NS_STYLE_DISPLAY_MODE_FULLSCREEN: u32 = 3; pub const CSS_PSEUDO_ELEMENT_IS_CSS2: u32 = 1; pub const CSS_PSEUDO_ELEMENT_CONTAINS_ELEMENTS: u32 = 2; pub const CSS_PSEUDO_ELEMENT_SUPPORTS_STYLE_ATTRIBUTE: u32 = 4; @@ -913,8 +903,6 @@ pub mod root { } pub type pair_first_type<_T1> = _T1; pub type pair_second_type<_T2> = _T2; - pub type pair__PCCP = u8; - pub type pair__PCCFP = u8; #[repr(C)] #[derive(Debug, Copy)] pub struct input_iterator_tag { @@ -972,14 +960,6 @@ pub mod root { #[allow(unused_imports)] use self::super::super::root; } - pub type __int8_t = ::std::os::raw::c_schar; - pub type __uint8_t = ::std::os::raw::c_uchar; - pub type __int16_t = ::std::os::raw::c_short; - pub type __uint16_t = ::std::os::raw::c_ushort; - pub type __int32_t = ::std::os::raw::c_int; - pub type __uint32_t = ::std::os::raw::c_uint; - pub type __int64_t = ::std::os::raw::c_long; - pub type __uint64_t = ::std::os::raw::c_ulong; pub mod mozilla { #[allow(unused_imports)] use self::super::super::root; @@ -1149,8 +1129,7 @@ pub mod root { } } pub type Conditional_Type = A; - pub const ArenaObjectID_eArenaObjectID_DummyBeforeFirstObjectID: - root::mozilla::ArenaObjectID = 171; + pub const ArenaObjectID_eArenaObjectID_DummyBeforeFirstObjectID : root :: mozilla :: ArenaObjectID = 171 ; pub const ArenaObjectID_eArenaObjectID_GeckoStyleContext: root::mozilla::ArenaObjectID = 172; pub const ArenaObjectID_eArenaObjectID_nsLineBox: root::mozilla::ArenaObjectID = 173; @@ -1159,19 +1138,14 @@ pub mod root { pub const ArenaObjectID_eArenaObjectID_nsInheritedStyleData: root::mozilla::ArenaObjectID = 176; pub const ArenaObjectID_eArenaObjectID_nsResetStyleData: root::mozilla::ArenaObjectID = 177; - pub const ArenaObjectID_eArenaObjectID_nsConditionalResetStyleData: - root::mozilla::ArenaObjectID = 178; - pub const ArenaObjectID_eArenaObjectID_nsConditionalResetStyleDataEntry: - root::mozilla::ArenaObjectID = 179; + pub const ArenaObjectID_eArenaObjectID_nsConditionalResetStyleData : root :: mozilla :: ArenaObjectID = 178 ; + pub const ArenaObjectID_eArenaObjectID_nsConditionalResetStyleDataEntry : root :: mozilla :: ArenaObjectID = 179 ; pub const ArenaObjectID_eArenaObjectID_nsFrameList: root::mozilla::ArenaObjectID = 180; pub const ArenaObjectID_eArenaObjectID_CustomCounterStyle: root::mozilla::ArenaObjectID = 181; - pub const ArenaObjectID_eArenaObjectID_DependentBuiltinCounterStyle: - root::mozilla::ArenaObjectID = 182; - pub const ArenaObjectID_eArenaObjectID_nsCallbackEventRequest: - root::mozilla::ArenaObjectID = 183; - pub const ArenaObjectID_eArenaObjectID_nsIntervalSet_Interval: - root::mozilla::ArenaObjectID = 184; + pub const ArenaObjectID_eArenaObjectID_DependentBuiltinCounterStyle : root :: mozilla :: ArenaObjectID = 182 ; + pub const ArenaObjectID_eArenaObjectID_nsCallbackEventRequest : root :: mozilla :: ArenaObjectID = 183 ; + pub const ArenaObjectID_eArenaObjectID_nsIntervalSet_Interval : root :: mozilla :: ArenaObjectID = 184 ; pub const ArenaObjectID_eArenaObjectID_CellData: root::mozilla::ArenaObjectID = 185; pub const ArenaObjectID_eArenaObjectID_BCCellData: root::mozilla::ArenaObjectID = 186; pub const ArenaObjectID_eArenaObjectID_nsStyleFont: root::mozilla::ArenaObjectID = 187; @@ -1313,9 +1287,8 @@ pub mod root { #[derive(Debug)] pub struct URLValueData_RustOrGeckoString { pub mString: root::__BindgenUnionField<::nsstring::nsStringRepr>, - pub mRustString: root::__BindgenUnionField< - ::gecko_bindings::structs::ServoRawOffsetArc, - >, + pub mRustString: + root::__BindgenUnionField<::gecko_bindings::structs::ServoRawOffsetArc>, pub bindgen_union_field: [u64; 2usize], } #[test] @@ -2134,14 +2107,13 @@ pub mod root { pub mLoaderPrincipal: root::nsCOMPtr, pub mRequestingNode: root::nsCOMPtr, pub mPreloadEncoding: *const root::mozilla::Encoding, - pub mStatus: root::nsresult, } pub type SheetLoadData_HasThreadSafeRefCnt = root::mozilla::FalseType; #[test] fn bindgen_test_layout_SheetLoadData() { assert_eq!( ::std::mem::size_of::(), - 160usize, + 152usize, concat!("Size of: ", stringify!(SheetLoadData)) ); assert_eq!( @@ -2273,6 +2245,17 @@ pub mod root { } } #[inline] + pub fn mLoadFailed(&self) -> bool { + unsafe { ::std::mem::transmute(self._bitfield_1.get(11usize, 1u8) as u8) } + } + #[inline] + pub fn set_mLoadFailed(&mut self, val: bool) { + unsafe { + let val: u8 = ::std::mem::transmute(val); + self._bitfield_1.set(11usize, 1u8, val as u64) + } + } + #[inline] pub fn new_bitfield_1( mSyncLoad: bool, mIsNonDocumentSheet: bool, @@ -2285,6 +2268,7 @@ pub mod root { mSheetAlreadyComplete: bool, mIsCrossOriginNoCORS: bool, mBlockResourceTiming: bool, + mLoadFailed: bool, ) -> root::__BindgenBitfieldUnit<[u8; 2usize], u8> { let mut __bindgen_bitfield_unit : root :: __BindgenBitfieldUnit < [ u8 ; 2usize ] , u8 > = Default :: default ( ) ; __bindgen_bitfield_unit.set(0usize, 1u8, { @@ -2336,6 +2320,10 @@ pub mod root { unsafe { ::std::mem::transmute(mBlockResourceTiming) }; mBlockResourceTiming as u64 }); + __bindgen_bitfield_unit.set(11usize, 1u8, { + let mLoadFailed: u8 = unsafe { ::std::mem::transmute(mLoadFailed) }; + mLoadFailed as u64 + }); __bindgen_bitfield_unit } } @@ -2831,6 +2819,49 @@ pub mod root { } pub type Variant_Tag = root::mozilla::detail::VariantTag; pub type Variant_Impl = u8; + /// This class is designed to cause crashes when various kinds of memory + /// corruption are observed. For instance, let's say we have a class C where we + /// suspect out-of-bounds writes to some members. We can insert a member of type + /// Poison near the members we suspect are being corrupted by out-of-bounds + /// writes. Or perhaps we have a class K we suspect is subject to use-after-free + /// violations, in which case it doesn't particularly matter where in the class + /// we add the member of type Poison. + /// + /// In either case, we then insert calls to Check() throughout the code. Doing + /// so enables us to narrow down the location where the corruption is occurring. + /// A pleasant side-effect of these additional Check() calls is that crash + /// signatures may become more regular, as crashes will ideally occur + /// consolidated at the point of a Check(), rather than scattered about at + /// various uses of the corrupted memory. + #[repr(C)] + #[derive(Debug)] + pub struct CorruptionCanary { + pub mValue: usize, + } + pub const CorruptionCanary_kCanarySet: usize = 252382987; + #[test] + fn bindgen_test_layout_CorruptionCanary() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!("Size of: ", stringify!(CorruptionCanary)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(CorruptionCanary)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).mValue as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(CorruptionCanary), + "::", + stringify!(mValue) + ) + ); + } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct Maybe { @@ -2850,6 +2881,12 @@ pub mod root { pub type IntPointTyped_Coord = u8; pub type IntPointTyped_Super = u8; #[repr(C)] + #[derive(Debug, Copy, Clone)] + pub struct SizeTyped { + pub _address: u8, + } + pub type SizeTyped_Super = u8; + #[repr(C)] #[derive(Debug, Copy)] pub struct FontVariation { pub mTag: u32, @@ -2896,6 +2933,11 @@ pub mod root { } } #[repr(C)] + #[derive(Debug, Copy, Clone)] + pub struct ScaleFactor { + pub _address: u8, + } + #[repr(C)] #[derive(Debug, Copy)] pub struct UserData { pub _bindgen_opaque_blob: [u64; 2usize], @@ -3096,6 +3138,18 @@ pub mod root { pub struct Nullable { pub _address: u8, } + pub mod prototypes { + #[allow(unused_imports)] + use self::super::super::super::super::root; + } + pub mod constructors { + #[allow(unused_imports)] + use self::super::super::super::super::root; + } + pub mod namedpropertiesobjects { + #[allow(unused_imports)] + use self::super::super::super::super::root; + } #[repr(C)] #[derive(Debug, Copy)] pub struct Promise { @@ -3215,7 +3269,7 @@ pub mod root { } } #[repr(C)] - #[derive(Debug, Copy)] + #[derive(Debug)] pub struct NodeInfo_NodeInfoInner { pub mName: *const root::nsAtom, pub mPrefix: *mut root::nsAtom, @@ -3223,8 +3277,7 @@ pub mod root { pub mNodeType: u16, pub mNameString: *const root::nsAString, pub mExtraName: *mut root::nsAtom, - pub mHash: root::PLHashNumber, - pub mHashInitialized: bool, + pub mHash: [u32; 2usize], } #[test] fn bindgen_test_layout_NodeInfo_NodeInfoInner() { @@ -3329,24 +3382,6 @@ pub mod root { stringify!(mHash) ) ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mHashInitialized - as *const _ as usize - }, - 44usize, - concat!( - "Offset of field: ", - stringify!(NodeInfo_NodeInfoInner), - "::", - stringify!(mHashInitialized) - ) - ); - } - impl Clone for NodeInfo_NodeInfoInner { - fn clone(&self) -> Self { - *self - } } extern "C" { #[link_name = "\u{1}_ZN7mozilla3dom8NodeInfo21_cycleCollectorGlobalE"] @@ -3538,6 +3573,12 @@ pub mod root { pub const VisibilityState_Visible: root::mozilla::dom::VisibilityState = 1; pub const VisibilityState_EndGuard_: root::mozilla::dom::VisibilityState = 2; pub type VisibilityState = u8; + pub const FlashClassification_Unclassified: root::mozilla::dom::FlashClassification = 0; + pub const FlashClassification_Unknown: root::mozilla::dom::FlashClassification = 1; + pub const FlashClassification_Allowed: root::mozilla::dom::FlashClassification = 2; + pub const FlashClassification_Denied: root::mozilla::dom::FlashClassification = 3; + pub const FlashClassification_EndGuard_: root::mozilla::dom::FlashClassification = 4; + pub type FlashClassification = u8; #[repr(C)] #[derive(Debug, Copy)] pub struct IPCClientInfo { @@ -3625,16 +3666,6 @@ pub mod root { } #[repr(C)] #[derive(Debug, Copy)] - pub struct ServiceWorkerRegistration { - _unused: [u8; 0], - } - impl Clone for ServiceWorkerRegistration { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] pub struct TimeoutManager { _unused: [u8; 0], } @@ -3647,8 +3678,7 @@ pub mod root { pub const LargeAllocStatus_SUCCESS: root::mozilla::dom::LargeAllocStatus = 1; pub const LargeAllocStatus_NON_GET: root::mozilla::dom::LargeAllocStatus = 2; pub const LargeAllocStatus_NON_E10S: root::mozilla::dom::LargeAllocStatus = 3; - pub const LargeAllocStatus_NOT_ONLY_TOPLEVEL_IN_TABGROUP: - root::mozilla::dom::LargeAllocStatus = 4; + pub const LargeAllocStatus_NOT_ONLY_TOPLEVEL_IN_TABGROUP : root :: mozilla :: dom :: LargeAllocStatus = 4 ; pub const LargeAllocStatus_NON_WIN32: root::mozilla::dom::LargeAllocStatus = 5; pub type LargeAllocStatus = u8; #[repr(C)] @@ -3674,17 +3704,12 @@ pub mod root { pub mAsNode: *mut root::nsINode, pub mKind: root::mozilla::dom::DocumentOrShadowRoot_Kind, } - pub const DocumentOrShadowRoot_Kind_Document: - root::mozilla::dom::DocumentOrShadowRoot_Kind = 0; - pub const DocumentOrShadowRoot_Kind_ShadowRoot: - root::mozilla::dom::DocumentOrShadowRoot_Kind = 1; + pub const DocumentOrShadowRoot_Kind_Document : root :: mozilla :: dom :: DocumentOrShadowRoot_Kind = 0 ; + pub const DocumentOrShadowRoot_Kind_ShadowRoot : root :: mozilla :: dom :: DocumentOrShadowRoot_Kind = 1 ; pub type DocumentOrShadowRoot_Kind = i32; - pub const DocumentOrShadowRoot_ElementsFromPointFlags_IGNORE_ROOT_SCROLL_FRAME: - root::mozilla::dom::DocumentOrShadowRoot_ElementsFromPointFlags = 1; - pub const DocumentOrShadowRoot_ElementsFromPointFlags_FLUSH_LAYOUT: - root::mozilla::dom::DocumentOrShadowRoot_ElementsFromPointFlags = 2; - pub const DocumentOrShadowRoot_ElementsFromPointFlags_IS_ELEMENT_FROM_POINT: - root::mozilla::dom::DocumentOrShadowRoot_ElementsFromPointFlags = 4; + pub const DocumentOrShadowRoot_ElementsFromPointFlags_IGNORE_ROOT_SCROLL_FRAME : root :: mozilla :: dom :: DocumentOrShadowRoot_ElementsFromPointFlags = 1 ; + pub const DocumentOrShadowRoot_ElementsFromPointFlags_FLUSH_LAYOUT : root :: mozilla :: dom :: DocumentOrShadowRoot_ElementsFromPointFlags = 2 ; + pub const DocumentOrShadowRoot_ElementsFromPointFlags_IS_ELEMENT_FROM_POINT : root :: mozilla :: dom :: DocumentOrShadowRoot_ElementsFromPointFlags = 4 ; pub type DocumentOrShadowRoot_ElementsFromPointFlags = u32; #[test] fn bindgen_test_layout_DocumentOrShadowRoot() { @@ -3765,6 +3790,16 @@ pub mod root { } #[repr(C)] #[derive(Debug, Copy)] + pub struct AboutCapabilities { + _unused: [u8; 0], + } + impl Clone for AboutCapabilities { + fn clone(&self) -> Self { + *self + } + } + #[repr(C)] + #[derive(Debug, Copy)] pub struct AnonymousContent { _unused: [u8; 0], } @@ -3775,6 +3810,36 @@ pub mod root { } #[repr(C)] #[derive(Debug, Copy)] + pub struct BoxObject { + _unused: [u8; 0], + } + impl Clone for BoxObject { + fn clone(&self) -> Self { + *self + } + } + #[repr(C)] + #[derive(Debug, Copy)] + pub struct DocumentTimeline { + _unused: [u8; 0], + } + impl Clone for DocumentTimeline { + fn clone(&self) -> Self { + *self + } + } + #[repr(C)] + #[derive(Debug, Copy)] + pub struct DOMImplementation { + _unused: [u8; 0], + } + impl Clone for DOMImplementation { + fn clone(&self) -> Self { + *self + } + } + #[repr(C)] + #[derive(Debug, Copy)] pub struct FontFaceSet { _unused: [u8; 0], } @@ -3805,6 +3870,16 @@ pub mod root { } #[repr(C)] #[derive(Debug, Copy)] + pub struct HTMLImageElement { + _unused: [u8; 0], + } + impl Clone for HTMLImageElement { + fn clone(&self) -> Self { + *self + } + } + #[repr(C)] + #[derive(Debug, Copy)] pub struct Link { _unused: [u8; 0], } @@ -3823,6 +3898,17 @@ pub mod root { *self } } + pub type OrientationType = u8; + #[repr(C)] + #[derive(Debug, Copy)] + pub struct ScriptLoader { + _unused: [u8; 0], + } + impl Clone for ScriptLoader { + fn clone(&self) -> Self { + *self + } + } #[repr(C)] #[derive(Debug, Copy)] pub struct XPathEvaluator { @@ -3833,18 +3919,6 @@ pub mod root { *self } } - pub mod prototypes { - #[allow(unused_imports)] - use self::super::super::super::super::root; - } - pub mod constructors { - #[allow(unused_imports)] - use self::super::super::super::super::root; - } - pub mod namedpropertiesobjects { - #[allow(unused_imports)] - use self::super::super::super::super::root; - } #[repr(C)] #[derive(Debug, Copy)] pub struct FrameRequestCallback { @@ -4048,8 +4122,7 @@ pub mod root { pub mType: root::mozilla::dom::OwningNodeOrString_Type, pub mValue: root::mozilla::dom::OwningNodeOrString_Value, } - pub const OwningNodeOrString_Type_eUninitialized: - root::mozilla::dom::OwningNodeOrString_Type = 0; + pub const OwningNodeOrString_Type_eUninitialized : root :: mozilla :: dom :: OwningNodeOrString_Type = 0 ; pub const OwningNodeOrString_Type_eNode: root::mozilla::dom::OwningNodeOrString_Type = 1; pub const OwningNodeOrString_Type_eString: root::mozilla::dom::OwningNodeOrString_Type = @@ -4579,17 +4652,188 @@ pub mod root { concat!("Alignment of ", stringify!(DOMRectReadOnly)) ); } + #[repr(C)] + #[derive(Debug)] + pub struct DOMRect { + pub _base: root::mozilla::dom::DOMRectReadOnly, + pub _base_1: root::nsIDOMClientRect, + pub mX: f64, + pub mY: f64, + pub mWidth: f64, + pub mHeight: f64, + } + #[test] + fn bindgen_test_layout_DOMRect() { + assert_eq!( + ::std::mem::size_of::(), + 88usize, + concat!("Size of: ", stringify!(DOMRect)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(DOMRect)) + ); + } pub const ShadowRootMode_Open: root::mozilla::dom::ShadowRootMode = 0; pub const ShadowRootMode_Closed: root::mozilla::dom::ShadowRootMode = 1; pub const ShadowRootMode_EndGuard_: root::mozilla::dom::ShadowRootMode = 2; pub type ShadowRootMode = u8; #[repr(C)] + #[derive(Debug, Copy)] + pub struct IntersectionCallback { + pub _bindgen_opaque_blob: [u64; 6usize], + } + #[test] + fn bindgen_test_layout_IntersectionCallback() { + assert_eq!( + ::std::mem::size_of::(), + 48usize, + concat!("Size of: ", stringify!(IntersectionCallback)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(IntersectionCallback)) + ); + } + impl Clone for IntersectionCallback { + fn clone(&self) -> Self { + *self + } + } + #[repr(C)] + pub struct DOMIntersectionObserverEntry { + pub _base: root::nsISupports, + pub _base_1: root::nsWrapperCache, + pub mRefCnt: root::nsCycleCollectingAutoRefCnt, + pub mOwner: root::nsCOMPtr, + pub mTime: root::DOMHighResTimeStamp, + pub mRootBounds: root::RefPtr, + pub mBoundingClientRect: root::RefPtr, + pub mIntersectionRect: root::RefPtr, + pub mIsIntersecting: bool, + pub mTarget: root::RefPtr, + pub mIntersectionRatio: f64, + } + pub type DOMIntersectionObserverEntry_HasThreadSafeRefCnt = root::mozilla::FalseType; + #[repr(C)] + #[derive(Debug, Copy)] + pub struct DOMIntersectionObserverEntry_cycleCollection { + pub _base: root::nsXPCOMCycleCollectionParticipant, + } + #[test] + fn bindgen_test_layout_DOMIntersectionObserverEntry_cycleCollection() { + assert_eq!( + ::std::mem::size_of::(), + 16usize, + concat!( + "Size of: ", + stringify!(DOMIntersectionObserverEntry_cycleCollection) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of ", + stringify!(DOMIntersectionObserverEntry_cycleCollection) + ) + ); + } + impl Clone for DOMIntersectionObserverEntry_cycleCollection { + fn clone(&self) -> Self { + *self + } + } + extern "C" { + # [ link_name = "\u{1}_ZN7mozilla3dom28DOMIntersectionObserverEntry21_cycleCollectorGlobalE" ] pub static mut DOMIntersectionObserverEntry__cycleCollectorGlobal : root :: mozilla :: dom :: DOMIntersectionObserverEntry_cycleCollection ; + } + #[test] + fn bindgen_test_layout_DOMIntersectionObserverEntry() { + assert_eq!( + ::std::mem::size_of::(), + 104usize, + concat!("Size of: ", stringify!(DOMIntersectionObserverEntry)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(DOMIntersectionObserverEntry)) + ); + } + #[repr(C)] + pub struct DOMIntersectionObserver { + pub _base: root::nsISupports, + pub _base_1: root::nsWrapperCache, + pub mRefCnt: root::nsCycleCollectingAutoRefCnt, + pub mOwner: root::nsCOMPtr, + pub mDocument: root::RefPtr, + pub mCallback: root::RefPtr, + pub mRoot: root::RefPtr, + pub mRootMargin: root::nsCSSRect, + pub mThresholds: root::nsTArray, + pub mObservationTargets: root::nsTArray<*mut root::mozilla::dom::Element>, + pub mQueuedEntries: + root::nsTArray>, + pub mConnected: bool, + } + pub type DOMIntersectionObserver_HasThreadSafeRefCnt = root::mozilla::FalseType; + #[repr(C)] + #[derive(Debug, Copy)] + pub struct DOMIntersectionObserver_cycleCollection { + pub _base: root::nsXPCOMCycleCollectionParticipant, + } + #[test] + fn bindgen_test_layout_DOMIntersectionObserver_cycleCollection() { + assert_eq!( + ::std::mem::size_of::(), + 16usize, + concat!( + "Size of: ", + stringify!(DOMIntersectionObserver_cycleCollection) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of ", + stringify!(DOMIntersectionObserver_cycleCollection) + ) + ); + } + impl Clone for DOMIntersectionObserver_cycleCollection { + fn clone(&self) -> Self { + *self + } + } + #[repr(C)] + #[derive(Debug, Copy, Clone)] + pub struct DOMIntersectionObserver_COMTypeInfo { + pub _address: u8, + } + extern "C" { + # [ link_name = "\u{1}_ZN7mozilla3dom23DOMIntersectionObserver21_cycleCollectorGlobalE" ] pub static mut DOMIntersectionObserver__cycleCollectorGlobal : root :: mozilla :: dom :: DOMIntersectionObserver_cycleCollection ; + } + #[test] + fn bindgen_test_layout_DOMIntersectionObserver() { + assert_eq!( + ::std::mem::size_of::(), + 168usize, + concat!("Size of: ", stringify!(DOMIntersectionObserver)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(DOMIntersectionObserver)) + ); + } + #[repr(C)] pub struct Element { pub _base: root::mozilla::dom::FragmentOrElement, pub mState: root::mozilla::EventStates, - pub mServoData: ::gecko_bindings::structs::ServoCell< - *mut ::gecko_bindings::structs::ServoNodeData, - >, + pub mServoData: ::gecko_bindings::structs::ServoCell<*mut ::gecko_bindings::structs::ServoNodeData>, } #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -4708,7 +4952,7 @@ pub mod root { pub type Element_nsElementMatchFunc = ::std::option::Option< unsafe extern "C" fn(aElement: *mut root::mozilla::dom::Element) -> bool, >; - pub const Element_kAllServoDescendantBits: u32 = 25296896; + pub const Element_kAllServoDescendantBits: u32 = 12648448; pub const Element_kFireMutationEvent: bool = true; pub const Element_kDontFireMutationEvent: bool = false; pub const Element_kNotifyDocumentObservers: bool = true; @@ -4906,6 +5150,52 @@ pub mod root { *self } } + /// Represents the insertion point in a slot for a given node. + #[repr(C)] + #[derive(Debug)] + pub struct ShadowRoot_SlotAssignment { + pub mSlot: *mut root::mozilla::dom::HTMLSlotElement, + pub mIndex: [u32; 2usize], + } + #[test] + fn bindgen_test_layout_ShadowRoot_SlotAssignment() { + assert_eq!( + ::std::mem::size_of::(), + 16usize, + concat!("Size of: ", stringify!(ShadowRoot_SlotAssignment)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(ShadowRoot_SlotAssignment)) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).mSlot as *const _ + as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(ShadowRoot_SlotAssignment), + "::", + stringify!(mSlot) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).mIndex as *const _ + as usize + }, + 8usize, + concat!( + "Offset of field: ", + stringify!(ShadowRoot_SlotAssignment), + "::", + stringify!(mIndex) + ) + ); + } pub type ShadowRoot_SlotArray = u8; extern "C" { #[link_name = "\u{1}_ZN7mozilla3dom10ShadowRoot21_cycleCollectorGlobalE"] @@ -5093,18 +5383,12 @@ pub mod root { pub mFlags: u32, pub mPhase: root::mozilla::dom::AllChildrenIterator_IteratorPhase, } - pub const AllChildrenIterator_IteratorPhase_eAtBegin: - root::mozilla::dom::AllChildrenIterator_IteratorPhase = 0; - pub const AllChildrenIterator_IteratorPhase_eAtBeforeKid: - root::mozilla::dom::AllChildrenIterator_IteratorPhase = 1; - pub const AllChildrenIterator_IteratorPhase_eAtExplicitKids: - root::mozilla::dom::AllChildrenIterator_IteratorPhase = 2; - pub const AllChildrenIterator_IteratorPhase_eAtAnonKids: - root::mozilla::dom::AllChildrenIterator_IteratorPhase = 3; - pub const AllChildrenIterator_IteratorPhase_eAtAfterKid: - root::mozilla::dom::AllChildrenIterator_IteratorPhase = 4; - pub const AllChildrenIterator_IteratorPhase_eAtEnd: - root::mozilla::dom::AllChildrenIterator_IteratorPhase = 5; + pub const AllChildrenIterator_IteratorPhase_eAtBegin : root :: mozilla :: dom :: AllChildrenIterator_IteratorPhase = 0 ; + pub const AllChildrenIterator_IteratorPhase_eAtBeforeKid : root :: mozilla :: dom :: AllChildrenIterator_IteratorPhase = 1 ; + pub const AllChildrenIterator_IteratorPhase_eAtExplicitKids : root :: mozilla :: dom :: AllChildrenIterator_IteratorPhase = 2 ; + pub const AllChildrenIterator_IteratorPhase_eAtAnonKids : root :: mozilla :: dom :: AllChildrenIterator_IteratorPhase = 3 ; + pub const AllChildrenIterator_IteratorPhase_eAtAfterKid : root :: mozilla :: dom :: AllChildrenIterator_IteratorPhase = 4 ; + pub const AllChildrenIterator_IteratorPhase_eAtEnd : root :: mozilla :: dom :: AllChildrenIterator_IteratorPhase = 5 ; pub type AllChildrenIterator_IteratorPhase = u32; #[test] fn bindgen_test_layout_AllChildrenIterator() { @@ -5377,12 +5661,11 @@ pub mod root { User = 1, PresHint = 2, Doc = 3, - ScopedDoc = 4, - StyleAttr = 5, - Override = 6, - Animation = 7, - Transition = 8, - Count = 9, + StyleAttr = 4, + Override = 5, + Animation = 6, + Transition = 7, + Count = 8, Unknown = 255, } #[repr(C)] @@ -5928,20 +6211,15 @@ pub mod root { pub const MediaFeatureChangeReason_ViewportChange: root::mozilla::MediaFeatureChangeReason = 1; pub const MediaFeatureChangeReason_ZoomChange: root::mozilla::MediaFeatureChangeReason = 2; - pub const MediaFeatureChangeReason_MinFontSizeChange: - root::mozilla::MediaFeatureChangeReason = 4; - pub const MediaFeatureChangeReason_ResolutionChange: - root::mozilla::MediaFeatureChangeReason = 8; + pub const MediaFeatureChangeReason_MinFontSizeChange : root :: mozilla :: MediaFeatureChangeReason = 4 ; + pub const MediaFeatureChangeReason_ResolutionChange : root :: mozilla :: MediaFeatureChangeReason = 8 ; pub const MediaFeatureChangeReason_MediumChange: root::mozilla::MediaFeatureChangeReason = 16; pub const MediaFeatureChangeReason_SizeModeChange: root::mozilla::MediaFeatureChangeReason = 32; - pub const MediaFeatureChangeReason_SystemMetricsChange: - root::mozilla::MediaFeatureChangeReason = 64; - pub const MediaFeatureChangeReason_DeviceSizeIsPageSizeChange: - root::mozilla::MediaFeatureChangeReason = 128; - pub const MediaFeatureChangeReason_DisplayModeChange: - root::mozilla::MediaFeatureChangeReason = 256; + pub const MediaFeatureChangeReason_SystemMetricsChange : root :: mozilla :: MediaFeatureChangeReason = 64 ; + pub const MediaFeatureChangeReason_DeviceSizeIsPageSizeChange : root :: mozilla :: MediaFeatureChangeReason = 128 ; + pub const MediaFeatureChangeReason_DisplayModeChange : root :: mozilla :: MediaFeatureChangeReason = 256 ; pub type MediaFeatureChangeReason = i32; #[repr(C)] #[derive(Debug, Copy)] @@ -6366,8 +6644,7 @@ pub mod root { pub const ServoTraversalFlags_ForCSSRuleChanges: root::mozilla::ServoTraversalFlags = 2; pub const ServoTraversalFlags_Forgetful: root::mozilla::ServoTraversalFlags = 8; pub const ServoTraversalFlags_ClearDirtyBits: root::mozilla::ServoTraversalFlags = 32; - pub const ServoTraversalFlags_ClearAnimationOnlyDirtyDescendants: - root::mozilla::ServoTraversalFlags = 64; + pub const ServoTraversalFlags_ClearAnimationOnlyDirtyDescendants : root :: mozilla :: ServoTraversalFlags = 64 ; pub const ServoTraversalFlags_ParallelTraversal: root::mozilla::ServoTraversalFlags = 128; pub const ServoTraversalFlags_FlushThrottledAnimations: root::mozilla::ServoTraversalFlags = 256; @@ -6382,8 +6659,7 @@ pub mod root { pub const UpdateAnimationsTasks_CSSTransitions: root::mozilla::UpdateAnimationsTasks = 2; pub const UpdateAnimationsTasks_EffectProperties: root::mozilla::UpdateAnimationsTasks = 4; pub const UpdateAnimationsTasks_CascadeResults: root::mozilla::UpdateAnimationsTasks = 8; - pub const UpdateAnimationsTasks_DisplayChangedFromNone: - root::mozilla::UpdateAnimationsTasks = 16; + pub const UpdateAnimationsTasks_DisplayChangedFromNone : root :: mozilla :: UpdateAnimationsTasks = 16 ; pub type UpdateAnimationsTasks = u8; pub const ParsingMode_Default: root::mozilla::ParsingMode = 0; pub const ParsingMode_AllowUnitlessLength: root::mozilla::ParsingMode = 1; @@ -6721,15 +6997,12 @@ pub mod root { use self::super::super::super::root; pub const ReferrerPolicy_RP_No_Referrer: root::mozilla::net::ReferrerPolicy = 2; pub const ReferrerPolicy_RP_Origin: root::mozilla::net::ReferrerPolicy = 3; - pub const ReferrerPolicy_RP_No_Referrer_When_Downgrade: - root::mozilla::net::ReferrerPolicy = 1; - pub const ReferrerPolicy_RP_Origin_When_Crossorigin: - root::mozilla::net::ReferrerPolicy = 4; + pub const ReferrerPolicy_RP_No_Referrer_When_Downgrade : root :: mozilla :: net :: ReferrerPolicy = 1 ; + pub const ReferrerPolicy_RP_Origin_When_Crossorigin : root :: mozilla :: net :: ReferrerPolicy = 4 ; pub const ReferrerPolicy_RP_Unsafe_URL: root::mozilla::net::ReferrerPolicy = 5; pub const ReferrerPolicy_RP_Same_Origin: root::mozilla::net::ReferrerPolicy = 6; pub const ReferrerPolicy_RP_Strict_Origin: root::mozilla::net::ReferrerPolicy = 7; - pub const ReferrerPolicy_RP_Strict_Origin_When_Cross_Origin: - root::mozilla::net::ReferrerPolicy = 8; + pub const ReferrerPolicy_RP_Strict_Origin_When_Cross_Origin : root :: mozilla :: net :: ReferrerPolicy = 8 ; pub const ReferrerPolicy_RP_Unset: root::mozilla::net::ReferrerPolicy = 0; pub type ReferrerPolicy = u32; } @@ -6789,8 +7062,7 @@ pub mod root { } pub const StyleSheet_ChangeType_Added: root::mozilla::StyleSheet_ChangeType = 0; pub const StyleSheet_ChangeType_Removed: root::mozilla::StyleSheet_ChangeType = 1; - pub const StyleSheet_ChangeType_ApplicableStateChanged: - root::mozilla::StyleSheet_ChangeType = 2; + pub const StyleSheet_ChangeType_ApplicableStateChanged : root :: mozilla :: StyleSheet_ChangeType = 2 ; pub const StyleSheet_ChangeType_RuleAdded: root::mozilla::StyleSheet_ChangeType = 3; pub const StyleSheet_ChangeType_RuleRemoved: root::mozilla::StyleSheet_ChangeType = 4; pub const StyleSheet_ChangeType_RuleChanged: root::mozilla::StyleSheet_ChangeType = 5; @@ -6799,10 +7071,8 @@ pub mod root { /// Used by the StyleSets in order to handle more efficiently some kinds of /// changes. pub type StyleSheet_ChangeType = i32; - pub const StyleSheet_DocumentAssociationMode_OwnedByDocument: - root::mozilla::StyleSheet_DocumentAssociationMode = 0; - pub const StyleSheet_DocumentAssociationMode_NotOwnedByDocument: - root::mozilla::StyleSheet_DocumentAssociationMode = 1; + pub const StyleSheet_DocumentAssociationMode_OwnedByDocument : root :: mozilla :: StyleSheet_DocumentAssociationMode = 0 ; + pub const StyleSheet_DocumentAssociationMode_NotOwnedByDocument : root :: mozilla :: StyleSheet_DocumentAssociationMode = 1 ; pub type StyleSheet_DocumentAssociationMode = u8; #[repr(C)] #[derive(Debug, Copy)] @@ -6857,10 +7127,8 @@ pub mod root { *self } } - pub const StyleSheet_dirtyFlagAttributes_FORCED_UNIQUE_INNER: - root::mozilla::StyleSheet_dirtyFlagAttributes = 1; - pub const StyleSheet_dirtyFlagAttributes_MODIFIED_RULES: - root::mozilla::StyleSheet_dirtyFlagAttributes = 2; + pub const StyleSheet_dirtyFlagAttributes_FORCED_UNIQUE_INNER : root :: mozilla :: StyleSheet_dirtyFlagAttributes = 1 ; + pub const StyleSheet_dirtyFlagAttributes_MODIFIED_RULES : root :: mozilla :: StyleSheet_dirtyFlagAttributes = 2 ; pub type StyleSheet_dirtyFlagAttributes = u32; extern "C" { #[link_name = "\u{1}_ZN7mozilla10StyleSheet21_cycleCollectorGlobalE"] @@ -7113,48 +7381,39 @@ pub mod root { } } } - /// This class is designed to cause crashes when various kinds of memory - /// corruption are observed. For instance, let's say we have a class C where we - /// suspect out-of-bounds writes to some members. We can insert a member of type - /// Poison near the members we suspect are being corrupted by out-of-bounds - /// writes. Or perhaps we have a class K we suspect is subject to use-after-free - /// violations, in which case it doesn't particularly matter where in the class - /// we add the member of type Poison. - /// - /// In either case, we then insert calls to Check() throughout the code. Doing - /// so enables us to narrow down the location where the corruption is occurring. - /// A pleasant side-effect of these additional Check() calls is that crash - /// signatures may become more regular, as crashes will ideally occur - /// consolidated at the point of a Check(), rather than scattered about at - /// various uses of the corrupted memory. - #[repr(C)] - #[derive(Debug)] - pub struct CorruptionCanary { - pub mValue: usize, + pub mod layout { + #[allow(unused_imports)] + use self::super::super::super::root; + pub const FrameChildListID_kPrincipalList: root::mozilla::layout::FrameChildListID = 1; + pub const FrameChildListID_kPopupList: root::mozilla::layout::FrameChildListID = 2; + pub const FrameChildListID_kCaptionList: root::mozilla::layout::FrameChildListID = 4; + pub const FrameChildListID_kColGroupList: root::mozilla::layout::FrameChildListID = 8; + pub const FrameChildListID_kSelectPopupList: root::mozilla::layout::FrameChildListID = + 16; + pub const FrameChildListID_kAbsoluteList: root::mozilla::layout::FrameChildListID = 32; + pub const FrameChildListID_kFixedList: root::mozilla::layout::FrameChildListID = 64; + pub const FrameChildListID_kOverflowList: root::mozilla::layout::FrameChildListID = 128; + pub const FrameChildListID_kOverflowContainersList : root :: mozilla :: layout :: FrameChildListID = 256 ; + pub const FrameChildListID_kExcessOverflowContainersList : root :: mozilla :: layout :: FrameChildListID = 512 ; + pub const FrameChildListID_kOverflowOutOfFlowList : root :: mozilla :: layout :: FrameChildListID = 1024 ; + pub const FrameChildListID_kFloatList: root::mozilla::layout::FrameChildListID = 2048; + pub const FrameChildListID_kBulletList: root::mozilla::layout::FrameChildListID = 4096; + pub const FrameChildListID_kPushedFloatsList: root::mozilla::layout::FrameChildListID = + 8192; + pub const FrameChildListID_kBackdropList: root::mozilla::layout::FrameChildListID = + 16384; + pub const FrameChildListID_kNoReflowPrincipalList : root :: mozilla :: layout :: FrameChildListID = 32768 ; + pub type FrameChildListID = u32; } - pub const CorruptionCanary_kCanarySet: usize = 252382987; - #[test] - fn bindgen_test_layout_CorruptionCanary() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(CorruptionCanary)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(CorruptionCanary)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mValue as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(CorruptionCanary), - "::", - stringify!(mValue) - ) - ); + #[repr(C)] + #[derive(Debug, Copy)] + pub struct UndisplayedNode { + _unused: [u8; 0], + } + impl Clone for UndisplayedNode { + fn clone(&self) -> Self { + *self + } } #[repr(C)] #[derive(Debug, Copy)] @@ -7176,7 +7435,33 @@ pub mod root { pub header: root::mozilla::ArenaAllocator_ArenaHeader, pub next: *mut root::mozilla::ArenaAllocator_ArenaChunk, } + pub type CSSSize = [u32; 2usize]; pub type LayoutDeviceIntPoint = [u32; 2usize]; + pub type CSSToLayoutDeviceScale = u32; + pub type LayoutDeviceToScreenScale = u32; + #[repr(C)] + #[derive(Debug, Copy)] + pub struct CSSPixel { + pub _address: u8, + } + #[test] + fn bindgen_test_layout_CSSPixel() { + assert_eq!( + ::std::mem::size_of::(), + 1usize, + concat!("Size of: ", stringify!(CSSPixel)) + ); + assert_eq!( + ::std::mem::align_of::(), + 1usize, + concat!("Alignment of ", stringify!(CSSPixel)) + ); + } + impl Clone for CSSPixel { + fn clone(&self) -> Self { + *self + } + } #[repr(C)] #[derive(Debug, Copy)] pub struct LayoutDevicePixel { @@ -7200,6 +7485,29 @@ pub mod root { *self } } + #[repr(C)] + #[derive(Debug, Copy)] + pub struct ScreenPixel { + pub _address: u8, + } + #[test] + fn bindgen_test_layout_ScreenPixel() { + assert_eq!( + ::std::mem::size_of::(), + 1usize, + concat!("Size of: ", stringify!(ScreenPixel)) + ); + assert_eq!( + ::std::mem::align_of::(), + 1usize, + concat!("Alignment of ", stringify!(ScreenPixel)) + ); + } + impl Clone for ScreenPixel { + fn clone(&self) -> Self { + *self + } + } pub mod a11y { #[allow(unused_imports)] use self::super::super::super::root; @@ -7227,10 +7535,8 @@ pub mod root { pub const UseCounter_eUseCounter_UNKNOWN: root::mozilla::UseCounter = -1; pub const UseCounter_eUseCounter_SVGSVGElement_getElementById: root::mozilla::UseCounter = 0; - pub const UseCounter_eUseCounter_SVGSVGElement_currentScale_getter: - root::mozilla::UseCounter = 1; - pub const UseCounter_eUseCounter_SVGSVGElement_currentScale_setter: - root::mozilla::UseCounter = 2; + pub const UseCounter_eUseCounter_SVGSVGElement_currentScale_getter : root :: mozilla :: UseCounter = 1 ; + pub const UseCounter_eUseCounter_SVGSVGElement_currentScale_setter : root :: mozilla :: UseCounter = 2 ; pub const UseCounter_eUseCounter_property_Fill: root::mozilla::UseCounter = 3; pub const UseCounter_eUseCounter_property_FillOpacity: root::mozilla::UseCounter = 4; pub const UseCounter_eUseCounter_XMLDocument_async_getter: root::mozilla::UseCounter = 5; @@ -7248,53 +7554,32 @@ pub mod root { pub const UseCounter_eUseCounter_OfflineResourceList_swapCache: root::mozilla::UseCounter = 16; pub const UseCounter_eUseCounter_OfflineResourceList_update: root::mozilla::UseCounter = 17; - pub const UseCounter_eUseCounter_OfflineResourceList_status_getter: - root::mozilla::UseCounter = 18; - pub const UseCounter_eUseCounter_OfflineResourceList_status_setter: - root::mozilla::UseCounter = 19; - pub const UseCounter_eUseCounter_OfflineResourceList_onchecking_getter: - root::mozilla::UseCounter = 20; - pub const UseCounter_eUseCounter_OfflineResourceList_onchecking_setter: - root::mozilla::UseCounter = 21; - pub const UseCounter_eUseCounter_OfflineResourceList_onerror_getter: - root::mozilla::UseCounter = 22; - pub const UseCounter_eUseCounter_OfflineResourceList_onerror_setter: - root::mozilla::UseCounter = 23; - pub const UseCounter_eUseCounter_OfflineResourceList_onnoupdate_getter: - root::mozilla::UseCounter = 24; - pub const UseCounter_eUseCounter_OfflineResourceList_onnoupdate_setter: - root::mozilla::UseCounter = 25; - pub const UseCounter_eUseCounter_OfflineResourceList_ondownloading_getter: - root::mozilla::UseCounter = 26; - pub const UseCounter_eUseCounter_OfflineResourceList_ondownloading_setter: - root::mozilla::UseCounter = 27; - pub const UseCounter_eUseCounter_OfflineResourceList_onprogress_getter: - root::mozilla::UseCounter = 28; - pub const UseCounter_eUseCounter_OfflineResourceList_onprogress_setter: - root::mozilla::UseCounter = 29; - pub const UseCounter_eUseCounter_OfflineResourceList_onupdateready_getter: - root::mozilla::UseCounter = 30; - pub const UseCounter_eUseCounter_OfflineResourceList_onupdateready_setter: - root::mozilla::UseCounter = 31; - pub const UseCounter_eUseCounter_OfflineResourceList_oncached_getter: - root::mozilla::UseCounter = 32; - pub const UseCounter_eUseCounter_OfflineResourceList_oncached_setter: - root::mozilla::UseCounter = 33; - pub const UseCounter_eUseCounter_OfflineResourceList_onobsolete_getter: - root::mozilla::UseCounter = 34; - pub const UseCounter_eUseCounter_OfflineResourceList_onobsolete_setter: - root::mozilla::UseCounter = 35; + pub const UseCounter_eUseCounter_OfflineResourceList_status_getter : root :: mozilla :: UseCounter = 18 ; + pub const UseCounter_eUseCounter_OfflineResourceList_status_setter : root :: mozilla :: UseCounter = 19 ; + pub const UseCounter_eUseCounter_OfflineResourceList_onchecking_getter : root :: mozilla :: UseCounter = 20 ; + pub const UseCounter_eUseCounter_OfflineResourceList_onchecking_setter : root :: mozilla :: UseCounter = 21 ; + pub const UseCounter_eUseCounter_OfflineResourceList_onerror_getter : root :: mozilla :: UseCounter = 22 ; + pub const UseCounter_eUseCounter_OfflineResourceList_onerror_setter : root :: mozilla :: UseCounter = 23 ; + pub const UseCounter_eUseCounter_OfflineResourceList_onnoupdate_getter : root :: mozilla :: UseCounter = 24 ; + pub const UseCounter_eUseCounter_OfflineResourceList_onnoupdate_setter : root :: mozilla :: UseCounter = 25 ; + pub const UseCounter_eUseCounter_OfflineResourceList_ondownloading_getter : root :: mozilla :: UseCounter = 26 ; + pub const UseCounter_eUseCounter_OfflineResourceList_ondownloading_setter : root :: mozilla :: UseCounter = 27 ; + pub const UseCounter_eUseCounter_OfflineResourceList_onprogress_getter : root :: mozilla :: UseCounter = 28 ; + pub const UseCounter_eUseCounter_OfflineResourceList_onprogress_setter : root :: mozilla :: UseCounter = 29 ; + pub const UseCounter_eUseCounter_OfflineResourceList_onupdateready_getter : root :: mozilla :: UseCounter = 30 ; + pub const UseCounter_eUseCounter_OfflineResourceList_onupdateready_setter : root :: mozilla :: UseCounter = 31 ; + pub const UseCounter_eUseCounter_OfflineResourceList_oncached_getter : root :: mozilla :: UseCounter = 32 ; + pub const UseCounter_eUseCounter_OfflineResourceList_oncached_setter : root :: mozilla :: UseCounter = 33 ; + pub const UseCounter_eUseCounter_OfflineResourceList_onobsolete_getter : root :: mozilla :: UseCounter = 34 ; + pub const UseCounter_eUseCounter_OfflineResourceList_onobsolete_setter : root :: mozilla :: UseCounter = 35 ; pub const UseCounter_eUseCounter_IDBDatabase_createMutableFile: root::mozilla::UseCounter = 36; - pub const UseCounter_eUseCounter_IDBDatabase_mozCreateFileHandle: - root::mozilla::UseCounter = 37; + pub const UseCounter_eUseCounter_IDBDatabase_mozCreateFileHandle : root :: mozilla :: UseCounter = 37 ; pub const UseCounter_eUseCounter_IDBMutableFile_open: root::mozilla::UseCounter = 38; pub const UseCounter_eUseCounter_IDBMutableFile_getFile: root::mozilla::UseCounter = 39; pub const UseCounter_eUseCounter_DataTransfer_addElement: root::mozilla::UseCounter = 40; - pub const UseCounter_eUseCounter_DataTransfer_mozItemCount_getter: - root::mozilla::UseCounter = 41; - pub const UseCounter_eUseCounter_DataTransfer_mozItemCount_setter: - root::mozilla::UseCounter = 42; + pub const UseCounter_eUseCounter_DataTransfer_mozItemCount_getter : root :: mozilla :: UseCounter = 41 ; + pub const UseCounter_eUseCounter_DataTransfer_mozItemCount_setter : root :: mozilla :: UseCounter = 42 ; pub const UseCounter_eUseCounter_DataTransfer_mozCursor_getter: root::mozilla::UseCounter = 43; pub const UseCounter_eUseCounter_DataTransfer_mozCursor_setter: root::mozilla::UseCounter = @@ -7304,60 +7589,77 @@ pub mod root { 46; pub const UseCounter_eUseCounter_DataTransfer_mozSetDataAt: root::mozilla::UseCounter = 47; pub const UseCounter_eUseCounter_DataTransfer_mozGetDataAt: root::mozilla::UseCounter = 48; - pub const UseCounter_eUseCounter_DataTransfer_mozUserCancelled_getter: - root::mozilla::UseCounter = 49; - pub const UseCounter_eUseCounter_DataTransfer_mozUserCancelled_setter: - root::mozilla::UseCounter = 50; - pub const UseCounter_eUseCounter_DataTransfer_mozSourceNode_getter: - root::mozilla::UseCounter = 51; - pub const UseCounter_eUseCounter_DataTransfer_mozSourceNode_setter: - root::mozilla::UseCounter = 52; + pub const UseCounter_eUseCounter_DataTransfer_mozUserCancelled_getter : root :: mozilla :: UseCounter = 49 ; + pub const UseCounter_eUseCounter_DataTransfer_mozUserCancelled_setter : root :: mozilla :: UseCounter = 50 ; + pub const UseCounter_eUseCounter_DataTransfer_mozSourceNode_getter : root :: mozilla :: UseCounter = 51 ; + pub const UseCounter_eUseCounter_DataTransfer_mozSourceNode_setter : root :: mozilla :: UseCounter = 52 ; pub const UseCounter_eUseCounter_custom_JS_asmjs: root::mozilla::UseCounter = 53; pub const UseCounter_eUseCounter_custom_JS_wasm: root::mozilla::UseCounter = 54; - pub const UseCounter_eUseCounter_EnablePrivilege: root::mozilla::UseCounter = 55; - pub const UseCounter_eUseCounter_DOMExceptionCode: root::mozilla::UseCounter = 56; - pub const UseCounter_eUseCounter_MutationEvent: root::mozilla::UseCounter = 57; - pub const UseCounter_eUseCounter_Components: root::mozilla::UseCounter = 58; - pub const UseCounter_eUseCounter_PrefixedVisibilityAPI: root::mozilla::UseCounter = 59; - pub const UseCounter_eUseCounter_NodeIteratorDetach: root::mozilla::UseCounter = 60; - pub const UseCounter_eUseCounter_LenientThis: root::mozilla::UseCounter = 61; - pub const UseCounter_eUseCounter_GetSetUserData: root::mozilla::UseCounter = 62; - pub const UseCounter_eUseCounter_MozGetAsFile: root::mozilla::UseCounter = 63; - pub const UseCounter_eUseCounter_UseOfCaptureEvents: root::mozilla::UseCounter = 64; - pub const UseCounter_eUseCounter_UseOfReleaseEvents: root::mozilla::UseCounter = 65; - pub const UseCounter_eUseCounter_UseOfDOM3LoadMethod: root::mozilla::UseCounter = 66; - pub const UseCounter_eUseCounter_ChromeUseOfDOM3LoadMethod: root::mozilla::UseCounter = 67; - pub const UseCounter_eUseCounter_ShowModalDialog: root::mozilla::UseCounter = 68; - pub const UseCounter_eUseCounter_SyncXMLHttpRequest: root::mozilla::UseCounter = 69; - pub const UseCounter_eUseCounter_Window_Cc_ontrollers: root::mozilla::UseCounter = 70; - pub const UseCounter_eUseCounter_ImportXULIntoContent: root::mozilla::UseCounter = 71; - pub const UseCounter_eUseCounter_PannerNodeDoppler: root::mozilla::UseCounter = 72; - pub const UseCounter_eUseCounter_NavigatorGetUserMedia: root::mozilla::UseCounter = 73; - pub const UseCounter_eUseCounter_WebrtcDeprecatedPrefix: root::mozilla::UseCounter = 74; + pub const UseCounter_eUseCounter_console_assert: root::mozilla::UseCounter = 55; + pub const UseCounter_eUseCounter_console_clear: root::mozilla::UseCounter = 56; + pub const UseCounter_eUseCounter_console_count: root::mozilla::UseCounter = 57; + pub const UseCounter_eUseCounter_console_debug: root::mozilla::UseCounter = 58; + pub const UseCounter_eUseCounter_console_error: root::mozilla::UseCounter = 59; + pub const UseCounter_eUseCounter_console_info: root::mozilla::UseCounter = 60; + pub const UseCounter_eUseCounter_console_log: root::mozilla::UseCounter = 61; + pub const UseCounter_eUseCounter_console_table: root::mozilla::UseCounter = 62; + pub const UseCounter_eUseCounter_console_trace: root::mozilla::UseCounter = 63; + pub const UseCounter_eUseCounter_console_warn: root::mozilla::UseCounter = 64; + pub const UseCounter_eUseCounter_console_dir: root::mozilla::UseCounter = 65; + pub const UseCounter_eUseCounter_console_dirxml: root::mozilla::UseCounter = 66; + pub const UseCounter_eUseCounter_console_group: root::mozilla::UseCounter = 67; + pub const UseCounter_eUseCounter_console_groupCollapsed: root::mozilla::UseCounter = 68; + pub const UseCounter_eUseCounter_console_groupEnd: root::mozilla::UseCounter = 69; + pub const UseCounter_eUseCounter_console_time: root::mozilla::UseCounter = 70; + pub const UseCounter_eUseCounter_console_timeEnd: root::mozilla::UseCounter = 71; + pub const UseCounter_eUseCounter_console_exception: root::mozilla::UseCounter = 72; + pub const UseCounter_eUseCounter_console_timeStamp: root::mozilla::UseCounter = 73; + pub const UseCounter_eUseCounter_console_profile: root::mozilla::UseCounter = 74; + pub const UseCounter_eUseCounter_console_profileEnd: root::mozilla::UseCounter = 75; + pub const UseCounter_eUseCounter_EnablePrivilege: root::mozilla::UseCounter = 76; + pub const UseCounter_eUseCounter_DOMExceptionCode: root::mozilla::UseCounter = 77; + pub const UseCounter_eUseCounter_MutationEvent: root::mozilla::UseCounter = 78; + pub const UseCounter_eUseCounter_Components: root::mozilla::UseCounter = 79; + pub const UseCounter_eUseCounter_PrefixedVisibilityAPI: root::mozilla::UseCounter = 80; + pub const UseCounter_eUseCounter_NodeIteratorDetach: root::mozilla::UseCounter = 81; + pub const UseCounter_eUseCounter_LenientThis: root::mozilla::UseCounter = 82; + pub const UseCounter_eUseCounter_GetSetUserData: root::mozilla::UseCounter = 83; + pub const UseCounter_eUseCounter_MozGetAsFile: root::mozilla::UseCounter = 84; + pub const UseCounter_eUseCounter_UseOfCaptureEvents: root::mozilla::UseCounter = 85; + pub const UseCounter_eUseCounter_UseOfReleaseEvents: root::mozilla::UseCounter = 86; + pub const UseCounter_eUseCounter_UseOfDOM3LoadMethod: root::mozilla::UseCounter = 87; + pub const UseCounter_eUseCounter_ChromeUseOfDOM3LoadMethod: root::mozilla::UseCounter = 88; + pub const UseCounter_eUseCounter_ShowModalDialog: root::mozilla::UseCounter = 89; + pub const UseCounter_eUseCounter_SyncXMLHttpRequest: root::mozilla::UseCounter = 90; + pub const UseCounter_eUseCounter_Window_Cc_ontrollers: root::mozilla::UseCounter = 91; + pub const UseCounter_eUseCounter_ImportXULIntoContent: root::mozilla::UseCounter = 92; + pub const UseCounter_eUseCounter_PannerNodeDoppler: root::mozilla::UseCounter = 93; + pub const UseCounter_eUseCounter_NavigatorGetUserMedia: root::mozilla::UseCounter = 94; + pub const UseCounter_eUseCounter_WebrtcDeprecatedPrefix: root::mozilla::UseCounter = 95; pub const UseCounter_eUseCounter_RTCPeerConnectionGetStreams: root::mozilla::UseCounter = - 75; - pub const UseCounter_eUseCounter_AppCache: root::mozilla::UseCounter = 76; - pub const UseCounter_eUseCounter_AppCacheInsecure: root::mozilla::UseCounter = 77; + 96; + pub const UseCounter_eUseCounter_AppCache: root::mozilla::UseCounter = 97; + pub const UseCounter_eUseCounter_AppCacheInsecure: root::mozilla::UseCounter = 98; pub const UseCounter_eUseCounter_PrefixedImageSmoothingEnabled: root::mozilla::UseCounter = - 78; - pub const UseCounter_eUseCounter_PrefixedFullscreenAPI: root::mozilla::UseCounter = 79; - pub const UseCounter_eUseCounter_LenientSetter: root::mozilla::UseCounter = 80; - pub const UseCounter_eUseCounter_FileLastModifiedDate: root::mozilla::UseCounter = 81; - pub const UseCounter_eUseCounter_ImageBitmapRenderingContext_TransferImageBitmap: - root::mozilla::UseCounter = 82; + 99; + pub const UseCounter_eUseCounter_PrefixedFullscreenAPI: root::mozilla::UseCounter = 100; + pub const UseCounter_eUseCounter_LenientSetter: root::mozilla::UseCounter = 101; + pub const UseCounter_eUseCounter_FileLastModifiedDate: root::mozilla::UseCounter = 102; + pub const UseCounter_eUseCounter_ImageBitmapRenderingContext_TransferImageBitmap : root :: mozilla :: UseCounter = 103 ; pub const UseCounter_eUseCounter_URLCreateObjectURL_MediaStream: root::mozilla::UseCounter = - 83; - pub const UseCounter_eUseCounter_XMLBaseAttribute: root::mozilla::UseCounter = 84; - pub const UseCounter_eUseCounter_WindowContentUntrusted: root::mozilla::UseCounter = 85; - pub const UseCounter_eUseCounter_RegisterProtocolHandlerInsecure: - root::mozilla::UseCounter = 86; + 104; + pub const UseCounter_eUseCounter_XMLBaseAttribute: root::mozilla::UseCounter = 105; + pub const UseCounter_eUseCounter_WindowContentUntrusted: root::mozilla::UseCounter = 106; + pub const UseCounter_eUseCounter_RegisterProtocolHandlerInsecure : root :: mozilla :: UseCounter = 107 ; pub const UseCounter_eUseCounter_MixedDisplayObjectSubrequest: root::mozilla::UseCounter = - 87; - pub const UseCounter_eUseCounter_MotionEvent: root::mozilla::UseCounter = 88; - pub const UseCounter_eUseCounter_OrientationEvent: root::mozilla::UseCounter = 89; - pub const UseCounter_eUseCounter_ProximityEvent: root::mozilla::UseCounter = 90; - pub const UseCounter_eUseCounter_AmbientLightEvent: root::mozilla::UseCounter = 91; - pub const UseCounter_eUseCounter_Count: root::mozilla::UseCounter = 92; + 108; + pub const UseCounter_eUseCounter_MotionEvent: root::mozilla::UseCounter = 109; + pub const UseCounter_eUseCounter_OrientationEvent: root::mozilla::UseCounter = 110; + pub const UseCounter_eUseCounter_ProximityEvent: root::mozilla::UseCounter = 111; + pub const UseCounter_eUseCounter_AmbientLightEvent: root::mozilla::UseCounter = 112; + pub const UseCounter_eUseCounter_IDBOpenDBOptions_StorageType: root::mozilla::UseCounter = + 113; + pub const UseCounter_eUseCounter_Count: root::mozilla::UseCounter = 114; pub type UseCounter = i16; pub const LogLevel_Disabled: root::mozilla::LogLevel = 0; pub const LogLevel_Error: root::mozilla::LogLevel = 1; @@ -7593,6 +7895,16 @@ pub mod root { ); } #[repr(C)] + #[derive(Debug, Copy)] + pub struct PendingAnimationTracker { + _unused: [u8; 0], + } + impl Clone for PendingAnimationTracker { + fn clone(&self) -> Self { + *self + } + } + #[repr(C)] #[derive(Debug)] pub struct ScrollbarStyles { pub mHorizontal: u8, @@ -8110,14 +8422,10 @@ pub mod root { pub struct BlockingResourceBase { pub _address: u8, } - pub const BlockingResourceBase_BlockingResourceType_eMutex: - root::mozilla::BlockingResourceBase_BlockingResourceType = 0; - pub const BlockingResourceBase_BlockingResourceType_eReentrantMonitor: - root::mozilla::BlockingResourceBase_BlockingResourceType = 1; - pub const BlockingResourceBase_BlockingResourceType_eCondVar: - root::mozilla::BlockingResourceBase_BlockingResourceType = 2; - pub const BlockingResourceBase_BlockingResourceType_eRecursiveMutex: - root::mozilla::BlockingResourceBase_BlockingResourceType = 3; + pub const BlockingResourceBase_BlockingResourceType_eMutex : root :: mozilla :: BlockingResourceBase_BlockingResourceType = 0 ; + pub const BlockingResourceBase_BlockingResourceType_eReentrantMonitor : root :: mozilla :: BlockingResourceBase_BlockingResourceType = 1 ; + pub const BlockingResourceBase_BlockingResourceType_eCondVar : root :: mozilla :: BlockingResourceBase_BlockingResourceType = 2 ; + pub const BlockingResourceBase_BlockingResourceType_eRecursiveMutex : root :: mozilla :: BlockingResourceBase_BlockingResourceType = 3 ; pub type BlockingResourceBase_BlockingResourceType = u32; extern "C" { #[link_name = "\u{1}_ZN7mozilla20BlockingResourceBase17kResourceTypeNameE"] @@ -9352,10 +9660,8 @@ pub mod root { 1; pub const StyleAnimationValue_Unit_eUnit_Auto: root::mozilla::StyleAnimationValue_Unit = 2; pub const StyleAnimationValue_Unit_eUnit_None: root::mozilla::StyleAnimationValue_Unit = 3; - pub const StyleAnimationValue_Unit_eUnit_Enumerated: - root::mozilla::StyleAnimationValue_Unit = 4; - pub const StyleAnimationValue_Unit_eUnit_Visibility: - root::mozilla::StyleAnimationValue_Unit = 5; + pub const StyleAnimationValue_Unit_eUnit_Enumerated : root :: mozilla :: StyleAnimationValue_Unit = 4 ; + pub const StyleAnimationValue_Unit_eUnit_Visibility : root :: mozilla :: StyleAnimationValue_Unit = 5 ; pub const StyleAnimationValue_Unit_eUnit_Integer: root::mozilla::StyleAnimationValue_Unit = 6; pub const StyleAnimationValue_Unit_eUnit_Coord: root::mozilla::StyleAnimationValue_Unit = 7; @@ -9364,38 +9670,27 @@ pub mod root { pub const StyleAnimationValue_Unit_eUnit_Float: root::mozilla::StyleAnimationValue_Unit = 9; pub const StyleAnimationValue_Unit_eUnit_Color: root::mozilla::StyleAnimationValue_Unit = 10; - pub const StyleAnimationValue_Unit_eUnit_CurrentColor: - root::mozilla::StyleAnimationValue_Unit = 11; - pub const StyleAnimationValue_Unit_eUnit_ComplexColor: - root::mozilla::StyleAnimationValue_Unit = 12; + pub const StyleAnimationValue_Unit_eUnit_CurrentColor : root :: mozilla :: StyleAnimationValue_Unit = 11 ; + pub const StyleAnimationValue_Unit_eUnit_ComplexColor : root :: mozilla :: StyleAnimationValue_Unit = 12 ; pub const StyleAnimationValue_Unit_eUnit_Calc: root::mozilla::StyleAnimationValue_Unit = 13; - pub const StyleAnimationValue_Unit_eUnit_ObjectPosition: - root::mozilla::StyleAnimationValue_Unit = 14; + pub const StyleAnimationValue_Unit_eUnit_ObjectPosition : root :: mozilla :: StyleAnimationValue_Unit = 14 ; pub const StyleAnimationValue_Unit_eUnit_URL: root::mozilla::StyleAnimationValue_Unit = 15; - pub const StyleAnimationValue_Unit_eUnit_DiscreteCSSValue: - root::mozilla::StyleAnimationValue_Unit = 16; - pub const StyleAnimationValue_Unit_eUnit_CSSValuePair: - root::mozilla::StyleAnimationValue_Unit = 17; - pub const StyleAnimationValue_Unit_eUnit_CSSValueTriplet: - root::mozilla::StyleAnimationValue_Unit = 18; + pub const StyleAnimationValue_Unit_eUnit_DiscreteCSSValue : root :: mozilla :: StyleAnimationValue_Unit = 16 ; + pub const StyleAnimationValue_Unit_eUnit_CSSValuePair : root :: mozilla :: StyleAnimationValue_Unit = 17 ; + pub const StyleAnimationValue_Unit_eUnit_CSSValueTriplet : root :: mozilla :: StyleAnimationValue_Unit = 18 ; pub const StyleAnimationValue_Unit_eUnit_CSSRect: root::mozilla::StyleAnimationValue_Unit = 19; - pub const StyleAnimationValue_Unit_eUnit_Dasharray: - root::mozilla::StyleAnimationValue_Unit = 20; + pub const StyleAnimationValue_Unit_eUnit_Dasharray : root :: mozilla :: StyleAnimationValue_Unit = 20 ; pub const StyleAnimationValue_Unit_eUnit_Shadow: root::mozilla::StyleAnimationValue_Unit = 21; pub const StyleAnimationValue_Unit_eUnit_Shape: root::mozilla::StyleAnimationValue_Unit = 22; pub const StyleAnimationValue_Unit_eUnit_Filter: root::mozilla::StyleAnimationValue_Unit = 23; - pub const StyleAnimationValue_Unit_eUnit_Transform: - root::mozilla::StyleAnimationValue_Unit = 24; - pub const StyleAnimationValue_Unit_eUnit_BackgroundPositionCoord: - root::mozilla::StyleAnimationValue_Unit = 25; - pub const StyleAnimationValue_Unit_eUnit_CSSValuePairList: - root::mozilla::StyleAnimationValue_Unit = 26; - pub const StyleAnimationValue_Unit_eUnit_UnparsedString: - root::mozilla::StyleAnimationValue_Unit = 27; + pub const StyleAnimationValue_Unit_eUnit_Transform : root :: mozilla :: StyleAnimationValue_Unit = 24 ; + pub const StyleAnimationValue_Unit_eUnit_BackgroundPositionCoord : root :: mozilla :: StyleAnimationValue_Unit = 25 ; + pub const StyleAnimationValue_Unit_eUnit_CSSValuePairList : root :: mozilla :: StyleAnimationValue_Unit = 26 ; + pub const StyleAnimationValue_Unit_eUnit_UnparsedString : root :: mozilla :: StyleAnimationValue_Unit = 27 ; /// The types and values for the values that we extract and animate. pub type StyleAnimationValue_Unit = u32; #[repr(C)] @@ -9607,20 +9902,15 @@ pub mod root { *self } } - pub const StyleAnimationValue_IntegerConstructorType_IntegerConstructor: - root::mozilla::StyleAnimationValue_IntegerConstructorType = 0; + pub const StyleAnimationValue_IntegerConstructorType_IntegerConstructor : root :: mozilla :: StyleAnimationValue_IntegerConstructorType = 0 ; pub type StyleAnimationValue_IntegerConstructorType = u32; - pub const StyleAnimationValue_CoordConstructorType_CoordConstructor: - root::mozilla::StyleAnimationValue_CoordConstructorType = 0; + pub const StyleAnimationValue_CoordConstructorType_CoordConstructor : root :: mozilla :: StyleAnimationValue_CoordConstructorType = 0 ; pub type StyleAnimationValue_CoordConstructorType = u32; - pub const StyleAnimationValue_PercentConstructorType_PercentConstructor: - root::mozilla::StyleAnimationValue_PercentConstructorType = 0; + pub const StyleAnimationValue_PercentConstructorType_PercentConstructor : root :: mozilla :: StyleAnimationValue_PercentConstructorType = 0 ; pub type StyleAnimationValue_PercentConstructorType = u32; - pub const StyleAnimationValue_FloatConstructorType_FloatConstructor: - root::mozilla::StyleAnimationValue_FloatConstructorType = 0; + pub const StyleAnimationValue_FloatConstructorType_FloatConstructor : root :: mozilla :: StyleAnimationValue_FloatConstructorType = 0 ; pub type StyleAnimationValue_FloatConstructorType = u32; - pub const StyleAnimationValue_ColorConstructorType_ColorConstructor: - root::mozilla::StyleAnimationValue_ColorConstructorType = 0; + pub const StyleAnimationValue_ColorConstructorType_ColorConstructor : root :: mozilla :: StyleAnimationValue_ColorConstructorType = 0 ; pub type StyleAnimationValue_ColorConstructorType = u32; #[test] fn bindgen_test_layout_StyleAnimationValue() { @@ -10041,12 +10331,9 @@ pub mod root { pub struct MozPromise_ResolveOrRejectValue { pub mValue: root::mozilla::MozPromise_ResolveOrRejectValue_Storage, } - pub const MozPromise_ResolveOrRejectValue_NothingIndex: - root::mozilla::MozPromise_ResolveOrRejectValue__bindgen_ty_1 = 0; - pub const MozPromise_ResolveOrRejectValue_ResolveIndex: - root::mozilla::MozPromise_ResolveOrRejectValue__bindgen_ty_1 = 0; - pub const MozPromise_ResolveOrRejectValue_RejectIndex: - root::mozilla::MozPromise_ResolveOrRejectValue__bindgen_ty_1 = 0; + pub const MozPromise_ResolveOrRejectValue_NothingIndex : root :: mozilla :: MozPromise_ResolveOrRejectValue__bindgen_ty_1 = 0 ; + pub const MozPromise_ResolveOrRejectValue_ResolveIndex : root :: mozilla :: MozPromise_ResolveOrRejectValue__bindgen_ty_1 = 0 ; + pub const MozPromise_ResolveOrRejectValue_RejectIndex : root :: mozilla :: MozPromise_ResolveOrRejectValue__bindgen_ty_1 = 0 ; pub type MozPromise_ResolveOrRejectValue__bindgen_ty_1 = i32; pub type MozPromise_ResolveOrRejectValue_Storage = root::mozilla::Variant; pub type MozPromise_AllPromiseType = u8; @@ -10253,8 +10540,7 @@ pub mod root { pub type URIPrincipalReferrerPolicyAndCORSModeHashKey_KeyTypePointer = *const root::mozilla::URIPrincipalReferrerPolicyAndCORSModeHashKey; pub use self :: super :: super :: root :: mozilla :: net :: ReferrerPolicy as URIPrincipalReferrerPolicyAndCORSModeHashKey_ReferrerPolicy; - pub const URIPrincipalReferrerPolicyAndCORSModeHashKey_ALLOW_MEMMOVE: - root::mozilla::URIPrincipalReferrerPolicyAndCORSModeHashKey__bindgen_ty_1 = 1; + pub const URIPrincipalReferrerPolicyAndCORSModeHashKey_ALLOW_MEMMOVE : root :: mozilla :: URIPrincipalReferrerPolicyAndCORSModeHashKey__bindgen_ty_1 = 1 ; pub type URIPrincipalReferrerPolicyAndCORSModeHashKey__bindgen_ty_1 = u32; #[test] fn bindgen_test_layout_URIPrincipalReferrerPolicyAndCORSModeHashKey() { @@ -10774,10 +11060,8 @@ pub mod root { pub mTimingFunction: root::nsSMILKeySpline, pub mStepsOrFrames: u32, } - pub const ComputedTimingFunction_BeforeFlag_Unset: - root::mozilla::ComputedTimingFunction_BeforeFlag = 0; - pub const ComputedTimingFunction_BeforeFlag_Set: - root::mozilla::ComputedTimingFunction_BeforeFlag = 1; + pub const ComputedTimingFunction_BeforeFlag_Unset : root :: mozilla :: ComputedTimingFunction_BeforeFlag = 0 ; + pub const ComputedTimingFunction_BeforeFlag_Set : root :: mozilla :: ComputedTimingFunction_BeforeFlag = 1 ; pub type ComputedTimingFunction_BeforeFlag = i32; #[test] fn bindgen_test_layout_ComputedTimingFunction() { @@ -11014,12 +11298,9 @@ pub mod root { } pub const ComputedTiming_AnimationPhase_Idle: root::mozilla::ComputedTiming_AnimationPhase = 0; - pub const ComputedTiming_AnimationPhase_Before: - root::mozilla::ComputedTiming_AnimationPhase = 1; - pub const ComputedTiming_AnimationPhase_Active: - root::mozilla::ComputedTiming_AnimationPhase = 2; - pub const ComputedTiming_AnimationPhase_After: - root::mozilla::ComputedTiming_AnimationPhase = 3; + pub const ComputedTiming_AnimationPhase_Before : root :: mozilla :: ComputedTiming_AnimationPhase = 1 ; + pub const ComputedTiming_AnimationPhase_Active : root :: mozilla :: ComputedTiming_AnimationPhase = 2 ; + pub const ComputedTiming_AnimationPhase_After : root :: mozilla :: ComputedTiming_AnimationPhase = 3 ; pub type ComputedTiming_AnimationPhase = i32; #[test] fn bindgen_test_layout_ComputedTiming() { @@ -11734,32 +12015,25 @@ pub mod root { } pub const LookAndFeel_IntID_eIntID_CaretBlinkTime: root::mozilla::LookAndFeel_IntID = 0; pub const LookAndFeel_IntID_eIntID_CaretWidth: root::mozilla::LookAndFeel_IntID = 1; - pub const LookAndFeel_IntID_eIntID_ShowCaretDuringSelection: - root::mozilla::LookAndFeel_IntID = 2; - pub const LookAndFeel_IntID_eIntID_SelectTextfieldsOnKeyFocus: - root::mozilla::LookAndFeel_IntID = 3; + pub const LookAndFeel_IntID_eIntID_ShowCaretDuringSelection : root :: mozilla :: LookAndFeel_IntID = 2 ; + pub const LookAndFeel_IntID_eIntID_SelectTextfieldsOnKeyFocus : root :: mozilla :: LookAndFeel_IntID = 3 ; pub const LookAndFeel_IntID_eIntID_SubmenuDelay: root::mozilla::LookAndFeel_IntID = 4; pub const LookAndFeel_IntID_eIntID_MenusCanOverlapOSBar: root::mozilla::LookAndFeel_IntID = 5; pub const LookAndFeel_IntID_eIntID_UseOverlayScrollbars: root::mozilla::LookAndFeel_IntID = 6; - pub const LookAndFeel_IntID_eIntID_AllowOverlayScrollbarsOverlap: - root::mozilla::LookAndFeel_IntID = 7; + pub const LookAndFeel_IntID_eIntID_AllowOverlayScrollbarsOverlap : root :: mozilla :: LookAndFeel_IntID = 7 ; pub const LookAndFeel_IntID_eIntID_ShowHideScrollbars: root::mozilla::LookAndFeel_IntID = 8; - pub const LookAndFeel_IntID_eIntID_SkipNavigatingDisabledMenuItem: - root::mozilla::LookAndFeel_IntID = 9; + pub const LookAndFeel_IntID_eIntID_SkipNavigatingDisabledMenuItem : root :: mozilla :: LookAndFeel_IntID = 9 ; pub const LookAndFeel_IntID_eIntID_DragThresholdX: root::mozilla::LookAndFeel_IntID = 10; pub const LookAndFeel_IntID_eIntID_DragThresholdY: root::mozilla::LookAndFeel_IntID = 11; pub const LookAndFeel_IntID_eIntID_UseAccessibilityTheme: root::mozilla::LookAndFeel_IntID = 12; pub const LookAndFeel_IntID_eIntID_ScrollArrowStyle: root::mozilla::LookAndFeel_IntID = 13; pub const LookAndFeel_IntID_eIntID_ScrollSliderStyle: root::mozilla::LookAndFeel_IntID = 14; - pub const LookAndFeel_IntID_eIntID_ScrollButtonLeftMouseButtonAction: - root::mozilla::LookAndFeel_IntID = 15; - pub const LookAndFeel_IntID_eIntID_ScrollButtonMiddleMouseButtonAction: - root::mozilla::LookAndFeel_IntID = 16; - pub const LookAndFeel_IntID_eIntID_ScrollButtonRightMouseButtonAction: - root::mozilla::LookAndFeel_IntID = 17; + pub const LookAndFeel_IntID_eIntID_ScrollButtonLeftMouseButtonAction : root :: mozilla :: LookAndFeel_IntID = 15 ; + pub const LookAndFeel_IntID_eIntID_ScrollButtonMiddleMouseButtonAction : root :: mozilla :: LookAndFeel_IntID = 16 ; + pub const LookAndFeel_IntID_eIntID_ScrollButtonRightMouseButtonAction : root :: mozilla :: LookAndFeel_IntID = 17 ; pub const LookAndFeel_IntID_eIntID_TreeOpenDelay: root::mozilla::LookAndFeel_IntID = 18; pub const LookAndFeel_IntID_eIntID_TreeCloseDelay: root::mozilla::LookAndFeel_IntID = 19; pub const LookAndFeel_IntID_eIntID_TreeLazyScrollDelay: root::mozilla::LookAndFeel_IntID = @@ -11768,10 +12042,8 @@ pub mod root { pub const LookAndFeel_IntID_eIntID_TreeScrollLinesMax: root::mozilla::LookAndFeel_IntID = 22; pub const LookAndFeel_IntID_eIntID_TabFocusModel: root::mozilla::LookAndFeel_IntID = 23; - pub const LookAndFeel_IntID_eIntID_ChosenMenuItemsShouldBlink: - root::mozilla::LookAndFeel_IntID = 24; - pub const LookAndFeel_IntID_eIntID_WindowsAccentColorInTitlebar: - root::mozilla::LookAndFeel_IntID = 25; + pub const LookAndFeel_IntID_eIntID_ChosenMenuItemsShouldBlink : root :: mozilla :: LookAndFeel_IntID = 24 ; + pub const LookAndFeel_IntID_eIntID_WindowsAccentColorInTitlebar : root :: mozilla :: LookAndFeel_IntID = 25 ; pub const LookAndFeel_IntID_eIntID_WindowsDefaultTheme: root::mozilla::LookAndFeel_IntID = 26; pub const LookAndFeel_IntID_eIntID_DWMCompositor: root::mozilla::LookAndFeel_IntID = 27; @@ -11780,8 +12052,7 @@ pub mod root { pub const LookAndFeel_IntID_eIntID_TouchEnabled: root::mozilla::LookAndFeel_IntID = 30; pub const LookAndFeel_IntID_eIntID_MacGraphiteTheme: root::mozilla::LookAndFeel_IntID = 31; pub const LookAndFeel_IntID_eIntID_MacYosemiteTheme: root::mozilla::LookAndFeel_IntID = 32; - pub const LookAndFeel_IntID_eIntID_AlertNotificationOrigin: - root::mozilla::LookAndFeel_IntID = 33; + pub const LookAndFeel_IntID_eIntID_AlertNotificationOrigin : root :: mozilla :: LookAndFeel_IntID = 33 ; /// If true, clicking on a scrollbar (not as in dragging the thumb) defaults /// to scrolling the view corresponding to the clicked point. Otherwise, we /// only do so if the scrollbar is clicked using the middle mouse button or @@ -11789,58 +12060,46 @@ pub mod root { pub const LookAndFeel_IntID_eIntID_ScrollToClick: root::mozilla::LookAndFeel_IntID = 34; /// IME and spell checker underline styles, the values should be /// NS_DECORATION_LINE_STYLE_*. They are defined below. - pub const LookAndFeel_IntID_eIntID_IMERawInputUnderlineStyle: - root::mozilla::LookAndFeel_IntID = 35; + pub const LookAndFeel_IntID_eIntID_IMERawInputUnderlineStyle : root :: mozilla :: LookAndFeel_IntID = 35 ; /// IME and spell checker underline styles, the values should be /// NS_DECORATION_LINE_STYLE_*. They are defined below. - pub const LookAndFeel_IntID_eIntID_IMESelectedRawTextUnderlineStyle: - root::mozilla::LookAndFeel_IntID = 36; + pub const LookAndFeel_IntID_eIntID_IMESelectedRawTextUnderlineStyle : root :: mozilla :: LookAndFeel_IntID = 36 ; /// IME and spell checker underline styles, the values should be /// NS_DECORATION_LINE_STYLE_*. They are defined below. - pub const LookAndFeel_IntID_eIntID_IMEConvertedTextUnderlineStyle: - root::mozilla::LookAndFeel_IntID = 37; + pub const LookAndFeel_IntID_eIntID_IMEConvertedTextUnderlineStyle : root :: mozilla :: LookAndFeel_IntID = 37 ; /// IME and spell checker underline styles, the values should be /// NS_DECORATION_LINE_STYLE_*. They are defined below. - pub const LookAndFeel_IntID_eIntID_IMESelectedConvertedTextUnderline: - root::mozilla::LookAndFeel_IntID = 38; + pub const LookAndFeel_IntID_eIntID_IMESelectedConvertedTextUnderline : root :: mozilla :: LookAndFeel_IntID = 38 ; /// IME and spell checker underline styles, the values should be /// NS_DECORATION_LINE_STYLE_*. They are defined below. - pub const LookAndFeel_IntID_eIntID_SpellCheckerUnderlineStyle: - root::mozilla::LookAndFeel_IntID = 39; + pub const LookAndFeel_IntID_eIntID_SpellCheckerUnderlineStyle : root :: mozilla :: LookAndFeel_IntID = 39 ; /// If this metric != 0, support window dragging on the menubar. pub const LookAndFeel_IntID_eIntID_MenuBarDrag: root::mozilla::LookAndFeel_IntID = 40; /// Return the appropriate WindowsThemeIdentifier for the current theme. - pub const LookAndFeel_IntID_eIntID_WindowsThemeIdentifier: - root::mozilla::LookAndFeel_IntID = 41; + pub const LookAndFeel_IntID_eIntID_WindowsThemeIdentifier : root :: mozilla :: LookAndFeel_IntID = 41 ; /// Return an appropriate os version identifier. - pub const LookAndFeel_IntID_eIntID_OperatingSystemVersionIdentifier: - root::mozilla::LookAndFeel_IntID = 42; + pub const LookAndFeel_IntID_eIntID_OperatingSystemVersionIdentifier : root :: mozilla :: LookAndFeel_IntID = 42 ; /// 0: scrollbar button repeats to scroll only when cursor is on the button. /// 1: scrollbar button repeats to scroll even if cursor is outside of it. - pub const LookAndFeel_IntID_eIntID_ScrollbarButtonAutoRepeatBehavior: - root::mozilla::LookAndFeel_IntID = 43; + pub const LookAndFeel_IntID_eIntID_ScrollbarButtonAutoRepeatBehavior : root :: mozilla :: LookAndFeel_IntID = 43 ; /// Delay before showing a tooltip. pub const LookAndFeel_IntID_eIntID_TooltipDelay: root::mozilla::LookAndFeel_IntID = 44; /// Delay before showing a tooltip. pub const LookAndFeel_IntID_eIntID_SwipeAnimationEnabled: root::mozilla::LookAndFeel_IntID = 45; /// Delay before showing a tooltip. - pub const LookAndFeel_IntID_eIntID_ScrollbarDisplayOnMouseMove: - root::mozilla::LookAndFeel_IntID = 46; + pub const LookAndFeel_IntID_eIntID_ScrollbarDisplayOnMouseMove : root :: mozilla :: LookAndFeel_IntID = 46 ; /// Delay before showing a tooltip. - pub const LookAndFeel_IntID_eIntID_ScrollbarFadeBeginDelay: - root::mozilla::LookAndFeel_IntID = 47; + pub const LookAndFeel_IntID_eIntID_ScrollbarFadeBeginDelay : root :: mozilla :: LookAndFeel_IntID = 47 ; /// Delay before showing a tooltip. pub const LookAndFeel_IntID_eIntID_ScrollbarFadeDuration: root::mozilla::LookAndFeel_IntID = 48; /// Distance in pixels to offset the context menu from the cursor /// on open. - pub const LookAndFeel_IntID_eIntID_ContextMenuOffsetVertical: - root::mozilla::LookAndFeel_IntID = 49; + pub const LookAndFeel_IntID_eIntID_ContextMenuOffsetVertical : root :: mozilla :: LookAndFeel_IntID = 49 ; /// Distance in pixels to offset the context menu from the cursor /// on open. - pub const LookAndFeel_IntID_eIntID_ContextMenuOffsetHorizontal: - root::mozilla::LookAndFeel_IntID = 50; + pub const LookAndFeel_IntID_eIntID_ContextMenuOffsetHorizontal : root :: mozilla :: LookAndFeel_IntID = 50 ; /// Distance in pixels to offset the context menu from the cursor /// on open. pub const LookAndFeel_IntID_eIntID_GTKCSDAvailable: root::mozilla::LookAndFeel_IntID = 51; @@ -11856,34 +12115,21 @@ pub mod root { /// on open. pub const LookAndFeel_IntID_eIntID_GTKCSDCloseButton: root::mozilla::LookAndFeel_IntID = 54; pub type LookAndFeel_IntID = u32; - pub const LookAndFeel_WindowsTheme_eWindowsTheme_Generic: - root::mozilla::LookAndFeel_WindowsTheme = 0; - pub const LookAndFeel_WindowsTheme_eWindowsTheme_Classic: - root::mozilla::LookAndFeel_WindowsTheme = 1; - pub const LookAndFeel_WindowsTheme_eWindowsTheme_Aero: - root::mozilla::LookAndFeel_WindowsTheme = 2; - pub const LookAndFeel_WindowsTheme_eWindowsTheme_LunaBlue: - root::mozilla::LookAndFeel_WindowsTheme = 3; - pub const LookAndFeel_WindowsTheme_eWindowsTheme_LunaOlive: - root::mozilla::LookAndFeel_WindowsTheme = 4; - pub const LookAndFeel_WindowsTheme_eWindowsTheme_LunaSilver: - root::mozilla::LookAndFeel_WindowsTheme = 5; - pub const LookAndFeel_WindowsTheme_eWindowsTheme_Royale: - root::mozilla::LookAndFeel_WindowsTheme = 6; - pub const LookAndFeel_WindowsTheme_eWindowsTheme_Zune: - root::mozilla::LookAndFeel_WindowsTheme = 7; - pub const LookAndFeel_WindowsTheme_eWindowsTheme_AeroLite: - root::mozilla::LookAndFeel_WindowsTheme = 8; + pub const LookAndFeel_WindowsTheme_eWindowsTheme_Generic : root :: mozilla :: LookAndFeel_WindowsTheme = 0 ; + pub const LookAndFeel_WindowsTheme_eWindowsTheme_Classic : root :: mozilla :: LookAndFeel_WindowsTheme = 1 ; + pub const LookAndFeel_WindowsTheme_eWindowsTheme_Aero : root :: mozilla :: LookAndFeel_WindowsTheme = 2 ; + pub const LookAndFeel_WindowsTheme_eWindowsTheme_LunaBlue : root :: mozilla :: LookAndFeel_WindowsTheme = 3 ; + pub const LookAndFeel_WindowsTheme_eWindowsTheme_LunaOlive : root :: mozilla :: LookAndFeel_WindowsTheme = 4 ; + pub const LookAndFeel_WindowsTheme_eWindowsTheme_LunaSilver : root :: mozilla :: LookAndFeel_WindowsTheme = 5 ; + pub const LookAndFeel_WindowsTheme_eWindowsTheme_Royale : root :: mozilla :: LookAndFeel_WindowsTheme = 6 ; + pub const LookAndFeel_WindowsTheme_eWindowsTheme_Zune : root :: mozilla :: LookAndFeel_WindowsTheme = 7 ; + pub const LookAndFeel_WindowsTheme_eWindowsTheme_AeroLite : root :: mozilla :: LookAndFeel_WindowsTheme = 8 ; /// Windows themes we currently detect. pub type LookAndFeel_WindowsTheme = u32; - pub const LookAndFeel_OperatingSystemVersion_eOperatingSystemVersion_Windows7: - root::mozilla::LookAndFeel_OperatingSystemVersion = 2; - pub const LookAndFeel_OperatingSystemVersion_eOperatingSystemVersion_Windows8: - root::mozilla::LookAndFeel_OperatingSystemVersion = 3; - pub const LookAndFeel_OperatingSystemVersion_eOperatingSystemVersion_Windows10: - root::mozilla::LookAndFeel_OperatingSystemVersion = 4; - pub const LookAndFeel_OperatingSystemVersion_eOperatingSystemVersion_Unknown: - root::mozilla::LookAndFeel_OperatingSystemVersion = 5; + pub const LookAndFeel_OperatingSystemVersion_eOperatingSystemVersion_Windows7 : root :: mozilla :: LookAndFeel_OperatingSystemVersion = 2 ; + pub const LookAndFeel_OperatingSystemVersion_eOperatingSystemVersion_Windows8 : root :: mozilla :: LookAndFeel_OperatingSystemVersion = 3 ; + pub const LookAndFeel_OperatingSystemVersion_eOperatingSystemVersion_Windows10 : root :: mozilla :: LookAndFeel_OperatingSystemVersion = 4 ; + pub const LookAndFeel_OperatingSystemVersion_eOperatingSystemVersion_Unknown : root :: mozilla :: LookAndFeel_OperatingSystemVersion = 5 ; /// Operating system versions. pub type LookAndFeel_OperatingSystemVersion = u32; pub const LookAndFeel_eScrollArrow_None: root::mozilla::LookAndFeel__bindgen_ty_1 = 0; @@ -11897,24 +12143,17 @@ pub mod root { pub type LookAndFeel__bindgen_ty_1 = u32; pub const LookAndFeel_eScrollArrowStyle_Single: root::mozilla::LookAndFeel__bindgen_ty_2 = 4097; - pub const LookAndFeel_eScrollArrowStyle_BothAtBottom: - root::mozilla::LookAndFeel__bindgen_ty_2 = 17; - pub const LookAndFeel_eScrollArrowStyle_BothAtEachEnd: - root::mozilla::LookAndFeel__bindgen_ty_2 = 4369; - pub const LookAndFeel_eScrollArrowStyle_BothAtTop: - root::mozilla::LookAndFeel__bindgen_ty_2 = 4352; + pub const LookAndFeel_eScrollArrowStyle_BothAtBottom : root :: mozilla :: LookAndFeel__bindgen_ty_2 = 17 ; + pub const LookAndFeel_eScrollArrowStyle_BothAtEachEnd : root :: mozilla :: LookAndFeel__bindgen_ty_2 = 4369 ; + pub const LookAndFeel_eScrollArrowStyle_BothAtTop : root :: mozilla :: LookAndFeel__bindgen_ty_2 = 4352 ; pub type LookAndFeel__bindgen_ty_2 = u32; pub const LookAndFeel_eScrollThumbStyle_Normal: root::mozilla::LookAndFeel__bindgen_ty_3 = 0; - pub const LookAndFeel_eScrollThumbStyle_Proportional: - root::mozilla::LookAndFeel__bindgen_ty_3 = 1; + pub const LookAndFeel_eScrollThumbStyle_Proportional : root :: mozilla :: LookAndFeel__bindgen_ty_3 = 1 ; pub type LookAndFeel__bindgen_ty_3 = u32; - pub const LookAndFeel_FloatID_eFloatID_IMEUnderlineRelativeSize: - root::mozilla::LookAndFeel_FloatID = 0; - pub const LookAndFeel_FloatID_eFloatID_SpellCheckerUnderlineRelativeSize: - root::mozilla::LookAndFeel_FloatID = 1; - pub const LookAndFeel_FloatID_eFloatID_CaretAspectRatio: - root::mozilla::LookAndFeel_FloatID = 2; + pub const LookAndFeel_FloatID_eFloatID_IMEUnderlineRelativeSize : root :: mozilla :: LookAndFeel_FloatID = 0 ; + pub const LookAndFeel_FloatID_eFloatID_SpellCheckerUnderlineRelativeSize : root :: mozilla :: LookAndFeel_FloatID = 1 ; + pub const LookAndFeel_FloatID_eFloatID_CaretAspectRatio : root :: mozilla :: LookAndFeel_FloatID = 2 ; pub type LookAndFeel_FloatID = u32; pub const LookAndFeel_FontID_FontID_MINIMUM: root::mozilla::LookAndFeel_FontID = LookAndFeel_FontID::eFont_Caption; @@ -12094,8 +12333,7 @@ pub mod root { pub type PseudoElementHashEntry_KeyType = root::mozilla::NonOwningAnimationTarget; pub type PseudoElementHashEntry_KeyTypePointer = *const root::mozilla::NonOwningAnimationTarget; - pub const PseudoElementHashEntry_ALLOW_MEMMOVE: - root::mozilla::PseudoElementHashEntry__bindgen_ty_1 = 1; + pub const PseudoElementHashEntry_ALLOW_MEMMOVE : root :: mozilla :: PseudoElementHashEntry__bindgen_ty_1 = 1 ; pub type PseudoElementHashEntry__bindgen_ty_1 = u32; #[test] fn bindgen_test_layout_PseudoElementHashEntry() { @@ -12177,10 +12415,8 @@ pub mod root { Animations = 0, Transitions = 1, } - pub const EffectCompositor_RestyleType_Throttled: - root::mozilla::EffectCompositor_RestyleType = 0; - pub const EffectCompositor_RestyleType_Standard: - root::mozilla::EffectCompositor_RestyleType = 1; + pub const EffectCompositor_RestyleType_Throttled : root :: mozilla :: EffectCompositor_RestyleType = 0 ; + pub const EffectCompositor_RestyleType_Standard : root :: mozilla :: EffectCompositor_RestyleType = 1 ; pub const EffectCompositor_RestyleType_Layer: root::mozilla::EffectCompositor_RestyleType = 2; pub type EffectCompositor_RestyleType = i32; @@ -13561,12 +13797,9 @@ pub mod root { pub mRefCnt: root::nsAutoRefCnt, } pub type LineBreaker_HasThreadSafeRefCnt = root::mozilla::FalseType; - pub const LineBreaker_kWordBreak_Normal: - root::mozilla::intl::LineBreaker__bindgen_ty_1 = 0; - pub const LineBreaker_kWordBreak_BreakAll: - root::mozilla::intl::LineBreaker__bindgen_ty_1 = 1; - pub const LineBreaker_kWordBreak_KeepAll: - root::mozilla::intl::LineBreaker__bindgen_ty_1 = 2; + pub const LineBreaker_kWordBreak_Normal : root :: mozilla :: intl :: LineBreaker__bindgen_ty_1 = 0 ; + pub const LineBreaker_kWordBreak_BreakAll : root :: mozilla :: intl :: LineBreaker__bindgen_ty_1 = 1 ; + pub const LineBreaker_kWordBreak_KeepAll : root :: mozilla :: intl :: LineBreaker__bindgen_ty_1 = 2 ; pub type LineBreaker__bindgen_ty_1 = u32; #[test] fn bindgen_test_layout_LineBreaker() { @@ -14352,56 +14585,31 @@ pub mod root { pub type nsTAutoStringN_literalstring_type = root::nsTAutoStringN_base_string_type; pub type nsTAutoStringN_DataFlags = root::nsTAutoStringN_base_string_type; pub type nsTAutoStringN_ClassFlags = root::nsTAutoStringN_base_string_type; - pub const nsCSSTokenSerializationType_eCSSTokenSerialization_Nothing: - root::nsCSSTokenSerializationType = 0; - pub const nsCSSTokenSerializationType_eCSSTokenSerialization_Whitespace: - root::nsCSSTokenSerializationType = 1; - pub const nsCSSTokenSerializationType_eCSSTokenSerialization_AtKeyword_or_Hash: - root::nsCSSTokenSerializationType = 2; - pub const nsCSSTokenSerializationType_eCSSTokenSerialization_Number: - root::nsCSSTokenSerializationType = 3; - pub const nsCSSTokenSerializationType_eCSSTokenSerialization_Dimension: - root::nsCSSTokenSerializationType = 4; - pub const nsCSSTokenSerializationType_eCSSTokenSerialization_Percentage: - root::nsCSSTokenSerializationType = 5; - pub const nsCSSTokenSerializationType_eCSSTokenSerialization_URange: - root::nsCSSTokenSerializationType = 6; - pub const nsCSSTokenSerializationType_eCSSTokenSerialization_URL_or_BadURL: - root::nsCSSTokenSerializationType = 7; - pub const nsCSSTokenSerializationType_eCSSTokenSerialization_Function: - root::nsCSSTokenSerializationType = 8; - pub const nsCSSTokenSerializationType_eCSSTokenSerialization_Ident: - root::nsCSSTokenSerializationType = 9; - pub const nsCSSTokenSerializationType_eCSSTokenSerialization_CDC: - root::nsCSSTokenSerializationType = 10; - pub const nsCSSTokenSerializationType_eCSSTokenSerialization_DashMatch: - root::nsCSSTokenSerializationType = 11; - pub const nsCSSTokenSerializationType_eCSSTokenSerialization_ContainsMatch: - root::nsCSSTokenSerializationType = 12; - pub const nsCSSTokenSerializationType_eCSSTokenSerialization_Symbol_Hash: - root::nsCSSTokenSerializationType = 13; - pub const nsCSSTokenSerializationType_eCSSTokenSerialization_Symbol_At: - root::nsCSSTokenSerializationType = 14; - pub const nsCSSTokenSerializationType_eCSSTokenSerialization_Symbol_Dot_or_Plus: - root::nsCSSTokenSerializationType = 15; - pub const nsCSSTokenSerializationType_eCSSTokenSerialization_Symbol_Minus: - root::nsCSSTokenSerializationType = 16; - pub const nsCSSTokenSerializationType_eCSSTokenSerialization_Symbol_OpenParen: - root::nsCSSTokenSerializationType = 17; - pub const nsCSSTokenSerializationType_eCSSTokenSerialization_Symbol_Question: - root::nsCSSTokenSerializationType = 18; - pub const nsCSSTokenSerializationType_eCSSTokenSerialization_Symbol_Assorted: - root::nsCSSTokenSerializationType = 19; - pub const nsCSSTokenSerializationType_eCSSTokenSerialization_Symbol_Equals: - root::nsCSSTokenSerializationType = 20; - pub const nsCSSTokenSerializationType_eCSSTokenSerialization_Symbol_Bar: - root::nsCSSTokenSerializationType = 21; - pub const nsCSSTokenSerializationType_eCSSTokenSerialization_Symbol_Slash: - root::nsCSSTokenSerializationType = 22; - pub const nsCSSTokenSerializationType_eCSSTokenSerialization_Symbol_Asterisk: - root::nsCSSTokenSerializationType = 23; - pub const nsCSSTokenSerializationType_eCSSTokenSerialization_Other: - root::nsCSSTokenSerializationType = 24; + pub const nsCSSTokenSerializationType_eCSSTokenSerialization_Nothing : root :: nsCSSTokenSerializationType = 0 ; + pub const nsCSSTokenSerializationType_eCSSTokenSerialization_Whitespace : root :: nsCSSTokenSerializationType = 1 ; + pub const nsCSSTokenSerializationType_eCSSTokenSerialization_AtKeyword_or_Hash : root :: nsCSSTokenSerializationType = 2 ; + pub const nsCSSTokenSerializationType_eCSSTokenSerialization_Number : root :: nsCSSTokenSerializationType = 3 ; + pub const nsCSSTokenSerializationType_eCSSTokenSerialization_Dimension : root :: nsCSSTokenSerializationType = 4 ; + pub const nsCSSTokenSerializationType_eCSSTokenSerialization_Percentage : root :: nsCSSTokenSerializationType = 5 ; + pub const nsCSSTokenSerializationType_eCSSTokenSerialization_URange : root :: nsCSSTokenSerializationType = 6 ; + pub const nsCSSTokenSerializationType_eCSSTokenSerialization_URL_or_BadURL : root :: nsCSSTokenSerializationType = 7 ; + pub const nsCSSTokenSerializationType_eCSSTokenSerialization_Function : root :: nsCSSTokenSerializationType = 8 ; + pub const nsCSSTokenSerializationType_eCSSTokenSerialization_Ident : root :: nsCSSTokenSerializationType = 9 ; + pub const nsCSSTokenSerializationType_eCSSTokenSerialization_CDC : root :: nsCSSTokenSerializationType = 10 ; + pub const nsCSSTokenSerializationType_eCSSTokenSerialization_DashMatch : root :: nsCSSTokenSerializationType = 11 ; + pub const nsCSSTokenSerializationType_eCSSTokenSerialization_ContainsMatch : root :: nsCSSTokenSerializationType = 12 ; + pub const nsCSSTokenSerializationType_eCSSTokenSerialization_Symbol_Hash : root :: nsCSSTokenSerializationType = 13 ; + pub const nsCSSTokenSerializationType_eCSSTokenSerialization_Symbol_At : root :: nsCSSTokenSerializationType = 14 ; + pub const nsCSSTokenSerializationType_eCSSTokenSerialization_Symbol_Dot_or_Plus : root :: nsCSSTokenSerializationType = 15 ; + pub const nsCSSTokenSerializationType_eCSSTokenSerialization_Symbol_Minus : root :: nsCSSTokenSerializationType = 16 ; + pub const nsCSSTokenSerializationType_eCSSTokenSerialization_Symbol_OpenParen : root :: nsCSSTokenSerializationType = 17 ; + pub const nsCSSTokenSerializationType_eCSSTokenSerialization_Symbol_Question : root :: nsCSSTokenSerializationType = 18 ; + pub const nsCSSTokenSerializationType_eCSSTokenSerialization_Symbol_Assorted : root :: nsCSSTokenSerializationType = 19 ; + pub const nsCSSTokenSerializationType_eCSSTokenSerialization_Symbol_Equals : root :: nsCSSTokenSerializationType = 20 ; + pub const nsCSSTokenSerializationType_eCSSTokenSerialization_Symbol_Bar : root :: nsCSSTokenSerializationType = 21 ; + pub const nsCSSTokenSerializationType_eCSSTokenSerialization_Symbol_Slash : root :: nsCSSTokenSerializationType = 22 ; + pub const nsCSSTokenSerializationType_eCSSTokenSerialization_Symbol_Asterisk : root :: nsCSSTokenSerializationType = 23 ; + pub const nsCSSTokenSerializationType_eCSSTokenSerialization_Other : root :: nsCSSTokenSerializationType = 24 ; pub type nsCSSTokenSerializationType = u32; #[repr(C)] pub struct nsCSSScanner { @@ -14423,19 +14631,14 @@ pub mod root { pub mSourceURL: ::nsstring::nsStringRepr, } pub const nsCSSScanner_EOFCharacters_eEOFCharacters_None: root::nsCSSScanner_EOFCharacters = 0; - pub const nsCSSScanner_EOFCharacters_eEOFCharacters_DropBackslash: - root::nsCSSScanner_EOFCharacters = 1; - pub const nsCSSScanner_EOFCharacters_eEOFCharacters_ReplacementChar: - root::nsCSSScanner_EOFCharacters = 2; + pub const nsCSSScanner_EOFCharacters_eEOFCharacters_DropBackslash : root :: nsCSSScanner_EOFCharacters = 1 ; + pub const nsCSSScanner_EOFCharacters_eEOFCharacters_ReplacementChar : root :: nsCSSScanner_EOFCharacters = 2 ; pub const nsCSSScanner_EOFCharacters_eEOFCharacters_Asterisk: root::nsCSSScanner_EOFCharacters = 4; pub const nsCSSScanner_EOFCharacters_eEOFCharacters_Slash: root::nsCSSScanner_EOFCharacters = 8; - pub const nsCSSScanner_EOFCharacters_eEOFCharacters_DoubleQuote: - root::nsCSSScanner_EOFCharacters = 16; - pub const nsCSSScanner_EOFCharacters_eEOFCharacters_SingleQuote: - root::nsCSSScanner_EOFCharacters = 32; - pub const nsCSSScanner_EOFCharacters_eEOFCharacters_CloseParen: - root::nsCSSScanner_EOFCharacters = 64; + pub const nsCSSScanner_EOFCharacters_eEOFCharacters_DoubleQuote : root :: nsCSSScanner_EOFCharacters = 16 ; + pub const nsCSSScanner_EOFCharacters_eEOFCharacters_SingleQuote : root :: nsCSSScanner_EOFCharacters = 32 ; + pub const nsCSSScanner_EOFCharacters_eEOFCharacters_CloseParen : root :: nsCSSScanner_EOFCharacters = 64 ; pub type nsCSSScanner_EOFCharacters = u32; #[test] fn bindgen_test_layout_nsCSSScanner() { @@ -14652,13 +14855,6 @@ pub mod root { *self } } - pub type PRUint32 = ::std::os::raw::c_uint; - pub type PRIntn = ::std::os::raw::c_int; - pub type PRUintn = ::std::os::raw::c_uint; - /// TYPES: PRSize - /// DESCRIPTION: - /// A type for representing the size of objects. - pub type PRSize = usize; #[repr(C)] #[derive(Debug, Copy)] pub struct PRThread { @@ -14940,281 +15136,6 @@ pub mod root { ); } } - pub type Value_PayloadType = u64; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct Value_layout { - pub asBits: root::__BindgenUnionField, - pub debugView: root::__BindgenUnionField, - pub s: root::__BindgenUnionField, - pub asDouble: root::__BindgenUnionField, - pub asPtr: root::__BindgenUnionField<*mut ::std::os::raw::c_void>, - pub asWord: root::__BindgenUnionField, - pub asUIntPtr: root::__BindgenUnionField, - pub bindgen_union_field: u64, - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct Value_layout__bindgen_ty_1 { - pub _bitfield_1: root::__BindgenBitfieldUnit<[u8; 8usize], u64>, - pub __bindgen_align: [u64; 0usize], - } - #[test] - fn bindgen_test_layout_Value_layout__bindgen_ty_1() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(Value_layout__bindgen_ty_1)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(Value_layout__bindgen_ty_1)) - ); - } - impl Clone for Value_layout__bindgen_ty_1 { - fn clone(&self) -> Self { - *self - } - } - impl Value_layout__bindgen_ty_1 { - #[inline] - pub fn payload47(&self) -> u64 { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 47u8) as u64) } - } - #[inline] - pub fn set_payload47(&mut self, val: u64) { - unsafe { - let val: u64 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 47u8, val as u64) - } - } - #[inline] - pub fn tag(&self) -> root::JSValueTag { - unsafe { ::std::mem::transmute(self._bitfield_1.get(47usize, 17u8) as u32) } - } - #[inline] - pub fn set_tag(&mut self, val: root::JSValueTag) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(47usize, 17u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - payload47: u64, - tag: root::JSValueTag, - ) -> root::__BindgenBitfieldUnit<[u8; 8usize], u64> { - let mut __bindgen_bitfield_unit: root::__BindgenBitfieldUnit< - [u8; 8usize], - u64, - > = Default::default(); - __bindgen_bitfield_unit.set(0usize, 47u8, { - let payload47: u64 = unsafe { ::std::mem::transmute(payload47) }; - payload47 as u64 - }); - __bindgen_bitfield_unit.set(47usize, 17u8, { - let tag: u32 = unsafe { ::std::mem::transmute(tag) }; - tag as u64 - }); - __bindgen_bitfield_unit - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct Value_layout__bindgen_ty_2 { - pub payload: root::JS::Value_layout__bindgen_ty_2__bindgen_ty_1, - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct Value_layout__bindgen_ty_2__bindgen_ty_1 { - pub i32: root::__BindgenUnionField, - pub u32: root::__BindgenUnionField, - pub why: root::__BindgenUnionField, - pub bindgen_union_field: u32, - } - #[test] - fn bindgen_test_layout_Value_layout__bindgen_ty_2__bindgen_ty_1() { - assert_eq!( - ::std::mem::size_of::(), - 4usize, - concat!( - "Size of: ", - stringify!(Value_layout__bindgen_ty_2__bindgen_ty_1) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!( - "Alignment of ", - stringify!(Value_layout__bindgen_ty_2__bindgen_ty_1) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).i32 - as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(Value_layout__bindgen_ty_2__bindgen_ty_1), - "::", - stringify!(i32) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).u32 - as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(Value_layout__bindgen_ty_2__bindgen_ty_1), - "::", - stringify!(u32) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).why - as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(Value_layout__bindgen_ty_2__bindgen_ty_1), - "::", - stringify!(why) - ) - ); - } - impl Clone for Value_layout__bindgen_ty_2__bindgen_ty_1 { - fn clone(&self) -> Self { - *self - } - } - #[test] - fn bindgen_test_layout_Value_layout__bindgen_ty_2() { - assert_eq!( - ::std::mem::size_of::(), - 4usize, - concat!("Size of: ", stringify!(Value_layout__bindgen_ty_2)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(Value_layout__bindgen_ty_2)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).payload as *const _ - as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(Value_layout__bindgen_ty_2), - "::", - stringify!(payload) - ) - ); - } - impl Clone for Value_layout__bindgen_ty_2 { - fn clone(&self) -> Self { - *self - } - } - #[test] - fn bindgen_test_layout_Value_layout() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(Value_layout)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(Value_layout)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).asBits as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(Value_layout), - "::", - stringify!(asBits) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).debugView as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(Value_layout), - "::", - stringify!(debugView) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).s as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(Value_layout), - "::", - stringify!(s) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).asDouble as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(Value_layout), - "::", - stringify!(asDouble) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).asPtr as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(Value_layout), - "::", - stringify!(asPtr) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).asWord as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(Value_layout), - "::", - stringify!(asWord) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).asUIntPtr as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(Value_layout), - "::", - stringify!(asUIntPtr) - ) - ); - } - impl Clone for Value_layout { - fn clone(&self) -> Self { - *self - } - } #[repr(C)] #[derive(Debug, Copy)] pub struct ConstUTF8CharsZ { @@ -16390,8 +16311,7 @@ pub mod root { *const root::gfxFontFeatureValueSet_FeatureValueHashKey; pub type gfxFontFeatureValueSet_FeatureValueHashEntry_KeyTypePointer = *const root::gfxFontFeatureValueSet_FeatureValueHashKey; - pub const gfxFontFeatureValueSet_FeatureValueHashEntry_ALLOW_MEMMOVE: - root::gfxFontFeatureValueSet_FeatureValueHashEntry__bindgen_ty_1 = 1; + pub const gfxFontFeatureValueSet_FeatureValueHashEntry_ALLOW_MEMMOVE : root :: gfxFontFeatureValueSet_FeatureValueHashEntry__bindgen_ty_1 = 1 ; pub type gfxFontFeatureValueSet_FeatureValueHashEntry__bindgen_ty_1 = u32; #[test] fn bindgen_test_layout_gfxFontFeatureValueSet_FeatureValueHashEntry() { @@ -16782,8 +16702,7 @@ pub mod root { pub mOtherElements: root::nsTArray, pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell>, } - pub const nsStyleAutoArray_WithSingleInitialElement_WITH_SINGLE_INITIAL_ELEMENT: - root::nsStyleAutoArray_WithSingleInitialElement = 0; + pub const nsStyleAutoArray_WithSingleInitialElement_WITH_SINGLE_INITIAL_ELEMENT : root :: nsStyleAutoArray_WithSingleInitialElement = 0 ; pub type nsStyleAutoArray_WithSingleInitialElement = i32; pub const nsStyleUnit_eStyleUnit_MAX: root::nsStyleUnit = nsStyleUnit::eStyleUnit_Calc; #[repr(u8)] @@ -16966,8 +16885,7 @@ pub mod root { ) ); } - pub const nsStyleCoord_CoordConstructorType_CoordConstructor: - root::nsStyleCoord_CoordConstructorType = 0; + pub const nsStyleCoord_CoordConstructorType_CoordConstructor : root :: nsStyleCoord_CoordConstructorType = 0 ; pub type nsStyleCoord_CoordConstructorType = u32; #[test] fn bindgen_test_layout_nsStyleCoord() { @@ -17408,15 +17326,11 @@ pub mod root { pub Color: ::gecko_bindings::structs::ServoRawOffsetArc, pub List: ::gecko_bindings::structs::ServoRawOffsetArc, pub Text: ::gecko_bindings::structs::ServoRawOffsetArc, - pub Visibility: - ::gecko_bindings::structs::ServoRawOffsetArc, - pub UserInterface: - ::gecko_bindings::structs::ServoRawOffsetArc, - pub TableBorder: - ::gecko_bindings::structs::ServoRawOffsetArc, + pub Visibility: ::gecko_bindings::structs::ServoRawOffsetArc, + pub UserInterface: ::gecko_bindings::structs::ServoRawOffsetArc, + pub TableBorder: ::gecko_bindings::structs::ServoRawOffsetArc, pub SVG: ::gecko_bindings::structs::ServoRawOffsetArc, - pub Background: - ::gecko_bindings::structs::ServoRawOffsetArc, + pub Background: ::gecko_bindings::structs::ServoRawOffsetArc, pub Position: ::gecko_bindings::structs::ServoRawOffsetArc, pub TextReset: ::gecko_bindings::structs::ServoRawOffsetArc, pub Display: ::gecko_bindings::structs::ServoRawOffsetArc, @@ -17794,56 +17708,6 @@ pub mod root { } } pub type UniqueProfilerBacktrace = root::mozilla::UniquePtr; - pub const JSValueTag_JSVAL_TAG_MAX_DOUBLE: root::JSValueTag = 131056; - pub const JSValueTag_JSVAL_TAG_INT32: root::JSValueTag = 131057; - pub const JSValueTag_JSVAL_TAG_UNDEFINED: root::JSValueTag = 131059; - pub const JSValueTag_JSVAL_TAG_NULL: root::JSValueTag = 131060; - pub const JSValueTag_JSVAL_TAG_BOOLEAN: root::JSValueTag = 131058; - pub const JSValueTag_JSVAL_TAG_MAGIC: root::JSValueTag = 131061; - pub const JSValueTag_JSVAL_TAG_STRING: root::JSValueTag = 131062; - pub const JSValueTag_JSVAL_TAG_SYMBOL: root::JSValueTag = 131063; - pub const JSValueTag_JSVAL_TAG_PRIVATE_GCTHING: root::JSValueTag = 131064; - pub const JSValueTag_JSVAL_TAG_OBJECT: root::JSValueTag = 131068; - pub type JSValueTag = u32; - /// a hole in a native object's elements - pub const JSWhyMagic_JS_ELEMENTS_HOLE: root::JSWhyMagic = 0; - /// there is not a pending iterator value - pub const JSWhyMagic_JS_NO_ITER_VALUE: root::JSWhyMagic = 1; - /// exception value thrown when closing a generator - pub const JSWhyMagic_JS_GENERATOR_CLOSING: root::JSWhyMagic = 2; - /// compiler sentinel value - pub const JSWhyMagic_JS_NO_CONSTANT: root::JSWhyMagic = 3; - /// used in debug builds to catch tracing errors - pub const JSWhyMagic_JS_THIS_POISON: root::JSWhyMagic = 4; - /// used in debug builds to catch tracing errors - pub const JSWhyMagic_JS_ARG_POISON: root::JSWhyMagic = 5; - /// an empty subnode in the AST serializer - pub const JSWhyMagic_JS_SERIALIZE_NO_NODE: root::JSWhyMagic = 6; - /// lazy arguments value on the stack - pub const JSWhyMagic_JS_LAZY_ARGUMENTS: root::JSWhyMagic = 7; - /// optimized-away 'arguments' value - pub const JSWhyMagic_JS_OPTIMIZED_ARGUMENTS: root::JSWhyMagic = 8; - /// magic value passed to natives to indicate construction - pub const JSWhyMagic_JS_IS_CONSTRUCTING: root::JSWhyMagic = 9; - /// value of static block object slot - pub const JSWhyMagic_JS_BLOCK_NEEDS_CLONE: root::JSWhyMagic = 10; - /// see class js::HashableValue - pub const JSWhyMagic_JS_HASH_KEY_EMPTY: root::JSWhyMagic = 11; - /// error while running Ion code - pub const JSWhyMagic_JS_ION_ERROR: root::JSWhyMagic = 12; - /// missing recover instruction result - pub const JSWhyMagic_JS_ION_BAILOUT: root::JSWhyMagic = 13; - /// optimized out slot - pub const JSWhyMagic_JS_OPTIMIZED_OUT: root::JSWhyMagic = 14; - /// uninitialized lexical bindings that produce ReferenceError on touch. - pub const JSWhyMagic_JS_UNINITIALIZED_LEXICAL: root::JSWhyMagic = 15; - /// standard constructors are not created for off-thread parsing. - pub const JSWhyMagic_JS_OFF_THREAD_CONSTRUCTOR: root::JSWhyMagic = 16; - /// for local use - pub const JSWhyMagic_JS_GENERIC_MAGIC: root::JSWhyMagic = 17; - /// for local use - pub const JSWhyMagic_JS_WHY_MAGIC_COUNT: root::JSWhyMagic = 18; - pub type JSWhyMagic = u32; /// This structure precedes the string buffers "we" allocate. It may be the /// case that nsTAString::mData does not point to one of these special /// buffers. The mDataFlags member variable distinguishes the buffer type. @@ -17904,10 +17768,9 @@ pub mod root { #[repr(C)] #[derive(Debug)] pub struct nsAtom { - pub mRefCnt: root::mozilla::ThreadSafeAutoRefCnt, pub _bitfield_1: root::__BindgenBitfieldUnit<[u8; 4usize], u32>, pub mHash: u32, - pub mString: *mut u16, + pub mString: *const u16, } #[repr(u8)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] @@ -17921,7 +17784,7 @@ pub mod root { fn bindgen_test_layout_nsAtom() { assert_eq!( ::std::mem::size_of::(), - 24usize, + 16usize, concat!("Size of: ", stringify!(nsAtom)) ); assert_eq!( @@ -17929,19 +17792,9 @@ pub mod root { 8usize, concat!("Alignment of ", stringify!(nsAtom)) ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mRefCnt as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsAtom), - "::", - stringify!(mRefCnt) - ) - ); assert_eq!( unsafe { &(*(::std::ptr::null::())).mHash as *const _ as usize }, - 12usize, + 4usize, concat!( "Offset of field: ", stringify!(nsAtom), @@ -17951,7 +17804,7 @@ pub mod root { ); assert_eq!( unsafe { &(*(::std::ptr::null::())).mString as *const _ as usize }, - 16usize, + 8usize, concat!( "Offset of field: ", stringify!(nsAtom), @@ -18012,7 +17865,7 @@ pub mod root { fn bindgen_test_layout_nsStaticAtom() { assert_eq!( ::std::mem::size_of::(), - 24usize, + 16usize, concat!("Size of: ", stringify!(nsStaticAtom)) ); assert_eq!( @@ -18122,12 +17975,10 @@ pub mod root { pub const nsIContentPolicy_TYPE_INTERNAL_IMAGE_PRELOAD: root::nsIContentPolicy__bindgen_ty_1 = 38; pub const nsIContentPolicy_TYPE_INTERNAL_STYLESHEET: root::nsIContentPolicy__bindgen_ty_1 = 39; - pub const nsIContentPolicy_TYPE_INTERNAL_STYLESHEET_PRELOAD: - root::nsIContentPolicy__bindgen_ty_1 = 40; + pub const nsIContentPolicy_TYPE_INTERNAL_STYLESHEET_PRELOAD : root :: nsIContentPolicy__bindgen_ty_1 = 40 ; pub const nsIContentPolicy_TYPE_INTERNAL_IMAGE_FAVICON: root::nsIContentPolicy__bindgen_ty_1 = 41; - pub const nsIContentPolicy_TYPE_INTERNAL_WORKER_IMPORT_SCRIPTS: - root::nsIContentPolicy__bindgen_ty_1 = 42; + pub const nsIContentPolicy_TYPE_INTERNAL_WORKER_IMPORT_SCRIPTS : root :: nsIContentPolicy__bindgen_ty_1 = 42 ; pub const nsIContentPolicy_REJECT_REQUEST: root::nsIContentPolicy__bindgen_ty_1 = -1; pub const nsIContentPolicy_REJECT_TYPE: root::nsIContentPolicy__bindgen_ty_1 = -2; pub const nsIContentPolicy_REJECT_SERVER: root::nsIContentPolicy__bindgen_ty_1 = -3; @@ -18405,24 +18256,17 @@ pub mod root { pub _address: u8, } pub const nsIScriptSecurityManager_STANDARD: root::nsIScriptSecurityManager__bindgen_ty_1 = 0; - pub const nsIScriptSecurityManager_LOAD_IS_AUTOMATIC_DOCUMENT_REPLACEMENT: - root::nsIScriptSecurityManager__bindgen_ty_1 = 1; + pub const nsIScriptSecurityManager_LOAD_IS_AUTOMATIC_DOCUMENT_REPLACEMENT : root :: nsIScriptSecurityManager__bindgen_ty_1 = 1 ; pub const nsIScriptSecurityManager_ALLOW_CHROME: root::nsIScriptSecurityManager__bindgen_ty_1 = 2; - pub const nsIScriptSecurityManager_DISALLOW_INHERIT_PRINCIPAL: - root::nsIScriptSecurityManager__bindgen_ty_1 = 4; - pub const nsIScriptSecurityManager_DISALLOW_SCRIPT_OR_DATA: - root::nsIScriptSecurityManager__bindgen_ty_1 = 4; - pub const nsIScriptSecurityManager_DISALLOW_SCRIPT: - root::nsIScriptSecurityManager__bindgen_ty_1 = 8; - pub const nsIScriptSecurityManager_DONT_REPORT_ERRORS: - root::nsIScriptSecurityManager__bindgen_ty_1 = 16; + pub const nsIScriptSecurityManager_DISALLOW_INHERIT_PRINCIPAL : root :: nsIScriptSecurityManager__bindgen_ty_1 = 4 ; + pub const nsIScriptSecurityManager_DISALLOW_SCRIPT_OR_DATA : root :: nsIScriptSecurityManager__bindgen_ty_1 = 4 ; + pub const nsIScriptSecurityManager_DISALLOW_SCRIPT : root :: nsIScriptSecurityManager__bindgen_ty_1 = 8 ; + pub const nsIScriptSecurityManager_DONT_REPORT_ERRORS : root :: nsIScriptSecurityManager__bindgen_ty_1 = 16 ; pub type nsIScriptSecurityManager__bindgen_ty_1 = u32; pub const nsIScriptSecurityManager_NO_APP_ID: root::nsIScriptSecurityManager__bindgen_ty_2 = 0; - pub const nsIScriptSecurityManager_UNKNOWN_APP_ID: - root::nsIScriptSecurityManager__bindgen_ty_2 = 4294967295; - pub const nsIScriptSecurityManager_DEFAULT_USER_CONTEXT_ID: - root::nsIScriptSecurityManager__bindgen_ty_2 = 0; + pub const nsIScriptSecurityManager_UNKNOWN_APP_ID : root :: nsIScriptSecurityManager__bindgen_ty_2 = 4294967295 ; + pub const nsIScriptSecurityManager_DEFAULT_USER_CONTEXT_ID : root :: nsIScriptSecurityManager__bindgen_ty_2 = 0 ; pub type nsIScriptSecurityManager__bindgen_ty_2 = u32; #[test] fn bindgen_test_layout_nsIScriptSecurityManager() { @@ -18732,6 +18576,7 @@ pub mod root { ); } pub type gfxSize = [u64; 2usize]; + pub type DOMHighResTimeStamp = f64; #[repr(C)] #[derive(Debug, Copy)] pub struct nsIDOMNode { @@ -18761,275 +18606,6 @@ pub mod root { } } pub const kNameSpaceID_None: i32 = 0; - pub type PLHashNumber = root::PRUint32; - pub type PLHashFunction = ::std::option::Option< - unsafe extern "C" fn(key: *const ::std::os::raw::c_void) -> root::PLHashNumber, - >; - pub type PLHashComparator = ::std::option::Option< - unsafe extern "C" fn(v1: *const ::std::os::raw::c_void, v2: *const ::std::os::raw::c_void) - -> root::PRIntn, - >; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct PLHashAllocOps { - pub allocTable: ::std::option::Option< - unsafe extern "C" fn(pool: *mut ::std::os::raw::c_void, size: root::PRSize) - -> *mut ::std::os::raw::c_void, - >, - pub freeTable: ::std::option::Option< - unsafe extern "C" fn( - pool: *mut ::std::os::raw::c_void, - item: *mut ::std::os::raw::c_void, - ), - >, - pub allocEntry: ::std::option::Option< - unsafe extern "C" fn( - pool: *mut ::std::os::raw::c_void, - key: *const ::std::os::raw::c_void, - ) -> *mut root::PLHashEntry, - >, - pub freeEntry: ::std::option::Option< - unsafe extern "C" fn( - pool: *mut ::std::os::raw::c_void, - he: *mut root::PLHashEntry, - flag: root::PRUintn, - ), - >, - } - #[test] - fn bindgen_test_layout_PLHashAllocOps() { - assert_eq!( - ::std::mem::size_of::(), - 32usize, - concat!("Size of: ", stringify!(PLHashAllocOps)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(PLHashAllocOps)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).allocTable as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(PLHashAllocOps), - "::", - stringify!(allocTable) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).freeTable as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(PLHashAllocOps), - "::", - stringify!(freeTable) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).allocEntry as *const _ as usize }, - 16usize, - concat!( - "Offset of field: ", - stringify!(PLHashAllocOps), - "::", - stringify!(allocEntry) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).freeEntry as *const _ as usize }, - 24usize, - concat!( - "Offset of field: ", - stringify!(PLHashAllocOps), - "::", - stringify!(freeEntry) - ) - ); - } - impl Clone for PLHashAllocOps { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct PLHashEntry { - pub next: *mut root::PLHashEntry, - pub keyHash: root::PLHashNumber, - pub key: *const ::std::os::raw::c_void, - pub value: *mut ::std::os::raw::c_void, - } - #[test] - fn bindgen_test_layout_PLHashEntry() { - assert_eq!( - ::std::mem::size_of::(), - 32usize, - concat!("Size of: ", stringify!(PLHashEntry)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(PLHashEntry)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).next as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(PLHashEntry), - "::", - stringify!(next) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).keyHash as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(PLHashEntry), - "::", - stringify!(keyHash) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).key as *const _ as usize }, - 16usize, - concat!( - "Offset of field: ", - stringify!(PLHashEntry), - "::", - stringify!(key) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).value as *const _ as usize }, - 24usize, - concat!( - "Offset of field: ", - stringify!(PLHashEntry), - "::", - stringify!(value) - ) - ); - } - impl Clone for PLHashEntry { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct PLHashTable { - pub buckets: *mut *mut root::PLHashEntry, - pub nentries: root::PRUint32, - pub shift: root::PRUint32, - pub keyHash: root::PLHashFunction, - pub keyCompare: root::PLHashComparator, - pub valueCompare: root::PLHashComparator, - pub allocOps: *const root::PLHashAllocOps, - pub allocPriv: *mut ::std::os::raw::c_void, - } - #[test] - fn bindgen_test_layout_PLHashTable() { - assert_eq!( - ::std::mem::size_of::(), - 56usize, - concat!("Size of: ", stringify!(PLHashTable)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(PLHashTable)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).buckets as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(PLHashTable), - "::", - stringify!(buckets) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).nentries as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(PLHashTable), - "::", - stringify!(nentries) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).shift as *const _ as usize }, - 12usize, - concat!( - "Offset of field: ", - stringify!(PLHashTable), - "::", - stringify!(shift) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).keyHash as *const _ as usize }, - 16usize, - concat!( - "Offset of field: ", - stringify!(PLHashTable), - "::", - stringify!(keyHash) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).keyCompare as *const _ as usize }, - 24usize, - concat!( - "Offset of field: ", - stringify!(PLHashTable), - "::", - stringify!(keyCompare) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).valueCompare as *const _ as usize }, - 32usize, - concat!( - "Offset of field: ", - stringify!(PLHashTable), - "::", - stringify!(valueCompare) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).allocOps as *const _ as usize }, - 40usize, - concat!( - "Offset of field: ", - stringify!(PLHashTable), - "::", - stringify!(allocOps) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).allocPriv as *const _ as usize }, - 48usize, - concat!( - "Offset of field: ", - stringify!(PLHashTable), - "::", - stringify!(allocPriv) - ) - ); - } - impl Clone for PLHashTable { - fn clone(&self) -> Self { - *self - } - } #[repr(C)] #[derive(Debug, Copy)] pub struct nsIVariant { @@ -19061,7 +18637,7 @@ pub mod root { #[repr(C)] pub struct nsNodeInfoManager { pub mRefCnt: root::nsCycleCollectingAutoRefCnt, - pub mNodeInfoHash: *mut root::PLHashTable, + pub mNodeInfoHash: [u64; 4usize], pub mDocument: *mut root::nsIDocument, pub mNonDocumentNodeInfos: u32, pub mPrincipal: root::nsCOMPtr, @@ -19105,6 +18681,27 @@ pub mod root { pub const nsNodeInfoManager_Tri_eTriFalse: root::nsNodeInfoManager_Tri = 1; pub const nsNodeInfoManager_Tri_eTriTrue: root::nsNodeInfoManager_Tri = 2; pub type nsNodeInfoManager_Tri = u32; + #[repr(C)] + #[derive(Debug)] + pub struct nsNodeInfoManager_NodeInfoInnerKey { + pub _base: root::nsPtrHashKey, + } + #[test] + fn bindgen_test_layout_nsNodeInfoManager_NodeInfoInnerKey() { + assert_eq!( + ::std::mem::size_of::(), + 16usize, + concat!("Size of: ", stringify!(nsNodeInfoManager_NodeInfoInnerKey)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of ", + stringify!(nsNodeInfoManager_NodeInfoInnerKey) + ) + ); + } extern "C" { #[link_name = "\u{1}_ZN17nsNodeInfoManager21_cycleCollectorGlobalE"] pub static mut nsNodeInfoManager__cycleCollectorGlobal: @@ -19114,7 +18711,7 @@ pub mod root { fn bindgen_test_layout_nsNodeInfoManager() { assert_eq!( ::std::mem::size_of::(), - 336usize, + 360usize, concat!("Size of: ", stringify!(nsNodeInfoManager)) ); assert_eq!( @@ -19146,7 +18743,7 @@ pub mod root { ); assert_eq!( unsafe { &(*(::std::ptr::null::())).mDocument as *const _ as usize }, - 16usize, + 40usize, concat!( "Offset of field: ", stringify!(nsNodeInfoManager), @@ -19159,7 +18756,7 @@ pub mod root { &(*(::std::ptr::null::())).mNonDocumentNodeInfos as *const _ as usize }, - 24usize, + 48usize, concat!( "Offset of field: ", stringify!(nsNodeInfoManager), @@ -19171,7 +18768,7 @@ pub mod root { unsafe { &(*(::std::ptr::null::())).mPrincipal as *const _ as usize }, - 32usize, + 56usize, concat!( "Offset of field: ", stringify!(nsNodeInfoManager), @@ -19183,7 +18780,7 @@ pub mod root { unsafe { &(*(::std::ptr::null::())).mDefaultPrincipal as *const _ as usize }, - 40usize, + 64usize, concat!( "Offset of field: ", stringify!(nsNodeInfoManager), @@ -19195,7 +18792,7 @@ pub mod root { unsafe { &(*(::std::ptr::null::())).mTextNodeInfo as *const _ as usize }, - 48usize, + 72usize, concat!( "Offset of field: ", stringify!(nsNodeInfoManager), @@ -19207,7 +18804,7 @@ pub mod root { unsafe { &(*(::std::ptr::null::())).mCommentNodeInfo as *const _ as usize }, - 56usize, + 80usize, concat!( "Offset of field: ", stringify!(nsNodeInfoManager), @@ -19219,7 +18816,7 @@ pub mod root { unsafe { &(*(::std::ptr::null::())).mDocumentNodeInfo as *const _ as usize }, - 64usize, + 88usize, concat!( "Offset of field: ", stringify!(nsNodeInfoManager), @@ -19231,7 +18828,7 @@ pub mod root { unsafe { &(*(::std::ptr::null::())).mBindingManager as *const _ as usize }, - 72usize, + 96usize, concat!( "Offset of field: ", stringify!(nsNodeInfoManager), @@ -19244,7 +18841,7 @@ pub mod root { &(*(::std::ptr::null::())).mRecentlyUsedNodeInfos as *const _ as usize }, - 80usize, + 104usize, concat!( "Offset of field: ", stringify!(nsNodeInfoManager), @@ -19256,7 +18853,7 @@ pub mod root { unsafe { &(*(::std::ptr::null::())).mSVGEnabled as *const _ as usize }, - 328usize, + 352usize, concat!( "Offset of field: ", stringify!(nsNodeInfoManager), @@ -19268,7 +18865,7 @@ pub mod root { unsafe { &(*(::std::ptr::null::())).mMathMLEnabled as *const _ as usize }, - 332usize, + 356usize, concat!( "Offset of field: ", stringify!(nsNodeInfoManager), @@ -19479,31 +19076,30 @@ pub mod root { *self } } - pub const NODE_HAS_LISTENERMANAGER: root::_bindgen_ty_77 = 4; - pub const NODE_HAS_PROPERTIES: root::_bindgen_ty_77 = 8; - pub const NODE_IS_ANONYMOUS_ROOT: root::_bindgen_ty_77 = 16; - pub const NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE: root::_bindgen_ty_77 = 32; - pub const NODE_IS_NATIVE_ANONYMOUS_ROOT: root::_bindgen_ty_77 = 64; - pub const NODE_FORCE_XBL_BINDINGS: root::_bindgen_ty_77 = 128; - pub const NODE_MAY_BE_IN_BINDING_MNGR: root::_bindgen_ty_77 = 256; - pub const NODE_IS_EDITABLE: root::_bindgen_ty_77 = 512; - pub const NODE_IS_NATIVE_ANONYMOUS: root::_bindgen_ty_77 = 1024; - pub const NODE_IS_IN_SHADOW_TREE: root::_bindgen_ty_77 = 2048; - pub const NODE_HAS_EMPTY_SELECTOR: root::_bindgen_ty_77 = 4096; - pub const NODE_HAS_SLOW_SELECTOR: root::_bindgen_ty_77 = 8192; - pub const NODE_HAS_EDGE_CHILD_SELECTOR: root::_bindgen_ty_77 = 16384; - pub const NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS: root::_bindgen_ty_77 = 32768; - pub const NODE_ALL_SELECTOR_FLAGS: root::_bindgen_ty_77 = 61440; - pub const NODE_NEEDS_FRAME: root::_bindgen_ty_77 = 65536; - pub const NODE_DESCENDANTS_NEED_FRAMES: root::_bindgen_ty_77 = 131072; - pub const NODE_HAS_ACCESSKEY: root::_bindgen_ty_77 = 262144; - pub const NODE_HAS_DIRECTION_RTL: root::_bindgen_ty_77 = 524288; - pub const NODE_HAS_DIRECTION_LTR: root::_bindgen_ty_77 = 1048576; - pub const NODE_ALL_DIRECTION_FLAGS: root::_bindgen_ty_77 = 1572864; - pub const NODE_CHROME_ONLY_ACCESS: root::_bindgen_ty_77 = 2097152; - pub const NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS: root::_bindgen_ty_77 = 4194304; - pub const NODE_TYPE_SPECIFIC_BITS_OFFSET: root::_bindgen_ty_77 = 21; - pub type _bindgen_ty_77 = u32; + pub const NODE_HAS_LISTENERMANAGER: root::_bindgen_ty_29 = 4; + pub const NODE_HAS_PROPERTIES: root::_bindgen_ty_29 = 8; + pub const NODE_IS_ANONYMOUS_ROOT: root::_bindgen_ty_29 = 16; + pub const NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE: root::_bindgen_ty_29 = 32; + pub const NODE_IS_NATIVE_ANONYMOUS_ROOT: root::_bindgen_ty_29 = 64; + pub const NODE_MAY_BE_IN_BINDING_MNGR: root::_bindgen_ty_29 = 128; + pub const NODE_IS_EDITABLE: root::_bindgen_ty_29 = 256; + pub const NODE_IS_NATIVE_ANONYMOUS: root::_bindgen_ty_29 = 512; + pub const NODE_IS_IN_SHADOW_TREE: root::_bindgen_ty_29 = 1024; + pub const NODE_HAS_EMPTY_SELECTOR: root::_bindgen_ty_29 = 2048; + pub const NODE_HAS_SLOW_SELECTOR: root::_bindgen_ty_29 = 4096; + pub const NODE_HAS_EDGE_CHILD_SELECTOR: root::_bindgen_ty_29 = 8192; + pub const NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS: root::_bindgen_ty_29 = 16384; + pub const NODE_ALL_SELECTOR_FLAGS: root::_bindgen_ty_29 = 30720; + pub const NODE_NEEDS_FRAME: root::_bindgen_ty_29 = 32768; + pub const NODE_DESCENDANTS_NEED_FRAMES: root::_bindgen_ty_29 = 65536; + pub const NODE_HAS_ACCESSKEY: root::_bindgen_ty_29 = 131072; + pub const NODE_HAS_DIRECTION_RTL: root::_bindgen_ty_29 = 262144; + pub const NODE_HAS_DIRECTION_LTR: root::_bindgen_ty_29 = 524288; + pub const NODE_ALL_DIRECTION_FLAGS: root::_bindgen_ty_29 = 786432; + pub const NODE_CHROME_ONLY_ACCESS: root::_bindgen_ty_29 = 1048576; + pub const NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS: root::_bindgen_ty_29 = 2097152; + pub const NODE_TYPE_SPECIFIC_BITS_OFFSET: root::_bindgen_ty_29 = 20; + pub type _bindgen_ty_29 = u32; /// An internal interface that abstracts some DOMNode-related parts that both /// nsIContent and nsIDocument share. An instance of this interface has a list /// of nsIContent children and provides access to them. @@ -19515,7 +19111,7 @@ pub mod root { pub mNextSibling: *mut root::nsIContent, pub mPreviousSibling: *mut root::nsIContent, pub mFirstChild: *mut root::nsIContent, - pub __bindgen_anon_1: root::nsINode__bindgen_ty_1, + pub __bindgen_anon_1: root::nsINode__bindgen_ty_2, pub mSlots: *mut root::nsINode_nsSlots, } pub type nsINode_BoxQuadOptions = root::mozilla::dom::BoxQuadOptions; @@ -19535,30 +19131,32 @@ pub mod root { pub _address: u8, } /// nsIDocument nodes - pub const nsINode_eDOCUMENT: root::nsINode__bindgen_ty_2 = 2; + pub const nsINode_eDOCUMENT: root::nsINode__bindgen_ty_1 = 2; /// nsIAttribute nodes - pub const nsINode_eATTRIBUTE: root::nsINode__bindgen_ty_2 = 4; + pub const nsINode_eATTRIBUTE: root::nsINode__bindgen_ty_1 = 4; /// text nodes - pub const nsINode_eTEXT: root::nsINode__bindgen_ty_2 = 8; + pub const nsINode_eTEXT: root::nsINode__bindgen_ty_1 = 8; /// xml processing instructions - pub const nsINode_ePROCESSING_INSTRUCTION: root::nsINode__bindgen_ty_2 = 16; + pub const nsINode_ePROCESSING_INSTRUCTION: root::nsINode__bindgen_ty_1 = 16; /// comment nodes - pub const nsINode_eCOMMENT: root::nsINode__bindgen_ty_2 = 32; + pub const nsINode_eCOMMENT: root::nsINode__bindgen_ty_1 = 32; /// form control elements - pub const nsINode_eHTML_FORM_CONTROL: root::nsINode__bindgen_ty_2 = 64; + pub const nsINode_eHTML_FORM_CONTROL: root::nsINode__bindgen_ty_1 = 64; /// document fragments - pub const nsINode_eDOCUMENT_FRAGMENT: root::nsINode__bindgen_ty_2 = 128; + pub const nsINode_eDOCUMENT_FRAGMENT: root::nsINode__bindgen_ty_1 = 128; /// data nodes (comments, PIs, text). Nodes of this type always /// returns a non-null value for nsIContent::GetText() - pub const nsINode_eDATA_NODE: root::nsINode__bindgen_ty_2 = 256; + pub const nsINode_eDATA_NODE: root::nsINode__bindgen_ty_1 = 256; /// HTMLMediaElement - pub const nsINode_eMEDIA: root::nsINode__bindgen_ty_2 = 512; + pub const nsINode_eMEDIA: root::nsINode__bindgen_ty_1 = 512; /// animation elements - pub const nsINode_eANIMATION: root::nsINode__bindgen_ty_2 = 1024; + pub const nsINode_eANIMATION: root::nsINode__bindgen_ty_1 = 1024; /// filter elements that implement SVGFilterPrimitiveStandardAttributes - pub const nsINode_eFILTER: root::nsINode__bindgen_ty_2 = 2048; + pub const nsINode_eFILTER: root::nsINode__bindgen_ty_1 = 2048; + /// SVGGeometryElement + pub const nsINode_eSHAPE: root::nsINode__bindgen_ty_1 = 4096; /// Bit-flags to pass (or'ed together) to IsNodeOfType() - pub type nsINode__bindgen_ty_2 = u32; + pub type nsINode__bindgen_ty_1 = u32; pub const nsINode_FlattenedParentType_eNotForStyle: root::nsINode_FlattenedParentType = 0; pub const nsINode_FlattenedParentType_eForStyle: root::nsINode_FlattenedParentType = 1; pub type nsINode_FlattenedParentType = u32; @@ -19686,62 +19284,60 @@ pub mod root { NodeHasDirAutoSet = 20, NodeHasTextNodeDirectionalityMap = 21, NodeAncestorHasDirAuto = 22, - ElementIsInStyleScope = 23, - ElementIsScopedStyleRoot = 24, - NodeHandlingClick = 25, - NodeHasRelevantHoverRules = 26, - ElementHasWeirdParserInsertionMode = 27, - ParserHasNotified = 28, - MayBeApzAware = 29, - ElementMayHaveAnonymousChildren = 30, - NodeMayHaveChildrenWithLayoutBoxesDisabled = 31, - BooleanFlagCount = 32, + NodeHandlingClick = 23, + NodeHasRelevantHoverRules = 24, + ElementHasWeirdParserInsertionMode = 25, + ParserHasNotified = 26, + MayBeApzAware = 27, + ElementMayHaveAnonymousChildren = 28, + NodeMayHaveChildrenWithLayoutBoxesDisabled = 29, + BooleanFlagCount = 30, } #[repr(C)] #[derive(Debug, Copy)] - pub struct nsINode__bindgen_ty_1 { + pub struct nsINode__bindgen_ty_2 { pub mPrimaryFrame: root::__BindgenUnionField<*mut root::nsIFrame>, pub mSubtreeRoot: root::__BindgenUnionField<*mut root::nsINode>, pub bindgen_union_field: u64, } #[test] - fn bindgen_test_layout_nsINode__bindgen_ty_1() { + fn bindgen_test_layout_nsINode__bindgen_ty_2() { assert_eq!( - ::std::mem::size_of::(), + ::std::mem::size_of::(), 8usize, - concat!("Size of: ", stringify!(nsINode__bindgen_ty_1)) + concat!("Size of: ", stringify!(nsINode__bindgen_ty_2)) ); assert_eq!( - ::std::mem::align_of::(), + ::std::mem::align_of::(), 8usize, - concat!("Alignment of ", stringify!(nsINode__bindgen_ty_1)) + concat!("Alignment of ", stringify!(nsINode__bindgen_ty_2)) ); assert_eq!( unsafe { - &(*(::std::ptr::null::())).mPrimaryFrame as *const _ as usize + &(*(::std::ptr::null::())).mPrimaryFrame as *const _ as usize }, 0usize, concat!( "Offset of field: ", - stringify!(nsINode__bindgen_ty_1), + stringify!(nsINode__bindgen_ty_2), "::", stringify!(mPrimaryFrame) ) ); assert_eq!( unsafe { - &(*(::std::ptr::null::())).mSubtreeRoot as *const _ as usize + &(*(::std::ptr::null::())).mSubtreeRoot as *const _ as usize }, 0usize, concat!( "Offset of field: ", - stringify!(nsINode__bindgen_ty_1), + stringify!(nsINode__bindgen_ty_2), "::", stringify!(mSubtreeRoot) ) ); } - impl Clone for nsINode__bindgen_ty_1 { + impl Clone for nsINode__bindgen_ty_2 { fn clone(&self) -> Self { *self } @@ -20021,103 +19617,111 @@ pub mod root { } #[repr(C)] #[derive(Debug, Copy)] - pub struct nsFrameManagerBase { - pub mPresShell: *mut root::nsIPresShell, - pub mRootFrame: *mut root::nsIFrame, - pub mDisplayNoneMap: *mut root::nsFrameManagerBase_UndisplayedMap, - pub mDisplayContentsMap: *mut root::nsFrameManagerBase_UndisplayedMap, - pub mIsDestroyingFrames: bool, - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsFrameManagerBase_UndisplayedMap { + pub struct nsILayoutHistoryState { _unused: [u8; 0], } - impl Clone for nsFrameManagerBase_UndisplayedMap { + impl Clone for nsILayoutHistoryState { + fn clone(&self) -> Self { + *self + } + } + /// Frame manager interface. The frame manager serves one purpose: + ///
  • handles structural modifications to the frame model. If the frame model + /// lock can be acquired, then the changes are processed immediately; otherwise, + /// they're queued and processed later. + /// + /// FIXME(emilio): The comment above doesn't make any sense, there's no "frame + /// model lock" of any sort afaict. + #[repr(C)] + #[derive(Debug)] + pub struct nsFrameManager { + pub mPresShell: *mut root::nsIPresShell, + pub mRootFrame: *mut root::nsIFrame, + pub mDisplayNoneMap: *mut root::nsFrameManager_UndisplayedMap, + pub mDisplayContentsMap: *mut root::nsFrameManager_UndisplayedMap, + pub mIsDestroyingFrames: bool, + } + pub use self::super::root::mozilla::layout::FrameChildListID as nsFrameManager_ChildListID; + pub type nsFrameManager_UndisplayedNode = root::mozilla::UndisplayedNode; + #[repr(C)] + #[derive(Debug, Copy)] + pub struct nsFrameManager_UndisplayedMap { + _unused: [u8; 0], + } + impl Clone for nsFrameManager_UndisplayedMap { fn clone(&self) -> Self { *self } } #[test] - fn bindgen_test_layout_nsFrameManagerBase() { + fn bindgen_test_layout_nsFrameManager() { assert_eq!( - ::std::mem::size_of::(), + ::std::mem::size_of::(), 40usize, - concat!("Size of: ", stringify!(nsFrameManagerBase)) + concat!("Size of: ", stringify!(nsFrameManager)) ); assert_eq!( - ::std::mem::align_of::(), + ::std::mem::align_of::(), 8usize, - concat!("Alignment of ", stringify!(nsFrameManagerBase)) + concat!("Alignment of ", stringify!(nsFrameManager)) ); assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mPresShell as *const _ as usize - }, + unsafe { &(*(::std::ptr::null::())).mPresShell as *const _ as usize }, 0usize, concat!( "Offset of field: ", - stringify!(nsFrameManagerBase), + stringify!(nsFrameManager), "::", stringify!(mPresShell) ) ); assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mRootFrame as *const _ as usize - }, + unsafe { &(*(::std::ptr::null::())).mRootFrame as *const _ as usize }, 8usize, concat!( "Offset of field: ", - stringify!(nsFrameManagerBase), + stringify!(nsFrameManager), "::", stringify!(mRootFrame) ) ); assert_eq!( unsafe { - &(*(::std::ptr::null::())).mDisplayNoneMap as *const _ as usize + &(*(::std::ptr::null::())).mDisplayNoneMap as *const _ as usize }, 16usize, concat!( "Offset of field: ", - stringify!(nsFrameManagerBase), + stringify!(nsFrameManager), "::", stringify!(mDisplayNoneMap) ) ); assert_eq!( unsafe { - &(*(::std::ptr::null::())).mDisplayContentsMap as *const _ - as usize + &(*(::std::ptr::null::())).mDisplayContentsMap as *const _ as usize }, 24usize, concat!( "Offset of field: ", - stringify!(nsFrameManagerBase), + stringify!(nsFrameManager), "::", stringify!(mDisplayContentsMap) ) ); assert_eq!( unsafe { - &(*(::std::ptr::null::())).mIsDestroyingFrames as *const _ - as usize + &(*(::std::ptr::null::())).mIsDestroyingFrames as *const _ as usize }, 32usize, concat!( "Offset of field: ", - stringify!(nsFrameManagerBase), + stringify!(nsFrameManager), "::", stringify!(mIsDestroyingFrames) ) ); } - impl Clone for nsFrameManagerBase { - fn clone(&self) -> Self { - *self - } - } #[repr(C)] #[derive(Debug, Copy)] pub struct nsIWeakReference { @@ -20302,23 +19906,19 @@ pub mod root { pub struct imgINotificationObserver_COMTypeInfo { pub _address: u8, } - pub const imgINotificationObserver_SIZE_AVAILABLE: - root::imgINotificationObserver__bindgen_ty_1 = 1; + pub const imgINotificationObserver_SIZE_AVAILABLE : root :: imgINotificationObserver__bindgen_ty_1 = 1 ; pub const imgINotificationObserver_FRAME_UPDATE: root::imgINotificationObserver__bindgen_ty_1 = 2; - pub const imgINotificationObserver_FRAME_COMPLETE: - root::imgINotificationObserver__bindgen_ty_1 = 3; + pub const imgINotificationObserver_FRAME_COMPLETE : root :: imgINotificationObserver__bindgen_ty_1 = 3 ; pub const imgINotificationObserver_LOAD_COMPLETE: root::imgINotificationObserver__bindgen_ty_1 = 4; - pub const imgINotificationObserver_DECODE_COMPLETE: - root::imgINotificationObserver__bindgen_ty_1 = 5; + pub const imgINotificationObserver_DECODE_COMPLETE : root :: imgINotificationObserver__bindgen_ty_1 = 5 ; pub const imgINotificationObserver_DISCARD: root::imgINotificationObserver__bindgen_ty_1 = 6; pub const imgINotificationObserver_UNLOCKED_DRAW: root::imgINotificationObserver__bindgen_ty_1 = 7; pub const imgINotificationObserver_IS_ANIMATED: root::imgINotificationObserver__bindgen_ty_1 = 8; - pub const imgINotificationObserver_HAS_TRANSPARENCY: - root::imgINotificationObserver__bindgen_ty_1 = 9; + pub const imgINotificationObserver_HAS_TRANSPARENCY : root :: imgINotificationObserver__bindgen_ty_1 = 9 ; pub type imgINotificationObserver__bindgen_ty_1 = u32; #[test] fn bindgen_test_layout_imgINotificationObserver() { @@ -20609,7 +20209,7 @@ pub mod root { pub mViewManager: *mut root::nsViewManager, pub mFrameArena: root::nsPresArena, pub mSelection: root::RefPtr, - pub mFrameManager: *mut root::nsFrameManagerBase, + pub mFrameManager: *mut root::nsFrameManager, pub mForwardingContainer: u64, pub mDocAccessible: *mut root::mozilla::a11y::DocAccessible, pub mReflowContinueTimer: root::nsCOMPtr, @@ -20644,10 +20244,8 @@ pub mod root { } pub type nsIPresShell_LayerManager = root::mozilla::layers::LayerManager; pub type nsIPresShell_SourceSurface = root::mozilla::gfx::SourceSurface; - pub const nsIPresShell_eRenderFlag_STATE_IGNORING_VIEWPORT_SCROLLING: - root::nsIPresShell_eRenderFlag = 1; - pub const nsIPresShell_eRenderFlag_STATE_DRAWWINDOW_NOT_FLUSHING: - root::nsIPresShell_eRenderFlag = 2; + pub const nsIPresShell_eRenderFlag_STATE_IGNORING_VIEWPORT_SCROLLING : root :: nsIPresShell_eRenderFlag = 1 ; + pub const nsIPresShell_eRenderFlag_STATE_DRAWWINDOW_NOT_FLUSHING : root :: nsIPresShell_eRenderFlag = 2 ; pub type nsIPresShell_eRenderFlag = u32; pub type nsIPresShell_RenderFlags = u8; pub const nsIPresShell_ResizeReflowOptions_eBSizeExact: root::nsIPresShell_ResizeReflowOptions = @@ -20676,12 +20274,9 @@ pub mod root { /// be marked dirty. Passing aIntrinsicDirty = eResize and aBitToAdd = 0 /// would result in no work being done, so don't do that. pub type nsIPresShell_IntrinsicDirty = u32; - pub const nsIPresShell_ReflowRootHandling_ePositionOrSizeChange: - root::nsIPresShell_ReflowRootHandling = 0; - pub const nsIPresShell_ReflowRootHandling_eNoPositionOrSizeChange: - root::nsIPresShell_ReflowRootHandling = 1; - pub const nsIPresShell_ReflowRootHandling_eInferFromBitToAdd: - root::nsIPresShell_ReflowRootHandling = 2; + pub const nsIPresShell_ReflowRootHandling_ePositionOrSizeChange : root :: nsIPresShell_ReflowRootHandling = 0 ; + pub const nsIPresShell_ReflowRootHandling_eNoPositionOrSizeChange : root :: nsIPresShell_ReflowRootHandling = 1 ; + pub const nsIPresShell_ReflowRootHandling_eInferFromBitToAdd : root :: nsIPresShell_ReflowRootHandling = 2 ; pub type nsIPresShell_ReflowRootHandling = u32; pub const nsIPresShell_SCROLL_TOP: root::nsIPresShell__bindgen_ty_1 = 0; pub const nsIPresShell_SCROLL_BOTTOM: root::nsIPresShell__bindgen_ty_1 = 100; @@ -20692,8 +20287,7 @@ pub mod root { pub type nsIPresShell__bindgen_ty_1 = i32; pub const nsIPresShell_WhenToScroll_SCROLL_ALWAYS: root::nsIPresShell_WhenToScroll = 0; pub const nsIPresShell_WhenToScroll_SCROLL_IF_NOT_VISIBLE: root::nsIPresShell_WhenToScroll = 1; - pub const nsIPresShell_WhenToScroll_SCROLL_IF_NOT_FULLY_VISIBLE: - root::nsIPresShell_WhenToScroll = 2; + pub const nsIPresShell_WhenToScroll_SCROLL_IF_NOT_FULLY_VISIBLE : root :: nsIPresShell_WhenToScroll = 2 ; pub type nsIPresShell_WhenToScroll = u32; #[repr(C)] #[derive(Debug, Copy)] @@ -21485,6 +21079,327 @@ pub mod root { __bindgen_bitfield_unit } } + #[repr(C)] + #[derive(Debug)] + pub struct nsAttrName { + pub mBits: usize, + } + #[test] + fn bindgen_test_layout_nsAttrName() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!("Size of: ", stringify!(nsAttrName)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(nsAttrName)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).mBits as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(nsAttrName), + "::", + stringify!(mBits) + ) + ); + } + #[repr(C)] + #[derive(Debug)] + pub struct nsAttrValue { + pub mBits: usize, + } + pub const nsAttrValue_ValueType_eString: root::nsAttrValue_ValueType = 0; + pub const nsAttrValue_ValueType_eAtom: root::nsAttrValue_ValueType = 2; + pub const nsAttrValue_ValueType_eInteger: root::nsAttrValue_ValueType = 3; + pub const nsAttrValue_ValueType_eColor: root::nsAttrValue_ValueType = 7; + pub const nsAttrValue_ValueType_eEnum: root::nsAttrValue_ValueType = 11; + pub const nsAttrValue_ValueType_ePercent: root::nsAttrValue_ValueType = 15; + pub const nsAttrValue_ValueType_eCSSDeclaration: root::nsAttrValue_ValueType = 16; + pub const nsAttrValue_ValueType_eURL: root::nsAttrValue_ValueType = 17; + pub const nsAttrValue_ValueType_eImage: root::nsAttrValue_ValueType = 18; + pub const nsAttrValue_ValueType_eAtomArray: root::nsAttrValue_ValueType = 19; + pub const nsAttrValue_ValueType_eDoubleValue: root::nsAttrValue_ValueType = 20; + pub const nsAttrValue_ValueType_eIntMarginValue: root::nsAttrValue_ValueType = 21; + pub const nsAttrValue_ValueType_eSVGAngle: root::nsAttrValue_ValueType = 22; + pub const nsAttrValue_ValueType_eSVGTypesBegin: root::nsAttrValue_ValueType = 22; + pub const nsAttrValue_ValueType_eSVGIntegerPair: root::nsAttrValue_ValueType = 23; + pub const nsAttrValue_ValueType_eSVGLength: root::nsAttrValue_ValueType = 24; + pub const nsAttrValue_ValueType_eSVGLengthList: root::nsAttrValue_ValueType = 25; + pub const nsAttrValue_ValueType_eSVGNumberList: root::nsAttrValue_ValueType = 26; + pub const nsAttrValue_ValueType_eSVGNumberPair: root::nsAttrValue_ValueType = 27; + pub const nsAttrValue_ValueType_eSVGPathData: root::nsAttrValue_ValueType = 28; + pub const nsAttrValue_ValueType_eSVGPointList: root::nsAttrValue_ValueType = 29; + pub const nsAttrValue_ValueType_eSVGPreserveAspectRatio: root::nsAttrValue_ValueType = 30; + pub const nsAttrValue_ValueType_eSVGStringList: root::nsAttrValue_ValueType = 31; + pub const nsAttrValue_ValueType_eSVGTransformList: root::nsAttrValue_ValueType = 32; + pub const nsAttrValue_ValueType_eSVGViewBox: root::nsAttrValue_ValueType = 33; + pub const nsAttrValue_ValueType_eSVGTypesEnd: root::nsAttrValue_ValueType = 33; + pub type nsAttrValue_ValueType = u32; + /// Structure for a mapping from int (enum) values to strings. When you use + /// it you generally create an array of them. + /// Instantiate like this: + /// EnumTable myTable[] = { + /// { "string1", 1 }, + /// { "string2", 2 }, + /// { nullptr, 0 } + /// } + #[repr(C)] + #[derive(Debug, Copy)] + pub struct nsAttrValue_EnumTable { + /// The string the value maps to + pub tag: *const ::std::os::raw::c_char, + /// The enum value that maps to this string + pub value: i16, + } + #[test] + fn bindgen_test_layout_nsAttrValue_EnumTable() { + assert_eq!( + ::std::mem::size_of::(), + 16usize, + concat!("Size of: ", stringify!(nsAttrValue_EnumTable)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(nsAttrValue_EnumTable)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).tag as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(nsAttrValue_EnumTable), + "::", + stringify!(tag) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).value as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(nsAttrValue_EnumTable), + "::", + stringify!(value) + ) + ); + } + impl Clone for nsAttrValue_EnumTable { + fn clone(&self) -> Self { + *self + } + } + pub const nsAttrValue_ValueBaseType_eStringBase: root::nsAttrValue_ValueBaseType = 0; + pub const nsAttrValue_ValueBaseType_eOtherBase: root::nsAttrValue_ValueBaseType = 1; + pub const nsAttrValue_ValueBaseType_eAtomBase: root::nsAttrValue_ValueBaseType = 2; + pub const nsAttrValue_ValueBaseType_eIntegerBase: root::nsAttrValue_ValueBaseType = 3; + pub type nsAttrValue_ValueBaseType = u32; + extern "C" { + #[link_name = "\u{1}_ZN11nsAttrValue15sEnumTableArrayE"] + pub static mut nsAttrValue_sEnumTableArray: + *mut root::nsTArray<*const root::nsAttrValue_EnumTable>; + } + #[test] + fn bindgen_test_layout_nsAttrValue() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!("Size of: ", stringify!(nsAttrValue)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(nsAttrValue)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).mBits as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(nsAttrValue), + "::", + stringify!(mBits) + ) + ); + } + #[repr(C)] + #[derive(Debug, Copy)] + pub struct nsMappedAttributes { + _unused: [u8; 0], + } + impl Clone for nsMappedAttributes { + fn clone(&self) -> Self { + *self + } + } + #[repr(C)] + #[derive(Debug, Copy)] + pub struct nsHTMLStyleSheet { + _unused: [u8; 0], + } + impl Clone for nsHTMLStyleSheet { + fn clone(&self) -> Self { + *self + } + } + #[repr(C)] + #[derive(Debug)] + pub struct nsAttrAndChildArray { + pub mImpl: *mut root::nsAttrAndChildArray_Impl, + } + pub type nsAttrAndChildArray_BorrowedAttrInfo = root::mozilla::dom::BorrowedAttrInfo; + #[repr(C)] + #[derive(Debug)] + pub struct nsAttrAndChildArray_InternalAttr { + pub mName: root::nsAttrName, + pub mValue: root::nsAttrValue, + } + #[test] + fn bindgen_test_layout_nsAttrAndChildArray_InternalAttr() { + assert_eq!( + ::std::mem::size_of::(), + 16usize, + concat!("Size of: ", stringify!(nsAttrAndChildArray_InternalAttr)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of ", + stringify!(nsAttrAndChildArray_InternalAttr) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).mName as *const _ + as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(nsAttrAndChildArray_InternalAttr), + "::", + stringify!(mName) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).mValue as *const _ + as usize + }, + 8usize, + concat!( + "Offset of field: ", + stringify!(nsAttrAndChildArray_InternalAttr), + "::", + stringify!(mValue) + ) + ); + } + #[repr(C)] + #[derive(Debug, Copy)] + pub struct nsAttrAndChildArray_Impl { + pub mAttrAndChildCount: u32, + pub mBufferSize: u32, + pub mMappedAttrs: *mut root::nsMappedAttributes, + pub mBuffer: [*mut ::std::os::raw::c_void; 1usize], + } + #[test] + fn bindgen_test_layout_nsAttrAndChildArray_Impl() { + assert_eq!( + ::std::mem::size_of::(), + 24usize, + concat!("Size of: ", stringify!(nsAttrAndChildArray_Impl)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(nsAttrAndChildArray_Impl)) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).mAttrAndChildCount as *const _ + as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(nsAttrAndChildArray_Impl), + "::", + stringify!(mAttrAndChildCount) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).mBufferSize as *const _ + as usize + }, + 4usize, + concat!( + "Offset of field: ", + stringify!(nsAttrAndChildArray_Impl), + "::", + stringify!(mBufferSize) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).mMappedAttrs as *const _ + as usize + }, + 8usize, + concat!( + "Offset of field: ", + stringify!(nsAttrAndChildArray_Impl), + "::", + stringify!(mMappedAttrs) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).mBuffer as *const _ as usize + }, + 16usize, + concat!( + "Offset of field: ", + stringify!(nsAttrAndChildArray_Impl), + "::", + stringify!(mBuffer) + ) + ); + } + impl Clone for nsAttrAndChildArray_Impl { + fn clone(&self) -> Self { + *self + } + } + #[test] + fn bindgen_test_layout_nsAttrAndChildArray() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!("Size of: ", stringify!(nsAttrAndChildArray)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(nsAttrAndChildArray)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).mImpl as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(nsAttrAndChildArray), + "::", + stringify!(mImpl) + ) + ); + } #[repr(u32)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] pub enum nsCompatibility { @@ -21494,6 +21409,144 @@ pub mod root { } #[repr(C)] #[derive(Debug, Copy)] + pub struct nsIApplicationCacheContainer { + pub _base: root::nsISupports, + } + #[repr(C)] + #[derive(Debug, Copy, Clone)] + pub struct nsIApplicationCacheContainer_COMTypeInfo { + pub _address: u8, + } + #[test] + fn bindgen_test_layout_nsIApplicationCacheContainer() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!("Size of: ", stringify!(nsIApplicationCacheContainer)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(nsIApplicationCacheContainer)) + ); + } + impl Clone for nsIApplicationCacheContainer { + fn clone(&self) -> Self { + *self + } + } + #[repr(C)] + #[derive(Debug, Copy)] + pub struct nsIPrintSettings { + _unused: [u8; 0], + } + impl Clone for nsIPrintSettings { + fn clone(&self) -> Self { + *self + } + } + #[repr(C)] + #[derive(Debug, Copy)] + pub struct nsDOMNavigationTiming { + _unused: [u8; 0], + } + impl Clone for nsDOMNavigationTiming { + fn clone(&self) -> Self { + *self + } + } + #[repr(C)] + #[derive(Debug, Copy)] + pub struct nsIContentViewer { + pub _base: root::nsISupports, + } + #[repr(C)] + #[derive(Debug, Copy, Clone)] + pub struct nsIContentViewer_COMTypeInfo { + pub _address: u8, + } + pub const nsIContentViewer_ePrompt: root::nsIContentViewer__bindgen_ty_1 = 0; + pub const nsIContentViewer_eDontPromptAndDontUnload: root::nsIContentViewer__bindgen_ty_1 = 1; + pub const nsIContentViewer_eDontPromptAndUnload: root::nsIContentViewer__bindgen_ty_1 = 2; + pub type nsIContentViewer__bindgen_ty_1 = u32; + pub const nsIContentViewer_eDelayResize: root::nsIContentViewer__bindgen_ty_2 = 1; + pub type nsIContentViewer__bindgen_ty_2 = u32; + #[test] + fn bindgen_test_layout_nsIContentViewer() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!("Size of: ", stringify!(nsIContentViewer)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(nsIContentViewer)) + ); + } + impl Clone for nsIContentViewer { + fn clone(&self) -> Self { + *self + } + } + #[repr(C)] + #[derive(Debug, Copy)] + pub struct nsIInterfaceRequestor { + pub _base: root::nsISupports, + } + #[repr(C)] + #[derive(Debug, Copy, Clone)] + pub struct nsIInterfaceRequestor_COMTypeInfo { + pub _address: u8, + } + #[test] + fn bindgen_test_layout_nsIInterfaceRequestor() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!("Size of: ", stringify!(nsIInterfaceRequestor)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(nsIInterfaceRequestor)) + ); + } + impl Clone for nsIInterfaceRequestor { + fn clone(&self) -> Self { + *self + } + } + #[repr(C)] + #[derive(Debug, Copy)] + pub struct nsILoadContext { + pub _base: root::nsISupports, + } + #[repr(C)] + #[derive(Debug, Copy, Clone)] + pub struct nsILoadContext_COMTypeInfo { + pub _address: u8, + } + #[test] + fn bindgen_test_layout_nsILoadContext() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!("Size of: ", stringify!(nsILoadContext)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(nsILoadContext)) + ); + } + impl Clone for nsILoadContext { + fn clone(&self) -> Self { + *self + } + } + #[repr(C)] + #[derive(Debug, Copy)] pub struct nsILoadGroup { pub _base: root::nsIRequest, } @@ -21638,6 +21691,95 @@ pub mod root { } } #[repr(C)] + #[derive(Debug, Copy)] + pub struct nsIChannelEventSink { + pub _base: root::nsISupports, + } + #[repr(C)] + #[derive(Debug, Copy, Clone)] + pub struct nsIChannelEventSink_COMTypeInfo { + pub _address: u8, + } + pub const nsIChannelEventSink_REDIRECT_TEMPORARY: root::nsIChannelEventSink__bindgen_ty_1 = 1; + pub const nsIChannelEventSink_REDIRECT_PERMANENT: root::nsIChannelEventSink__bindgen_ty_1 = 2; + pub const nsIChannelEventSink_REDIRECT_INTERNAL: root::nsIChannelEventSink__bindgen_ty_1 = 4; + pub const nsIChannelEventSink_REDIRECT_STS_UPGRADE: root::nsIChannelEventSink__bindgen_ty_1 = 8; + pub type nsIChannelEventSink__bindgen_ty_1 = u32; + #[test] + fn bindgen_test_layout_nsIChannelEventSink() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!("Size of: ", stringify!(nsIChannelEventSink)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(nsIChannelEventSink)) + ); + } + impl Clone for nsIChannelEventSink { + fn clone(&self) -> Self { + *self + } + } + #[repr(C)] + #[derive(Debug, Copy)] + pub struct nsIProgressEventSink { + pub _base: root::nsISupports, + } + #[repr(C)] + #[derive(Debug, Copy, Clone)] + pub struct nsIProgressEventSink_COMTypeInfo { + pub _address: u8, + } + #[test] + fn bindgen_test_layout_nsIProgressEventSink() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!("Size of: ", stringify!(nsIProgressEventSink)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(nsIProgressEventSink)) + ); + } + impl Clone for nsIProgressEventSink { + fn clone(&self) -> Self { + *self + } + } + #[repr(C)] + #[derive(Debug, Copy)] + pub struct nsISecurityEventSink { + pub _base: root::nsISupports, + } + #[repr(C)] + #[derive(Debug, Copy, Clone)] + pub struct nsISecurityEventSink_COMTypeInfo { + pub _address: u8, + } + #[test] + fn bindgen_test_layout_nsISecurityEventSink() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!("Size of: ", stringify!(nsISecurityEventSink)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(nsISecurityEventSink)) + ); + } + impl Clone for nsISecurityEventSink { + fn clone(&self) -> Self { + *self + } + } + #[repr(C)] #[derive(Debug)] pub struct nsIGlobalObject { pub _base: root::nsISupports, @@ -21831,8 +21973,6 @@ pub mod root { pub mPerformance: root::RefPtr, pub mTimeoutManager: root::mozilla::UniquePtr, pub mNavigator: root::RefPtr, - pub mServiceWorkerRegistrationTable: - root::nsPIDOMWindowInner_ServiceWorkerRegistrationTable, pub mMutationBits: u32, pub mActivePeerConnections: u32, pub mIsDocumentLoaded: bool, @@ -21861,12 +22001,11 @@ pub mod root { pub struct nsPIDOMWindowInner_COMTypeInfo { pub _address: u8, } - pub type nsPIDOMWindowInner_ServiceWorkerRegistrationTable = [u64; 4usize]; #[test] fn bindgen_test_layout_nsPIDOMWindowInner() { assert_eq!( ::std::mem::size_of::(), - 200usize, + 168usize, concat!("Size of: ", stringify!(nsPIDOMWindowInner)) ); assert_eq!( @@ -21969,24 +22108,11 @@ pub mod root { stringify!(mNavigator) ) ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mServiceWorkerRegistrationTable - as *const _ as usize - }, - 72usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowInner), - "::", - stringify!(mServiceWorkerRegistrationTable) - ) - ); assert_eq!( unsafe { &(*(::std::ptr::null::())).mMutationBits as *const _ as usize }, - 104usize, + 72usize, concat!( "Offset of field: ", stringify!(nsPIDOMWindowInner), @@ -21999,7 +22125,7 @@ pub mod root { &(*(::std::ptr::null::())).mActivePeerConnections as *const _ as usize }, - 108usize, + 76usize, concat!( "Offset of field: ", stringify!(nsPIDOMWindowInner), @@ -22012,7 +22138,7 @@ pub mod root { &(*(::std::ptr::null::())).mIsDocumentLoaded as *const _ as usize }, - 112usize, + 80usize, concat!( "Offset of field: ", stringify!(nsPIDOMWindowInner), @@ -22025,7 +22151,7 @@ pub mod root { &(*(::std::ptr::null::())).mIsHandlingResizeEvent as *const _ as usize }, - 113usize, + 81usize, concat!( "Offset of field: ", stringify!(nsPIDOMWindowInner), @@ -22038,7 +22164,7 @@ pub mod root { &(*(::std::ptr::null::())).mMayHavePaintEventListener as *const _ as usize }, - 114usize, + 82usize, concat!( "Offset of field: ", stringify!(nsPIDOMWindowInner), @@ -22051,7 +22177,7 @@ pub mod root { &(*(::std::ptr::null::())).mMayHaveTouchEventListener as *const _ as usize }, - 115usize, + 83usize, concat!( "Offset of field: ", stringify!(nsPIDOMWindowInner), @@ -22064,7 +22190,7 @@ pub mod root { &(*(::std::ptr::null::())).mMayHaveSelectionChangeEventListener as *const _ as usize }, - 116usize, + 84usize, concat!( "Offset of field: ", stringify!(nsPIDOMWindowInner), @@ -22077,7 +22203,7 @@ pub mod root { &(*(::std::ptr::null::())).mMayHaveMouseEnterLeaveEventListener as *const _ as usize }, - 117usize, + 85usize, concat!( "Offset of field: ", stringify!(nsPIDOMWindowInner), @@ -22090,7 +22216,7 @@ pub mod root { &(*(::std::ptr::null::())) .mMayHavePointerEnterLeaveEventListener as *const _ as usize }, - 118usize, + 86usize, concat!( "Offset of field: ", stringify!(nsPIDOMWindowInner), @@ -22103,7 +22229,7 @@ pub mod root { &(*(::std::ptr::null::())).mInnerObjectsFreed as *const _ as usize }, - 119usize, + 87usize, concat!( "Offset of field: ", stringify!(nsPIDOMWindowInner), @@ -22115,7 +22241,7 @@ pub mod root { unsafe { &(*(::std::ptr::null::())).mAudioCaptured as *const _ as usize }, - 120usize, + 88usize, concat!( "Offset of field: ", stringify!(nsPIDOMWindowInner), @@ -22127,7 +22253,7 @@ pub mod root { unsafe { &(*(::std::ptr::null::())).mOuterWindow as *const _ as usize }, - 128usize, + 96usize, concat!( "Offset of field: ", stringify!(nsPIDOMWindowInner), @@ -22139,7 +22265,7 @@ pub mod root { unsafe { &(*(::std::ptr::null::())).mFocusedNode as *const _ as usize }, - 136usize, + 104usize, concat!( "Offset of field: ", stringify!(nsPIDOMWindowInner), @@ -22151,7 +22277,7 @@ pub mod root { unsafe { &(*(::std::ptr::null::())).mAudioContexts as *const _ as usize }, - 144usize, + 112usize, concat!( "Offset of field: ", stringify!(nsPIDOMWindowInner), @@ -22163,7 +22289,7 @@ pub mod root { unsafe { &(*(::std::ptr::null::())).mTabGroup as *const _ as usize }, - 152usize, + 120usize, concat!( "Offset of field: ", stringify!(nsPIDOMWindowInner), @@ -22175,7 +22301,7 @@ pub mod root { unsafe { &(*(::std::ptr::null::())).mWindowID as *const _ as usize }, - 160usize, + 128usize, concat!( "Offset of field: ", stringify!(nsPIDOMWindowInner), @@ -22188,7 +22314,7 @@ pub mod root { &(*(::std::ptr::null::())).mHasNotifiedGlobalCreated as *const _ as usize }, - 168usize, + 136usize, concat!( "Offset of field: ", stringify!(nsPIDOMWindowInner), @@ -22201,7 +22327,7 @@ pub mod root { &(*(::std::ptr::null::())).mMarkedCCGeneration as *const _ as usize }, - 172usize, + 140usize, concat!( "Offset of field: ", stringify!(nsPIDOMWindowInner), @@ -22213,7 +22339,7 @@ pub mod root { unsafe { &(*(::std::ptr::null::())).mTopInnerWindow as *const _ as usize }, - 176usize, + 144usize, concat!( "Offset of field: ", stringify!(nsPIDOMWindowInner), @@ -22226,7 +22352,7 @@ pub mod root { &(*(::std::ptr::null::())).mHasTriedToCacheTopInnerWindow as *const _ as usize }, - 184usize, + 152usize, concat!( "Offset of field: ", stringify!(nsPIDOMWindowInner), @@ -22239,7 +22365,7 @@ pub mod root { &(*(::std::ptr::null::())).mNumOfIndexedDBDatabases as *const _ as usize }, - 188usize, + 156usize, concat!( "Offset of field: ", stringify!(nsPIDOMWindowInner), @@ -22252,7 +22378,7 @@ pub mod root { &(*(::std::ptr::null::())).mNumOfOpenWebSockets as *const _ as usize }, - 192usize, + 160usize, concat!( "Offset of field: ", stringify!(nsPIDOMWindowInner), @@ -22583,6 +22709,40 @@ pub mod root { ) ); } + /// Hashtable key class to use with nsTHashtable/nsBaseHashtable + #[repr(C)] + #[derive(Debug)] + pub struct nsURIHashKey { + pub _base: root::PLDHashEntryHdr, + pub mKey: root::nsCOMPtr, + } + pub type nsURIHashKey_KeyType = *mut root::nsIURI; + pub type nsURIHashKey_KeyTypePointer = *const root::nsIURI; + pub const nsURIHashKey_ALLOW_MEMMOVE: root::nsURIHashKey__bindgen_ty_1 = 1; + pub type nsURIHashKey__bindgen_ty_1 = u32; + #[test] + fn bindgen_test_layout_nsURIHashKey() { + assert_eq!( + ::std::mem::size_of::(), + 16usize, + concat!("Size of: ", stringify!(nsURIHashKey)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(nsURIHashKey)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).mKey as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(nsURIHashKey), + "::", + stringify!(mKey) + ) + ); + } #[repr(C)] #[derive(Debug, Copy)] pub struct nsContentList { @@ -22823,6 +22983,12 @@ pub mod root { pub type nsRunnableMethod_ReturnTypeEnforcer_ReturnTypeIsSafe = ::std::os::raw::c_int; pub type nsRunnableMethod_check = root::nsRunnableMethod_ReturnTypeEnforcer; #[repr(C)] + #[derive(Debug)] + pub struct nsRevocableEventPtr { + pub mEvent: root::RefPtr, + pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell>, + } + #[repr(C)] #[derive(Debug, Copy)] pub struct nsIIOService { _unused: [u8; 0], @@ -23084,8 +23250,7 @@ pub mod root { root::nsIdentifierMapEntry_ChangeCallback; pub type nsIdentifierMapEntry_ChangeCallbackEntry_KeyTypePointer = *const root::nsIdentifierMapEntry_ChangeCallback; - pub const nsIdentifierMapEntry_ChangeCallbackEntry_ALLOW_MEMMOVE: - root::nsIdentifierMapEntry_ChangeCallbackEntry__bindgen_ty_1 = 1; + pub const nsIdentifierMapEntry_ChangeCallbackEntry_ALLOW_MEMMOVE : root :: nsIdentifierMapEntry_ChangeCallbackEntry__bindgen_ty_1 = 1 ; pub type nsIdentifierMapEntry_ChangeCallbackEntry__bindgen_ty_1 = u32; #[test] fn bindgen_test_layout_nsIdentifierMapEntry_ChangeCallbackEntry() { @@ -23912,20 +24077,30 @@ pub mod root { pub type RawGeckoStyleChildrenIteratorBorrowedMut = *mut root::RawGeckoStyleChildrenIterator; #[repr(C)] #[derive(Debug, Copy)] - pub struct nsHTMLCSSStyleSheet { + pub struct nsDOMStyleSheetSetList { _unused: [u8; 0], } - impl Clone for nsHTMLCSSStyleSheet { + impl Clone for nsDOMStyleSheetSetList { fn clone(&self) -> Self { *self } } #[repr(C)] #[derive(Debug, Copy)] - pub struct nsHTMLStyleSheet { + pub struct nsFrameLoader { _unused: [u8; 0], } - impl Clone for nsHTMLStyleSheet { + impl Clone for nsFrameLoader { + fn clone(&self) -> Self { + *self + } + } + #[repr(C)] + #[derive(Debug, Copy)] + pub struct nsHTMLCSSStyleSheet { + _unused: [u8; 0], + } + impl Clone for nsHTMLCSSStyleSheet { fn clone(&self) -> Self { *self } @@ -23952,6 +24127,16 @@ pub mod root { } #[repr(C)] #[derive(Debug, Copy)] + pub struct nsIObjectLoadingContent { + _unused: [u8; 0], + } + impl Clone for nsIObjectLoadingContent { + fn clone(&self) -> Self { + *self + } + } + #[repr(C)] + #[derive(Debug, Copy)] pub struct nsIStructuredCloneContainer { _unused: [u8; 0], } @@ -23971,6 +24156,484 @@ pub mod root { } } #[repr(C)] + #[derive(Debug, Copy)] + pub struct nsSVGElement { + _unused: [u8; 0], + } + impl Clone for nsSVGElement { + fn clone(&self) -> Self { + *self + } + } + #[repr(C)] + pub struct nsDocHeaderData { + pub mField: root::RefPtr, + pub mData: ::nsstring::nsStringRepr, + pub mNext: *mut root::nsDocHeaderData, + } + #[test] + fn bindgen_test_layout_nsDocHeaderData() { + assert_eq!( + ::std::mem::size_of::(), + 32usize, + concat!("Size of: ", stringify!(nsDocHeaderData)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(nsDocHeaderData)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).mField as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(nsDocHeaderData), + "::", + stringify!(mField) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).mData as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(nsDocHeaderData), + "::", + stringify!(mData) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).mNext as *const _ as usize }, + 24usize, + concat!( + "Offset of field: ", + stringify!(nsDocHeaderData), + "::", + stringify!(mNext) + ) + ); + } + #[repr(C)] + #[derive(Debug)] + pub struct nsExternalResourceMap { + pub mMap: [u64; 4usize], + pub mPendingLoads: [u64; 4usize], + pub mHaveShutDown: bool, + } + pub type nsExternalResourceMap_nsSubDocEnumFunc = ::std::option::Option< + unsafe extern "C" fn(aDocument: *mut root::nsIDocument, aData: *mut ::std::os::raw::c_void) + -> bool, + >; + /// A class that represents an external resource load that has begun but + /// doesn't have a document yet. Observers can be registered on this object, + /// and will be notified after the document is created. Observers registered + /// after the document has been created will NOT be notified. When observers + /// are notified, the subject will be the newly-created document, the topic + /// will be "external-resource-document-created", and the data will be null. + /// If document creation fails for some reason, observers will still be + /// notified, with a null document pointer. + #[repr(C)] + #[derive(Debug)] + pub struct nsExternalResourceMap_ExternalResourceLoad { + pub _base: root::nsISupports, + pub mObservers: [u64; 10usize], + } + #[test] + fn bindgen_test_layout_nsExternalResourceMap_ExternalResourceLoad() { + assert_eq!( + ::std::mem::size_of::(), + 88usize, + concat!( + "Size of: ", + stringify!(nsExternalResourceMap_ExternalResourceLoad) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of ", + stringify!(nsExternalResourceMap_ExternalResourceLoad) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).mObservers + as *const _ as usize + }, + 8usize, + concat!( + "Offset of field: ", + stringify!(nsExternalResourceMap_ExternalResourceLoad), + "::", + stringify!(mObservers) + ) + ); + } + #[repr(C)] + pub struct nsExternalResourceMap_ExternalResource { + pub mDocument: root::nsCOMPtr, + pub mViewer: root::nsCOMPtr, + pub mLoadGroup: root::nsCOMPtr, + } + #[test] + fn bindgen_test_layout_nsExternalResourceMap_ExternalResource() { + assert_eq!( + ::std::mem::size_of::(), + 24usize, + concat!( + "Size of: ", + stringify!(nsExternalResourceMap_ExternalResource) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of ", + stringify!(nsExternalResourceMap_ExternalResource) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).mDocument + as *const _ as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(nsExternalResourceMap_ExternalResource), + "::", + stringify!(mDocument) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).mViewer + as *const _ as usize + }, + 8usize, + concat!( + "Offset of field: ", + stringify!(nsExternalResourceMap_ExternalResource), + "::", + stringify!(mViewer) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).mLoadGroup + as *const _ as usize + }, + 16usize, + concat!( + "Offset of field: ", + stringify!(nsExternalResourceMap_ExternalResource), + "::", + stringify!(mLoadGroup) + ) + ); + } + #[repr(C)] + pub struct nsExternalResourceMap_PendingLoad { + pub _base: root::nsExternalResourceMap_ExternalResourceLoad, + pub _base_1: root::nsIStreamListener, + pub mRefCnt: root::nsAutoRefCnt, + pub mDisplayDocument: root::nsCOMPtr, + pub mTargetListener: root::nsCOMPtr, + pub mURI: root::nsCOMPtr, + } + pub type nsExternalResourceMap_PendingLoad_HasThreadSafeRefCnt = root::mozilla::FalseType; + #[test] + fn bindgen_test_layout_nsExternalResourceMap_PendingLoad() { + assert_eq!( + ::std::mem::size_of::(), + 128usize, + concat!("Size of: ", stringify!(nsExternalResourceMap_PendingLoad)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of ", + stringify!(nsExternalResourceMap_PendingLoad) + ) + ); + } + #[repr(C)] + #[derive(Debug)] + pub struct nsExternalResourceMap_LoadgroupCallbacks { + pub _base: root::nsIInterfaceRequestor, + pub mRefCnt: root::nsAutoRefCnt, + pub mCallbacks: root::nsCOMPtr, + } + pub type nsExternalResourceMap_LoadgroupCallbacks_HasThreadSafeRefCnt = + root::mozilla::FalseType; + #[repr(C)] + #[derive(Debug)] + pub struct nsExternalResourceMap_LoadgroupCallbacks_nsILoadContextShim { + pub _base: root::nsIInterfaceRequestor, + pub _base_1: root::nsILoadContext, + pub mRefCnt: root::nsAutoRefCnt, + pub mIfReq: root::nsCOMPtr, + pub mRealPtr: root::nsCOMPtr, + } + pub type nsExternalResourceMap_LoadgroupCallbacks_nsILoadContextShim_HasThreadSafeRefCnt = + root::mozilla::FalseType; + #[test] + fn bindgen_test_layout_nsExternalResourceMap_LoadgroupCallbacks_nsILoadContextShim() { + assert_eq!( + ::std::mem::size_of::(), + 40usize, + concat!( + "Size of: ", + stringify!(nsExternalResourceMap_LoadgroupCallbacks_nsILoadContextShim) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of ", + stringify!(nsExternalResourceMap_LoadgroupCallbacks_nsILoadContextShim) + ) + ); + } + #[repr(C)] + #[derive(Debug)] + pub struct nsExternalResourceMap_LoadgroupCallbacks_nsIProgressEventSinkShim { + pub _base: root::nsIInterfaceRequestor, + pub _base_1: root::nsIProgressEventSink, + pub mRefCnt: root::nsAutoRefCnt, + pub mIfReq: root::nsCOMPtr, + pub mRealPtr: root::nsCOMPtr, + } + pub type nsExternalResourceMap_LoadgroupCallbacks_nsIProgressEventSinkShim_HasThreadSafeRefCnt = + root::mozilla::FalseType; + #[test] + fn bindgen_test_layout_nsExternalResourceMap_LoadgroupCallbacks_nsIProgressEventSinkShim() { + assert_eq!( + ::std::mem::size_of::< + nsExternalResourceMap_LoadgroupCallbacks_nsIProgressEventSinkShim, + >(), + 40usize, + concat!( + "Size of: ", + stringify!(nsExternalResourceMap_LoadgroupCallbacks_nsIProgressEventSinkShim) + ) + ); + assert_eq!( + ::std::mem::align_of::< + nsExternalResourceMap_LoadgroupCallbacks_nsIProgressEventSinkShim, + >(), + 8usize, + concat!( + "Alignment of ", + stringify!(nsExternalResourceMap_LoadgroupCallbacks_nsIProgressEventSinkShim) + ) + ); + } + #[repr(C)] + #[derive(Debug)] + pub struct nsExternalResourceMap_LoadgroupCallbacks_nsIChannelEventSinkShim { + pub _base: root::nsIInterfaceRequestor, + pub _base_1: root::nsIChannelEventSink, + pub mRefCnt: root::nsAutoRefCnt, + pub mIfReq: root::nsCOMPtr, + pub mRealPtr: root::nsCOMPtr, + } + pub type nsExternalResourceMap_LoadgroupCallbacks_nsIChannelEventSinkShim_HasThreadSafeRefCnt = + root::mozilla::FalseType; + #[test] + fn bindgen_test_layout_nsExternalResourceMap_LoadgroupCallbacks_nsIChannelEventSinkShim() { + assert_eq ! ( :: std :: mem :: size_of :: < nsExternalResourceMap_LoadgroupCallbacks_nsIChannelEventSinkShim > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( nsExternalResourceMap_LoadgroupCallbacks_nsIChannelEventSinkShim ) ) ); + assert_eq!( + ::std::mem::align_of::< + nsExternalResourceMap_LoadgroupCallbacks_nsIChannelEventSinkShim, + >(), + 8usize, + concat!( + "Alignment of ", + stringify!(nsExternalResourceMap_LoadgroupCallbacks_nsIChannelEventSinkShim) + ) + ); + } + #[repr(C)] + #[derive(Debug)] + pub struct nsExternalResourceMap_LoadgroupCallbacks_nsISecurityEventSinkShim { + pub _base: root::nsIInterfaceRequestor, + pub _base_1: root::nsISecurityEventSink, + pub mRefCnt: root::nsAutoRefCnt, + pub mIfReq: root::nsCOMPtr, + pub mRealPtr: root::nsCOMPtr, + } + pub type nsExternalResourceMap_LoadgroupCallbacks_nsISecurityEventSinkShim_HasThreadSafeRefCnt = + root::mozilla::FalseType; + #[test] + fn bindgen_test_layout_nsExternalResourceMap_LoadgroupCallbacks_nsISecurityEventSinkShim() { + assert_eq!( + ::std::mem::size_of::< + nsExternalResourceMap_LoadgroupCallbacks_nsISecurityEventSinkShim, + >(), + 40usize, + concat!( + "Size of: ", + stringify!(nsExternalResourceMap_LoadgroupCallbacks_nsISecurityEventSinkShim) + ) + ); + assert_eq!( + ::std::mem::align_of::< + nsExternalResourceMap_LoadgroupCallbacks_nsISecurityEventSinkShim, + >(), + 8usize, + concat!( + "Alignment of ", + stringify!(nsExternalResourceMap_LoadgroupCallbacks_nsISecurityEventSinkShim) + ) + ); + } + #[repr(C)] + #[derive(Debug)] + pub struct nsExternalResourceMap_LoadgroupCallbacks_nsIApplicationCacheContainerShim { + pub _base: root::nsIInterfaceRequestor, + pub _base_1: root::nsIApplicationCacheContainer, + pub mRefCnt: root::nsAutoRefCnt, + pub mIfReq: root::nsCOMPtr, + pub mRealPtr: root::nsCOMPtr, + } + pub type nsExternalResourceMap_LoadgroupCallbacks_nsIApplicationCacheContainerShim_HasThreadSafeRefCnt = root :: mozilla :: FalseType ; + #[test] + fn bindgen_test_layout_nsExternalResourceMap_LoadgroupCallbacks_nsIApplicationCacheContainerShim( +) { + assert_eq!( + ::std::mem::size_of::< + nsExternalResourceMap_LoadgroupCallbacks_nsIApplicationCacheContainerShim, + >(), + 40usize, + concat!( + "Size of: ", + stringify!( + nsExternalResourceMap_LoadgroupCallbacks_nsIApplicationCacheContainerShim + ) + ) + ); + assert_eq!( + ::std::mem::align_of::< + nsExternalResourceMap_LoadgroupCallbacks_nsIApplicationCacheContainerShim, + >(), + 8usize, + concat!( + "Alignment of ", + stringify!( + nsExternalResourceMap_LoadgroupCallbacks_nsIApplicationCacheContainerShim + ) + ) + ); + } + #[test] + fn bindgen_test_layout_nsExternalResourceMap_LoadgroupCallbacks() { + assert_eq!( + ::std::mem::size_of::(), + 24usize, + concat!( + "Size of: ", + stringify!(nsExternalResourceMap_LoadgroupCallbacks) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of ", + stringify!(nsExternalResourceMap_LoadgroupCallbacks) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).mRefCnt + as *const _ as usize + }, + 8usize, + concat!( + "Offset of field: ", + stringify!(nsExternalResourceMap_LoadgroupCallbacks), + "::", + stringify!(mRefCnt) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).mCallbacks + as *const _ as usize + }, + 16usize, + concat!( + "Offset of field: ", + stringify!(nsExternalResourceMap_LoadgroupCallbacks), + "::", + stringify!(mCallbacks) + ) + ); + } + #[test] + fn bindgen_test_layout_nsExternalResourceMap() { + assert_eq!( + ::std::mem::size_of::(), + 72usize, + concat!("Size of: ", stringify!(nsExternalResourceMap)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(nsExternalResourceMap)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).mMap as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(nsExternalResourceMap), + "::", + stringify!(mMap) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).mPendingLoads as *const _ as usize + }, + 32usize, + concat!( + "Offset of field: ", + stringify!(nsExternalResourceMap), + "::", + stringify!(mPendingLoads) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).mHaveShutDown as *const _ as usize + }, + 64usize, + concat!( + "Offset of field: ", + stringify!(nsExternalResourceMap), + "::", + stringify!(mHaveShutDown) + ) + ); + } + #[repr(C)] + #[derive(Debug, Copy)] + pub struct PrincipalFlashClassifier { + _unused: [u8; 0], + } + impl Clone for PrincipalFlashClassifier { + fn clone(&self) -> Self { + *self + } + } + #[repr(C)] pub struct nsIDocument { pub _base: root::nsINode, pub _base_1: root::mozilla::dom::DocumentOrShadowRoot, @@ -24006,16 +24669,27 @@ pub mod root { pub mStyleAttrStyleSheet: root::RefPtr, pub mImageTracker: root::RefPtr, pub mActivityObservers: u64, + pub mStyledLinks: [u64; 4usize], pub mLinksToUpdate: root::nsIDocument_LinksToUpdateList, pub mAnimationController: root::RefPtr, pub mPropertyTable: root::nsPropertyTable, pub mExtraPropertyTables: root::nsTArray>, pub mChildrenCollection: root::nsCOMPtr, + pub mImages: root::RefPtr, + pub mEmbeds: root::RefPtr, + pub mLinks: root::RefPtr, + pub mForms: root::RefPtr, + pub mScripts: root::RefPtr, + pub mApplets: root::nsCOMPtr, + pub mAnchors: root::RefPtr, pub mFontFaceSet: root::RefPtr, pub mLastFocusTime: root::mozilla::TimeStamp, pub mDocumentState: root::mozilla::EventStates, pub mReadyForIdle: root::RefPtr, - pub _bitfield_1: root::__BindgenBitfieldUnit<[u8; 7usize], u8>, + pub mAboutCapabilities: root::RefPtr, + pub _bitfield_1: root::__BindgenBitfieldUnit<[u8; 10usize], u8>, + pub mPendingFullscreenRequests: u8, + pub mXMLDeclarationBits: u8, pub mCompatMode: root::nsCompatibility, pub mReadyState: root::nsIDocument_ReadyState, pub mStyleBackendType: root::mozilla::StyleBackendType, @@ -24037,6 +24711,10 @@ pub mod root { pub mPresShell: *mut root::nsIPresShell, pub mSubtreeModifiedTargets: root::nsCOMArray, pub mSubtreeModifiedDepth: u32, + pub mPreloadingImages: [u64; 4usize], + pub mPreloadedPreconnects: [u64; 4usize], + pub mPreloadPictureDepth: u32, + pub mPreloadPictureFoundSource: ::nsstring::nsStringRepr, pub mDisplayDocument: root::nsCOMPtr, pub mEventsSuppressed: u32, /// https://html.spec.whatwg.org/#ignore-destructive-writes-counter @@ -24057,6 +24735,7 @@ pub mod root { pub mAnonymousContents: root::nsTArray>, pub mBlockDOMContentLoaded: u32, pub mDOMMediaQueryLists: root::mozilla::LinkedList, + pub mObservers: [u64; 2usize], pub mUseCounters: [u64; 2usize], pub mChildDocumentUseCounters: [u64; 2usize], pub mNotifiedPageForUseCounter: [u64; 2usize], @@ -24069,6 +24748,54 @@ pub mod root { pub mBufferedCSPViolations: root::nsTArray, pub mAncestorPrincipals: root::nsTArray, pub mAncestorOuterWindowIDs: root::nsTArray, + pub mParser: root::nsCOMPtr, + pub mStackRefCnt: root::nsrefcnt, + pub mWeakSink: root::nsWeakPtr, + pub mUpdateNestLevel: u32, + pub mViewportType: root::nsIDocument_ViewportType, + pub mSubDocuments: *mut root::PLDHashTable, + pub mHeaderData: *mut root::nsDocHeaderData, + pub mPrincipalFlashClassifier: root::RefPtr, + pub mFlashClassification: root::mozilla::dom::FlashClassification, + pub mIsThirdParty: [u8; 2usize], + pub mPendingTitleChangeEvent: u64, + pub mTiming: root::RefPtr, + pub mLoadingTimeStamp: root::mozilla::TimeStamp, + pub mAutoFocusElement: root::nsWeakPtr, + pub mScrollToRef: root::nsCString, + pub mScopeObject: root::nsWeakPtr, + pub mIntersectionObservers: [u64; 4usize], + pub mFullScreenStack: root::nsTArray, + pub mFullscreenRoot: root::nsWeakPtr, + pub mDOMImplementation: root::RefPtr, + pub mImageMaps: root::RefPtr, + pub mResponsiveContent: [u64; 4usize], + pub mPlugins: [u64; 4usize], + pub mChildren: root::nsAttrAndChildArray, + pub mDocumentTimeline: root::RefPtr, + pub mTimelines: root::mozilla::LinkedList, + pub mScriptLoader: root::RefPtr, + pub mBoxObjectTable: *mut u8, + pub mPendingAnimationTracker: root::RefPtr, + pub mTemplateContentsOwner: root::nsCOMPtr, + pub mExternalResourceMap: root::nsExternalResourceMap, + pub mOrientationPendingPromise: root::RefPtr, + pub mCurrentOrientationAngle: u16, + pub mCurrentOrientationType: root::mozilla::dom::OrientationType, + pub mInitializableFrameLoaders: root::nsTArray>, + pub mFrameLoaderFinalizers: root::nsTArray, + pub mFrameLoaderRunner: u64, + pub mLayoutHistoryState: root::nsCOMPtr, + pub mScaleMinFloat: root::mozilla::LayoutDeviceToScreenScale, + pub mScaleMaxFloat: root::mozilla::LayoutDeviceToScreenScale, + pub mScaleFloat: root::mozilla::LayoutDeviceToScreenScale, + pub mPixelRatio: root::mozilla::CSSToLayoutDeviceScale, + pub mViewportSize: root::mozilla::CSSSize, + pub mOnDemandBuiltInUASheets: root::nsTArray>, + pub mAdditionalSheets: [root::nsTArray>; 3usize], + pub mLastStyleSheetSet: ::nsstring::nsStringRepr, + pub mStyleSheetSetList: root::RefPtr, + pub mLazySVGPresElements: [u64; 4usize], pub mServoRestyleRoot: root::nsCOMPtr, pub mServoRestyleRootDirtyBits: u32, pub mThrowOnDynamicMarkupInsertionCounter: u32, @@ -24077,6 +24804,7 @@ pub mod root { pub type nsIDocument_GlobalObject = root::mozilla::dom::GlobalObject; pub type nsIDocument_Encoding = root::mozilla::Encoding; pub type nsIDocument_NotNull = root::mozilla::NotNull; + pub type nsIDocument_ExternalResourceLoad = root::nsExternalResourceMap_ExternalResourceLoad; pub use self::super::root::mozilla::net::ReferrerPolicy as nsIDocument_ReferrerPolicyEnum; pub type nsIDocument_Element = root::mozilla::dom::Element; pub type nsIDocument_FullscreenRequest = root::mozilla::dom::FullscreenRequest; @@ -24323,8 +25051,7 @@ pub mod root { pub const nsIDocument_additionalSheetType_eUserSheet: root::nsIDocument_additionalSheetType = 1; pub const nsIDocument_additionalSheetType_eAuthorSheet: root::nsIDocument_additionalSheetType = 2; - pub const nsIDocument_additionalSheetType_AdditionalSheetTypeCount: - root::nsIDocument_additionalSheetType = 3; + pub const nsIDocument_additionalSheetType_AdditionalSheetTypeCount : root :: nsIDocument_additionalSheetType = 3 ; pub type nsIDocument_additionalSheetType = u32; pub const nsIDocument_ReadyState_READYSTATE_UNINITIALIZED: root::nsIDocument_ReadyState = 0; pub const nsIDocument_ReadyState_READYSTATE_LOADING: root::nsIDocument_ReadyState = 1; @@ -24342,49 +25069,6 @@ pub mod root { /// The callback function must not mutate any state for the given document. pub type nsIDocument_nsDocTestFunc = ::std::option::Option bool>; - /// A class that represents an external resource load that has begun but - /// doesn't have a document yet. Observers can be registered on this object, - /// and will be notified after the document is created. Observers registered - /// after the document has been created will NOT be notified. When observers - /// are notified, the subject will be the newly-created document, the topic - /// will be "external-resource-document-created", and the data will be null. - /// If document creation fails for some reason, observers will still be - /// notified, with a null document pointer. - #[repr(C)] - #[derive(Debug)] - pub struct nsIDocument_ExternalResourceLoad { - pub _base: root::nsISupports, - pub mObservers: [u64; 10usize], - } - #[test] - fn bindgen_test_layout_nsIDocument_ExternalResourceLoad() { - assert_eq!( - ::std::mem::size_of::(), - 88usize, - concat!("Size of: ", stringify!(nsIDocument_ExternalResourceLoad)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of ", - stringify!(nsIDocument_ExternalResourceLoad) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mObservers as *const _ - as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsIDocument_ExternalResourceLoad), - "::", - stringify!(mObservers) - ) - ); - } pub type nsIDocument_ActivityObserverEnumerator = ::std::option::Option< unsafe extern "C" fn(arg1: *mut root::nsISupports, arg2: *mut ::std::os::raw::c_void), >; @@ -24399,105 +25083,61 @@ pub mod root { } pub type nsIDocument_FrameRequestCallbackList = root::nsTArray>; - pub const nsIDocument_DeprecatedOperations_eEnablePrivilege: - root::nsIDocument_DeprecatedOperations = 0; - pub const nsIDocument_DeprecatedOperations_eDOMExceptionCode: - root::nsIDocument_DeprecatedOperations = 1; - pub const nsIDocument_DeprecatedOperations_eMutationEvent: - root::nsIDocument_DeprecatedOperations = 2; + pub const nsIDocument_DeprecatedOperations_eEnablePrivilege : root :: nsIDocument_DeprecatedOperations = 0 ; + pub const nsIDocument_DeprecatedOperations_eDOMExceptionCode : root :: nsIDocument_DeprecatedOperations = 1 ; + pub const nsIDocument_DeprecatedOperations_eMutationEvent : root :: nsIDocument_DeprecatedOperations = 2 ; pub const nsIDocument_DeprecatedOperations_eComponents: root::nsIDocument_DeprecatedOperations = 3; - pub const nsIDocument_DeprecatedOperations_ePrefixedVisibilityAPI: - root::nsIDocument_DeprecatedOperations = 4; - pub const nsIDocument_DeprecatedOperations_eNodeIteratorDetach: - root::nsIDocument_DeprecatedOperations = 5; - pub const nsIDocument_DeprecatedOperations_eLenientThis: - root::nsIDocument_DeprecatedOperations = 6; - pub const nsIDocument_DeprecatedOperations_eGetSetUserData: - root::nsIDocument_DeprecatedOperations = 7; - pub const nsIDocument_DeprecatedOperations_eMozGetAsFile: - root::nsIDocument_DeprecatedOperations = 8; - pub const nsIDocument_DeprecatedOperations_eUseOfCaptureEvents: - root::nsIDocument_DeprecatedOperations = 9; - pub const nsIDocument_DeprecatedOperations_eUseOfReleaseEvents: - root::nsIDocument_DeprecatedOperations = 10; - pub const nsIDocument_DeprecatedOperations_eUseOfDOM3LoadMethod: - root::nsIDocument_DeprecatedOperations = 11; - pub const nsIDocument_DeprecatedOperations_eChromeUseOfDOM3LoadMethod: - root::nsIDocument_DeprecatedOperations = 12; - pub const nsIDocument_DeprecatedOperations_eShowModalDialog: - root::nsIDocument_DeprecatedOperations = 13; - pub const nsIDocument_DeprecatedOperations_eSyncXMLHttpRequest: - root::nsIDocument_DeprecatedOperations = 14; - pub const nsIDocument_DeprecatedOperations_eWindow_Cc_ontrollers: - root::nsIDocument_DeprecatedOperations = 15; - pub const nsIDocument_DeprecatedOperations_eImportXULIntoContent: - root::nsIDocument_DeprecatedOperations = 16; - pub const nsIDocument_DeprecatedOperations_ePannerNodeDoppler: - root::nsIDocument_DeprecatedOperations = 17; - pub const nsIDocument_DeprecatedOperations_eNavigatorGetUserMedia: - root::nsIDocument_DeprecatedOperations = 18; - pub const nsIDocument_DeprecatedOperations_eWebrtcDeprecatedPrefix: - root::nsIDocument_DeprecatedOperations = 19; - pub const nsIDocument_DeprecatedOperations_eRTCPeerConnectionGetStreams: - root::nsIDocument_DeprecatedOperations = 20; + pub const nsIDocument_DeprecatedOperations_ePrefixedVisibilityAPI : root :: nsIDocument_DeprecatedOperations = 4 ; + pub const nsIDocument_DeprecatedOperations_eNodeIteratorDetach : root :: nsIDocument_DeprecatedOperations = 5 ; + pub const nsIDocument_DeprecatedOperations_eLenientThis : root :: nsIDocument_DeprecatedOperations = 6 ; + pub const nsIDocument_DeprecatedOperations_eGetSetUserData : root :: nsIDocument_DeprecatedOperations = 7 ; + pub const nsIDocument_DeprecatedOperations_eMozGetAsFile : root :: nsIDocument_DeprecatedOperations = 8 ; + pub const nsIDocument_DeprecatedOperations_eUseOfCaptureEvents : root :: nsIDocument_DeprecatedOperations = 9 ; + pub const nsIDocument_DeprecatedOperations_eUseOfReleaseEvents : root :: nsIDocument_DeprecatedOperations = 10 ; + pub const nsIDocument_DeprecatedOperations_eUseOfDOM3LoadMethod : root :: nsIDocument_DeprecatedOperations = 11 ; + pub const nsIDocument_DeprecatedOperations_eChromeUseOfDOM3LoadMethod : root :: nsIDocument_DeprecatedOperations = 12 ; + pub const nsIDocument_DeprecatedOperations_eShowModalDialog : root :: nsIDocument_DeprecatedOperations = 13 ; + pub const nsIDocument_DeprecatedOperations_eSyncXMLHttpRequest : root :: nsIDocument_DeprecatedOperations = 14 ; + pub const nsIDocument_DeprecatedOperations_eWindow_Cc_ontrollers : root :: nsIDocument_DeprecatedOperations = 15 ; + pub const nsIDocument_DeprecatedOperations_eImportXULIntoContent : root :: nsIDocument_DeprecatedOperations = 16 ; + pub const nsIDocument_DeprecatedOperations_ePannerNodeDoppler : root :: nsIDocument_DeprecatedOperations = 17 ; + pub const nsIDocument_DeprecatedOperations_eNavigatorGetUserMedia : root :: nsIDocument_DeprecatedOperations = 18 ; + pub const nsIDocument_DeprecatedOperations_eWebrtcDeprecatedPrefix : root :: nsIDocument_DeprecatedOperations = 19 ; + pub const nsIDocument_DeprecatedOperations_eRTCPeerConnectionGetStreams : root :: nsIDocument_DeprecatedOperations = 20 ; pub const nsIDocument_DeprecatedOperations_eAppCache: root::nsIDocument_DeprecatedOperations = 21; - pub const nsIDocument_DeprecatedOperations_eAppCacheInsecure: - root::nsIDocument_DeprecatedOperations = 22; - pub const nsIDocument_DeprecatedOperations_ePrefixedImageSmoothingEnabled: - root::nsIDocument_DeprecatedOperations = 23; - pub const nsIDocument_DeprecatedOperations_ePrefixedFullscreenAPI: - root::nsIDocument_DeprecatedOperations = 24; - pub const nsIDocument_DeprecatedOperations_eLenientSetter: - root::nsIDocument_DeprecatedOperations = 25; - pub const nsIDocument_DeprecatedOperations_eFileLastModifiedDate: - root::nsIDocument_DeprecatedOperations = 26; - pub const nsIDocument_DeprecatedOperations_eImageBitmapRenderingContext_TransferImageBitmap: - root::nsIDocument_DeprecatedOperations = 27; - pub const nsIDocument_DeprecatedOperations_eURLCreateObjectURL_MediaStream: - root::nsIDocument_DeprecatedOperations = 28; - pub const nsIDocument_DeprecatedOperations_eXMLBaseAttribute: - root::nsIDocument_DeprecatedOperations = 29; - pub const nsIDocument_DeprecatedOperations_eWindowContentUntrusted: - root::nsIDocument_DeprecatedOperations = 30; - pub const nsIDocument_DeprecatedOperations_eRegisterProtocolHandlerInsecure: - root::nsIDocument_DeprecatedOperations = 31; - pub const nsIDocument_DeprecatedOperations_eMixedDisplayObjectSubrequest: - root::nsIDocument_DeprecatedOperations = 32; - pub const nsIDocument_DeprecatedOperations_eMotionEvent: - root::nsIDocument_DeprecatedOperations = 33; - pub const nsIDocument_DeprecatedOperations_eOrientationEvent: - root::nsIDocument_DeprecatedOperations = 34; - pub const nsIDocument_DeprecatedOperations_eProximityEvent: - root::nsIDocument_DeprecatedOperations = 35; - pub const nsIDocument_DeprecatedOperations_eAmbientLightEvent: - root::nsIDocument_DeprecatedOperations = 36; - pub const nsIDocument_DeprecatedOperations_eDeprecatedOperationCount: - root::nsIDocument_DeprecatedOperations = 37; + pub const nsIDocument_DeprecatedOperations_eAppCacheInsecure : root :: nsIDocument_DeprecatedOperations = 22 ; + pub const nsIDocument_DeprecatedOperations_ePrefixedImageSmoothingEnabled : root :: nsIDocument_DeprecatedOperations = 23 ; + pub const nsIDocument_DeprecatedOperations_ePrefixedFullscreenAPI : root :: nsIDocument_DeprecatedOperations = 24 ; + pub const nsIDocument_DeprecatedOperations_eLenientSetter : root :: nsIDocument_DeprecatedOperations = 25 ; + pub const nsIDocument_DeprecatedOperations_eFileLastModifiedDate : root :: nsIDocument_DeprecatedOperations = 26 ; + pub const nsIDocument_DeprecatedOperations_eImageBitmapRenderingContext_TransferImageBitmap : root :: nsIDocument_DeprecatedOperations = 27 ; + pub const nsIDocument_DeprecatedOperations_eURLCreateObjectURL_MediaStream : root :: nsIDocument_DeprecatedOperations = 28 ; + pub const nsIDocument_DeprecatedOperations_eXMLBaseAttribute : root :: nsIDocument_DeprecatedOperations = 29 ; + pub const nsIDocument_DeprecatedOperations_eWindowContentUntrusted : root :: nsIDocument_DeprecatedOperations = 30 ; + pub const nsIDocument_DeprecatedOperations_eRegisterProtocolHandlerInsecure : root :: nsIDocument_DeprecatedOperations = 31 ; + pub const nsIDocument_DeprecatedOperations_eMixedDisplayObjectSubrequest : root :: nsIDocument_DeprecatedOperations = 32 ; + pub const nsIDocument_DeprecatedOperations_eMotionEvent : root :: nsIDocument_DeprecatedOperations = 33 ; + pub const nsIDocument_DeprecatedOperations_eOrientationEvent : root :: nsIDocument_DeprecatedOperations = 34 ; + pub const nsIDocument_DeprecatedOperations_eProximityEvent : root :: nsIDocument_DeprecatedOperations = 35 ; + pub const nsIDocument_DeprecatedOperations_eAmbientLightEvent : root :: nsIDocument_DeprecatedOperations = 36 ; + pub const nsIDocument_DeprecatedOperations_eIDBOpenDBOptions_StorageType : root :: nsIDocument_DeprecatedOperations = 37 ; + pub const nsIDocument_DeprecatedOperations_eDeprecatedOperationCount : root :: nsIDocument_DeprecatedOperations = 38 ; pub type nsIDocument_DeprecatedOperations = u32; - pub const nsIDocument_DocumentWarnings_eIgnoringWillChangeOverBudget: - root::nsIDocument_DocumentWarnings = 0; - pub const nsIDocument_DocumentWarnings_ePreventDefaultFromPassiveListener: - root::nsIDocument_DocumentWarnings = 1; + pub const nsIDocument_DocumentWarnings_eIgnoringWillChangeOverBudget : root :: nsIDocument_DocumentWarnings = 0 ; + pub const nsIDocument_DocumentWarnings_ePreventDefaultFromPassiveListener : root :: nsIDocument_DocumentWarnings = 1 ; pub const nsIDocument_DocumentWarnings_eSVGRefLoop: root::nsIDocument_DocumentWarnings = 2; - pub const nsIDocument_DocumentWarnings_eSVGRefChainLengthExceeded: - root::nsIDocument_DocumentWarnings = 3; - pub const nsIDocument_DocumentWarnings_eDocumentWarningCount: - root::nsIDocument_DocumentWarnings = 4; + pub const nsIDocument_DocumentWarnings_eSVGRefChainLengthExceeded : root :: nsIDocument_DocumentWarnings = 3 ; + pub const nsIDocument_DocumentWarnings_eDocumentWarningCount : root :: nsIDocument_DocumentWarnings = 4 ; pub type nsIDocument_DocumentWarnings = u32; pub const nsIDocument_ElementCallbackType_eConnected: root::nsIDocument_ElementCallbackType = 0; pub const nsIDocument_ElementCallbackType_eDisconnected: root::nsIDocument_ElementCallbackType = 1; pub const nsIDocument_ElementCallbackType_eAdopted: root::nsIDocument_ElementCallbackType = 2; - pub const nsIDocument_ElementCallbackType_eAttributeChanged: - root::nsIDocument_ElementCallbackType = 3; + pub const nsIDocument_ElementCallbackType_eAttributeChanged : root :: nsIDocument_ElementCallbackType = 3 ; pub type nsIDocument_ElementCallbackType = u32; pub type nsIDocument_LinksToUpdateList = [u64; 3usize]; - pub const nsIDocument_eScopedStyle_Unknown: root::nsIDocument__bindgen_ty_1 = 0; - pub const nsIDocument_eScopedStyle_Disabled: root::nsIDocument__bindgen_ty_1 = 1; - pub const nsIDocument_eScopedStyle_Enabled: root::nsIDocument__bindgen_ty_1 = 2; - pub type nsIDocument__bindgen_ty_1 = u32; #[repr(u32)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] pub enum nsIDocument_Type { @@ -24522,12 +25162,16 @@ pub mod root { *self } } + pub const nsIDocument_ViewportType_DisplayWidthHeight: root::nsIDocument_ViewportType = 0; + pub const nsIDocument_ViewportType_Specified: root::nsIDocument_ViewportType = 1; + pub const nsIDocument_ViewportType_Unknown: root::nsIDocument_ViewportType = 2; + pub type nsIDocument_ViewportType = u32; pub const nsIDocument_kSegmentSize: usize = 128; #[test] fn bindgen_test_layout_nsIDocument() { assert_eq!( ::std::mem::size_of::(), - 928usize, + 1688usize, concat!("Size of: ", stringify!(nsIDocument)) ); assert_eq!( @@ -25121,14 +25765,289 @@ pub mod root { } } #[inline] - pub fn mIsScopedStyleEnabled(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(53usize, 2u8) as u32) } + pub fn mInDestructor(&self) -> bool { + unsafe { ::std::mem::transmute(self._bitfield_1.get(53usize, 1u8) as u8) } } #[inline] - pub fn set_mIsScopedStyleEnabled(&mut self, val: ::std::os::raw::c_uint) { + pub fn set_mInDestructor(&mut self, val: bool) { unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(53usize, 2u8, val as u64) + let val: u8 = ::std::mem::transmute(val); + self._bitfield_1.set(53usize, 1u8, val as u64) + } + } + #[inline] + pub fn mIsGoingAway(&self) -> bool { + unsafe { ::std::mem::transmute(self._bitfield_1.get(54usize, 1u8) as u8) } + } + #[inline] + pub fn set_mIsGoingAway(&mut self, val: bool) { + unsafe { + let val: u8 = ::std::mem::transmute(val); + self._bitfield_1.set(54usize, 1u8, val as u64) + } + } + #[inline] + pub fn mInXBLUpdate(&self) -> bool { + unsafe { ::std::mem::transmute(self._bitfield_1.get(55usize, 1u8) as u8) } + } + #[inline] + pub fn set_mInXBLUpdate(&mut self, val: bool) { + unsafe { + let val: u8 = ::std::mem::transmute(val); + self._bitfield_1.set(55usize, 1u8, val as u64) + } + } + #[inline] + pub fn mNeedsReleaseAfterStackRefCntRelease(&self) -> bool { + unsafe { ::std::mem::transmute(self._bitfield_1.get(56usize, 1u8) as u8) } + } + #[inline] + pub fn set_mNeedsReleaseAfterStackRefCntRelease(&mut self, val: bool) { + unsafe { + let val: u8 = ::std::mem::transmute(val); + self._bitfield_1.set(56usize, 1u8, val as u64) + } + } + #[inline] + pub fn mStyleSetFilled(&self) -> bool { + unsafe { ::std::mem::transmute(self._bitfield_1.get(57usize, 1u8) as u8) } + } + #[inline] + pub fn set_mStyleSetFilled(&mut self, val: bool) { + unsafe { + let val: u8 = ::std::mem::transmute(val); + self._bitfield_1.set(57usize, 1u8, val as u64) + } + } + #[inline] + pub fn mSSApplicableStateNotificationPending(&self) -> bool { + unsafe { ::std::mem::transmute(self._bitfield_1.get(58usize, 1u8) as u8) } + } + #[inline] + pub fn set_mSSApplicableStateNotificationPending(&mut self, val: bool) { + unsafe { + let val: u8 = ::std::mem::transmute(val); + self._bitfield_1.set(58usize, 1u8, val as u64) + } + } + #[inline] + pub fn mMayHaveTitleElement(&self) -> bool { + unsafe { ::std::mem::transmute(self._bitfield_1.get(59usize, 1u8) as u8) } + } + #[inline] + pub fn set_mMayHaveTitleElement(&mut self, val: bool) { + unsafe { + let val: u8 = ::std::mem::transmute(val); + self._bitfield_1.set(59usize, 1u8, val as u64) + } + } + #[inline] + pub fn mDOMLoadingSet(&self) -> bool { + unsafe { ::std::mem::transmute(self._bitfield_1.get(60usize, 1u8) as u8) } + } + #[inline] + pub fn set_mDOMLoadingSet(&mut self, val: bool) { + unsafe { + let val: u8 = ::std::mem::transmute(val); + self._bitfield_1.set(60usize, 1u8, val as u64) + } + } + #[inline] + pub fn mDOMInteractiveSet(&self) -> bool { + unsafe { ::std::mem::transmute(self._bitfield_1.get(61usize, 1u8) as u8) } + } + #[inline] + pub fn set_mDOMInteractiveSet(&mut self, val: bool) { + unsafe { + let val: u8 = ::std::mem::transmute(val); + self._bitfield_1.set(61usize, 1u8, val as u64) + } + } + #[inline] + pub fn mDOMCompleteSet(&self) -> bool { + unsafe { ::std::mem::transmute(self._bitfield_1.get(62usize, 1u8) as u8) } + } + #[inline] + pub fn set_mDOMCompleteSet(&mut self, val: bool) { + unsafe { + let val: u8 = ::std::mem::transmute(val); + self._bitfield_1.set(62usize, 1u8, val as u64) + } + } + #[inline] + pub fn mAutoFocusFired(&self) -> bool { + unsafe { ::std::mem::transmute(self._bitfield_1.get(63usize, 1u8) as u8) } + } + #[inline] + pub fn set_mAutoFocusFired(&mut self, val: bool) { + unsafe { + let val: u8 = ::std::mem::transmute(val); + self._bitfield_1.set(63usize, 1u8, val as u64) + } + } + #[inline] + pub fn mScrolledToRefAlready(&self) -> bool { + unsafe { ::std::mem::transmute(self._bitfield_1.get(64usize, 1u8) as u8) } + } + #[inline] + pub fn set_mScrolledToRefAlready(&mut self, val: bool) { + unsafe { + let val: u8 = ::std::mem::transmute(val); + self._bitfield_1.set(64usize, 1u8, val as u64) + } + } + #[inline] + pub fn mChangeScrollPosWhenScrollingToRef(&self) -> bool { + unsafe { ::std::mem::transmute(self._bitfield_1.get(65usize, 1u8) as u8) } + } + #[inline] + pub fn set_mChangeScrollPosWhenScrollingToRef(&mut self, val: bool) { + unsafe { + let val: u8 = ::std::mem::transmute(val); + self._bitfield_1.set(65usize, 1u8, val as u64) + } + } + #[inline] + pub fn mHasWarnedAboutBoxObjects(&self) -> bool { + unsafe { ::std::mem::transmute(self._bitfield_1.get(66usize, 1u8) as u8) } + } + #[inline] + pub fn set_mHasWarnedAboutBoxObjects(&mut self, val: bool) { + unsafe { + let val: u8 = ::std::mem::transmute(val); + self._bitfield_1.set(66usize, 1u8, val as u64) + } + } + #[inline] + pub fn mDelayFrameLoaderInitialization(&self) -> bool { + unsafe { ::std::mem::transmute(self._bitfield_1.get(67usize, 1u8) as u8) } + } + #[inline] + pub fn set_mDelayFrameLoaderInitialization(&mut self, val: bool) { + unsafe { + let val: u8 = ::std::mem::transmute(val); + self._bitfield_1.set(67usize, 1u8, val as u64) + } + } + #[inline] + pub fn mSynchronousDOMContentLoaded(&self) -> bool { + unsafe { ::std::mem::transmute(self._bitfield_1.get(68usize, 1u8) as u8) } + } + #[inline] + pub fn set_mSynchronousDOMContentLoaded(&mut self, val: bool) { + unsafe { + let val: u8 = ::std::mem::transmute(val); + self._bitfield_1.set(68usize, 1u8, val as u64) + } + } + #[inline] + pub fn mMaybeServiceWorkerControlled(&self) -> bool { + unsafe { ::std::mem::transmute(self._bitfield_1.get(69usize, 1u8) as u8) } + } + #[inline] + pub fn set_mMaybeServiceWorkerControlled(&mut self, val: bool) { + unsafe { + let val: u8 = ::std::mem::transmute(val); + self._bitfield_1.set(69usize, 1u8, val as u64) + } + } + #[inline] + pub fn mValidWidth(&self) -> bool { + unsafe { ::std::mem::transmute(self._bitfield_1.get(70usize, 1u8) as u8) } + } + #[inline] + pub fn set_mValidWidth(&mut self, val: bool) { + unsafe { + let val: u8 = ::std::mem::transmute(val); + self._bitfield_1.set(70usize, 1u8, val as u64) + } + } + #[inline] + pub fn mValidHeight(&self) -> bool { + unsafe { ::std::mem::transmute(self._bitfield_1.get(71usize, 1u8) as u8) } + } + #[inline] + pub fn set_mValidHeight(&mut self, val: bool) { + unsafe { + let val: u8 = ::std::mem::transmute(val); + self._bitfield_1.set(71usize, 1u8, val as u64) + } + } + #[inline] + pub fn mAutoSize(&self) -> bool { + unsafe { ::std::mem::transmute(self._bitfield_1.get(72usize, 1u8) as u8) } + } + #[inline] + pub fn set_mAutoSize(&mut self, val: bool) { + unsafe { + let val: u8 = ::std::mem::transmute(val); + self._bitfield_1.set(72usize, 1u8, val as u64) + } + } + #[inline] + pub fn mAllowZoom(&self) -> bool { + unsafe { ::std::mem::transmute(self._bitfield_1.get(73usize, 1u8) as u8) } + } + #[inline] + pub fn set_mAllowZoom(&mut self, val: bool) { + unsafe { + let val: u8 = ::std::mem::transmute(val); + self._bitfield_1.set(73usize, 1u8, val as u64) + } + } + #[inline] + pub fn mAllowDoubleTapZoom(&self) -> bool { + unsafe { ::std::mem::transmute(self._bitfield_1.get(74usize, 1u8) as u8) } + } + #[inline] + pub fn set_mAllowDoubleTapZoom(&mut self, val: bool) { + unsafe { + let val: u8 = ::std::mem::transmute(val); + self._bitfield_1.set(74usize, 1u8, val as u64) + } + } + #[inline] + pub fn mValidScaleFloat(&self) -> bool { + unsafe { ::std::mem::transmute(self._bitfield_1.get(75usize, 1u8) as u8) } + } + #[inline] + pub fn set_mValidScaleFloat(&mut self, val: bool) { + unsafe { + let val: u8 = ::std::mem::transmute(val); + self._bitfield_1.set(75usize, 1u8, val as u64) + } + } + #[inline] + pub fn mValidMaxScale(&self) -> bool { + unsafe { ::std::mem::transmute(self._bitfield_1.get(76usize, 1u8) as u8) } + } + #[inline] + pub fn set_mValidMaxScale(&mut self, val: bool) { + unsafe { + let val: u8 = ::std::mem::transmute(val); + self._bitfield_1.set(76usize, 1u8, val as u64) + } + } + #[inline] + pub fn mScaleStrEmpty(&self) -> bool { + unsafe { ::std::mem::transmute(self._bitfield_1.get(77usize, 1u8) as u8) } + } + #[inline] + pub fn set_mScaleStrEmpty(&mut self, val: bool) { + unsafe { + let val: u8 = ::std::mem::transmute(val); + self._bitfield_1.set(77usize, 1u8, val as u64) + } + } + #[inline] + pub fn mWidthStrEmpty(&self) -> bool { + unsafe { ::std::mem::transmute(self._bitfield_1.get(78usize, 1u8) as u8) } + } + #[inline] + pub fn set_mWidthStrEmpty(&mut self, val: bool) { + unsafe { + let val: u8 = ::std::mem::transmute(val); + self._bitfield_1.set(78usize, 1u8, val as u64) } } #[inline] @@ -25186,10 +26105,35 @@ pub mod root { mIsShadowDOMEnabled: bool, mIsSVGGlyphsDocument: bool, mAllowUnsafeHTML: bool, - mIsScopedStyleEnabled: ::std::os::raw::c_uint, - ) -> root::__BindgenBitfieldUnit<[u8; 7usize], u8> { + mInDestructor: bool, + mIsGoingAway: bool, + mInXBLUpdate: bool, + mNeedsReleaseAfterStackRefCntRelease: bool, + mStyleSetFilled: bool, + mSSApplicableStateNotificationPending: bool, + mMayHaveTitleElement: bool, + mDOMLoadingSet: bool, + mDOMInteractiveSet: bool, + mDOMCompleteSet: bool, + mAutoFocusFired: bool, + mScrolledToRefAlready: bool, + mChangeScrollPosWhenScrollingToRef: bool, + mHasWarnedAboutBoxObjects: bool, + mDelayFrameLoaderInitialization: bool, + mSynchronousDOMContentLoaded: bool, + mMaybeServiceWorkerControlled: bool, + mValidWidth: bool, + mValidHeight: bool, + mAutoSize: bool, + mAllowZoom: bool, + mAllowDoubleTapZoom: bool, + mValidScaleFloat: bool, + mValidMaxScale: bool, + mScaleStrEmpty: bool, + mWidthStrEmpty: bool, + ) -> root::__BindgenBitfieldUnit<[u8; 10usize], u8> { let mut __bindgen_bitfield_unit: root::__BindgenBitfieldUnit< - [u8; 7usize], + [u8; 10usize], u8, > = Default::default(); __bindgen_bitfield_unit.set(0usize, 1u8, { @@ -25434,10 +26378,118 @@ pub mod root { let mAllowUnsafeHTML: u8 = unsafe { ::std::mem::transmute(mAllowUnsafeHTML) }; mAllowUnsafeHTML as u64 }); - __bindgen_bitfield_unit.set(53usize, 2u8, { - let mIsScopedStyleEnabled: u32 = - unsafe { ::std::mem::transmute(mIsScopedStyleEnabled) }; - mIsScopedStyleEnabled as u64 + __bindgen_bitfield_unit.set(53usize, 1u8, { + let mInDestructor: u8 = unsafe { ::std::mem::transmute(mInDestructor) }; + mInDestructor as u64 + }); + __bindgen_bitfield_unit.set(54usize, 1u8, { + let mIsGoingAway: u8 = unsafe { ::std::mem::transmute(mIsGoingAway) }; + mIsGoingAway as u64 + }); + __bindgen_bitfield_unit.set(55usize, 1u8, { + let mInXBLUpdate: u8 = unsafe { ::std::mem::transmute(mInXBLUpdate) }; + mInXBLUpdate as u64 + }); + __bindgen_bitfield_unit.set(56usize, 1u8, { + let mNeedsReleaseAfterStackRefCntRelease: u8 = + unsafe { ::std::mem::transmute(mNeedsReleaseAfterStackRefCntRelease) }; + mNeedsReleaseAfterStackRefCntRelease as u64 + }); + __bindgen_bitfield_unit.set(57usize, 1u8, { + let mStyleSetFilled: u8 = unsafe { ::std::mem::transmute(mStyleSetFilled) }; + mStyleSetFilled as u64 + }); + __bindgen_bitfield_unit.set(58usize, 1u8, { + let mSSApplicableStateNotificationPending: u8 = + unsafe { ::std::mem::transmute(mSSApplicableStateNotificationPending) }; + mSSApplicableStateNotificationPending as u64 + }); + __bindgen_bitfield_unit.set(59usize, 1u8, { + let mMayHaveTitleElement: u8 = + unsafe { ::std::mem::transmute(mMayHaveTitleElement) }; + mMayHaveTitleElement as u64 + }); + __bindgen_bitfield_unit.set(60usize, 1u8, { + let mDOMLoadingSet: u8 = unsafe { ::std::mem::transmute(mDOMLoadingSet) }; + mDOMLoadingSet as u64 + }); + __bindgen_bitfield_unit.set(61usize, 1u8, { + let mDOMInteractiveSet: u8 = unsafe { ::std::mem::transmute(mDOMInteractiveSet) }; + mDOMInteractiveSet as u64 + }); + __bindgen_bitfield_unit.set(62usize, 1u8, { + let mDOMCompleteSet: u8 = unsafe { ::std::mem::transmute(mDOMCompleteSet) }; + mDOMCompleteSet as u64 + }); + __bindgen_bitfield_unit.set(63usize, 1u8, { + let mAutoFocusFired: u8 = unsafe { ::std::mem::transmute(mAutoFocusFired) }; + mAutoFocusFired as u64 + }); + __bindgen_bitfield_unit.set(64usize, 1u8, { + let mScrolledToRefAlready: u8 = + unsafe { ::std::mem::transmute(mScrolledToRefAlready) }; + mScrolledToRefAlready as u64 + }); + __bindgen_bitfield_unit.set(65usize, 1u8, { + let mChangeScrollPosWhenScrollingToRef: u8 = + unsafe { ::std::mem::transmute(mChangeScrollPosWhenScrollingToRef) }; + mChangeScrollPosWhenScrollingToRef as u64 + }); + __bindgen_bitfield_unit.set(66usize, 1u8, { + let mHasWarnedAboutBoxObjects: u8 = + unsafe { ::std::mem::transmute(mHasWarnedAboutBoxObjects) }; + mHasWarnedAboutBoxObjects as u64 + }); + __bindgen_bitfield_unit.set(67usize, 1u8, { + let mDelayFrameLoaderInitialization: u8 = + unsafe { ::std::mem::transmute(mDelayFrameLoaderInitialization) }; + mDelayFrameLoaderInitialization as u64 + }); + __bindgen_bitfield_unit.set(68usize, 1u8, { + let mSynchronousDOMContentLoaded: u8 = + unsafe { ::std::mem::transmute(mSynchronousDOMContentLoaded) }; + mSynchronousDOMContentLoaded as u64 + }); + __bindgen_bitfield_unit.set(69usize, 1u8, { + let mMaybeServiceWorkerControlled: u8 = + unsafe { ::std::mem::transmute(mMaybeServiceWorkerControlled) }; + mMaybeServiceWorkerControlled as u64 + }); + __bindgen_bitfield_unit.set(70usize, 1u8, { + let mValidWidth: u8 = unsafe { ::std::mem::transmute(mValidWidth) }; + mValidWidth as u64 + }); + __bindgen_bitfield_unit.set(71usize, 1u8, { + let mValidHeight: u8 = unsafe { ::std::mem::transmute(mValidHeight) }; + mValidHeight as u64 + }); + __bindgen_bitfield_unit.set(72usize, 1u8, { + let mAutoSize: u8 = unsafe { ::std::mem::transmute(mAutoSize) }; + mAutoSize as u64 + }); + __bindgen_bitfield_unit.set(73usize, 1u8, { + let mAllowZoom: u8 = unsafe { ::std::mem::transmute(mAllowZoom) }; + mAllowZoom as u64 + }); + __bindgen_bitfield_unit.set(74usize, 1u8, { + let mAllowDoubleTapZoom: u8 = unsafe { ::std::mem::transmute(mAllowDoubleTapZoom) }; + mAllowDoubleTapZoom as u64 + }); + __bindgen_bitfield_unit.set(75usize, 1u8, { + let mValidScaleFloat: u8 = unsafe { ::std::mem::transmute(mValidScaleFloat) }; + mValidScaleFloat as u64 + }); + __bindgen_bitfield_unit.set(76usize, 1u8, { + let mValidMaxScale: u8 = unsafe { ::std::mem::transmute(mValidMaxScale) }; + mValidMaxScale as u64 + }); + __bindgen_bitfield_unit.set(77usize, 1u8, { + let mScaleStrEmpty: u8 = unsafe { ::std::mem::transmute(mScaleStrEmpty) }; + mScaleStrEmpty as u64 + }); + __bindgen_bitfield_unit.set(78usize, 1u8, { + let mWidthStrEmpty: u8 = unsafe { ::std::mem::transmute(mWidthStrEmpty) }; + mWidthStrEmpty as u64 }); __bindgen_bitfield_unit } @@ -25588,16 +26640,6 @@ pub mod root { } #[repr(C)] #[derive(Debug, Copy)] - pub struct nsIPrintSettings { - _unused: [u8; 0], - } - impl Clone for nsIPrintSettings { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] pub struct gfxTextPerfMetrics { _unused: [u8; 0], } @@ -25759,23 +26801,17 @@ pub mod root { *self } } - pub const nsPresContext_nsPresContextType_eContext_Galley: - root::nsPresContext_nsPresContextType = 0; - pub const nsPresContext_nsPresContextType_eContext_PrintPreview: - root::nsPresContext_nsPresContextType = 1; - pub const nsPresContext_nsPresContextType_eContext_Print: - root::nsPresContext_nsPresContextType = 2; - pub const nsPresContext_nsPresContextType_eContext_PageLayout: - root::nsPresContext_nsPresContextType = 3; + pub const nsPresContext_nsPresContextType_eContext_Galley : root :: nsPresContext_nsPresContextType = 0 ; + pub const nsPresContext_nsPresContextType_eContext_PrintPreview : root :: nsPresContext_nsPresContextType = 1 ; + pub const nsPresContext_nsPresContextType_eContext_Print : root :: nsPresContext_nsPresContextType = 2 ; + pub const nsPresContext_nsPresContextType_eContext_PageLayout : root :: nsPresContext_nsPresContextType = 3 ; pub type nsPresContext_nsPresContextType = u32; pub const nsPresContext_InteractionType_eClickInteraction: root::nsPresContext_InteractionType = 0; pub const nsPresContext_InteractionType_eKeyInteraction: root::nsPresContext_InteractionType = 1; - pub const nsPresContext_InteractionType_eMouseMoveInteraction: - root::nsPresContext_InteractionType = 2; - pub const nsPresContext_InteractionType_eScrollInteraction: - root::nsPresContext_InteractionType = 3; + pub const nsPresContext_InteractionType_eMouseMoveInteraction : root :: nsPresContext_InteractionType = 2 ; + pub const nsPresContext_InteractionType_eScrollInteraction : root :: nsPresContext_InteractionType = 3 ; pub type nsPresContext_InteractionType = u32; /// A class that can be used to temporarily disable reflow interruption. #[repr(C)] @@ -27477,6 +28513,221 @@ pub mod root { __bindgen_bitfield_unit } } + #[repr(C)] + #[derive(Debug, Copy)] + pub struct nsTimingFunction { + pub mType: root::nsTimingFunction_Type, + pub __bindgen_anon_1: root::nsTimingFunction__bindgen_ty_1, + } + #[repr(i32)] + #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] + pub enum nsTimingFunction_Type { + Ease = 0, + Linear = 1, + EaseIn = 2, + EaseOut = 3, + EaseInOut = 4, + StepStart = 5, + StepEnd = 6, + CubicBezier = 7, + Frames = 8, + } + pub const nsTimingFunction_Keyword_Implicit: root::nsTimingFunction_Keyword = 0; + pub const nsTimingFunction_Keyword_Explicit: root::nsTimingFunction_Keyword = 1; + pub type nsTimingFunction_Keyword = i32; + #[repr(C)] + #[derive(Debug, Copy)] + pub struct nsTimingFunction__bindgen_ty_1 { + pub mFunc: root::__BindgenUnionField, + pub __bindgen_anon_1: + root::__BindgenUnionField, + pub bindgen_union_field: [u32; 4usize], + } + #[repr(C)] + #[derive(Debug, Copy)] + pub struct nsTimingFunction__bindgen_ty_1__bindgen_ty_1 { + pub mX1: f32, + pub mY1: f32, + pub mX2: f32, + pub mY2: f32, + } + #[test] + fn bindgen_test_layout_nsTimingFunction__bindgen_ty_1__bindgen_ty_1() { + assert_eq!( + ::std::mem::size_of::(), + 16usize, + concat!( + "Size of: ", + stringify!(nsTimingFunction__bindgen_ty_1__bindgen_ty_1) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 4usize, + concat!( + "Alignment of ", + stringify!(nsTimingFunction__bindgen_ty_1__bindgen_ty_1) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).mX1 + as *const _ as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(nsTimingFunction__bindgen_ty_1__bindgen_ty_1), + "::", + stringify!(mX1) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).mY1 + as *const _ as usize + }, + 4usize, + concat!( + "Offset of field: ", + stringify!(nsTimingFunction__bindgen_ty_1__bindgen_ty_1), + "::", + stringify!(mY1) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).mX2 + as *const _ as usize + }, + 8usize, + concat!( + "Offset of field: ", + stringify!(nsTimingFunction__bindgen_ty_1__bindgen_ty_1), + "::", + stringify!(mX2) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).mY2 + as *const _ as usize + }, + 12usize, + concat!( + "Offset of field: ", + stringify!(nsTimingFunction__bindgen_ty_1__bindgen_ty_1), + "::", + stringify!(mY2) + ) + ); + } + impl Clone for nsTimingFunction__bindgen_ty_1__bindgen_ty_1 { + fn clone(&self) -> Self { + *self + } + } + #[repr(C)] + #[derive(Debug, Copy)] + pub struct nsTimingFunction__bindgen_ty_1__bindgen_ty_2 { + pub mStepsOrFrames: u32, + } + #[test] + fn bindgen_test_layout_nsTimingFunction__bindgen_ty_1__bindgen_ty_2() { + assert_eq!( + ::std::mem::size_of::(), + 4usize, + concat!( + "Size of: ", + stringify!(nsTimingFunction__bindgen_ty_1__bindgen_ty_2) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 4usize, + concat!( + "Alignment of ", + stringify!(nsTimingFunction__bindgen_ty_1__bindgen_ty_2) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())) + .mStepsOrFrames as *const _ as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(nsTimingFunction__bindgen_ty_1__bindgen_ty_2), + "::", + stringify!(mStepsOrFrames) + ) + ); + } + impl Clone for nsTimingFunction__bindgen_ty_1__bindgen_ty_2 { + fn clone(&self) -> Self { + *self + } + } + #[test] + fn bindgen_test_layout_nsTimingFunction__bindgen_ty_1() { + assert_eq!( + ::std::mem::size_of::(), + 16usize, + concat!("Size of: ", stringify!(nsTimingFunction__bindgen_ty_1)) + ); + assert_eq!( + ::std::mem::align_of::(), + 4usize, + concat!("Alignment of ", stringify!(nsTimingFunction__bindgen_ty_1)) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).mFunc as *const _ + as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(nsTimingFunction__bindgen_ty_1), + "::", + stringify!(mFunc) + ) + ); + } + impl Clone for nsTimingFunction__bindgen_ty_1 { + fn clone(&self) -> Self { + *self + } + } + #[test] + fn bindgen_test_layout_nsTimingFunction() { + assert_eq!( + ::std::mem::size_of::(), + 20usize, + concat!("Size of: ", stringify!(nsTimingFunction)) + ); + assert_eq!( + ::std::mem::align_of::(), + 4usize, + concat!("Alignment of ", stringify!(nsTimingFunction)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).mType as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(nsTimingFunction), + "::", + stringify!(mType) + ) + ); + } + impl Clone for nsTimingFunction { + fn clone(&self) -> Self { + *self + } + } #[repr(i16)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] pub enum nsCSSKeyword { @@ -30730,34 +31981,6 @@ pub mod root { } #[repr(C)] #[derive(Debug, Copy)] - pub struct nsIInterfaceRequestor { - pub _base: root::nsISupports, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsIInterfaceRequestor_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsIInterfaceRequestor() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsIInterfaceRequestor)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIInterfaceRequestor)) - ); - } - impl Clone for nsIInterfaceRequestor { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] pub struct ProxyBehaviour { _unused: [u8; 0], } @@ -34533,221 +35756,6 @@ pub mod root { ); } #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsTimingFunction { - pub mType: root::nsTimingFunction_Type, - pub __bindgen_anon_1: root::nsTimingFunction__bindgen_ty_1, - } - #[repr(i32)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum nsTimingFunction_Type { - Ease = 0, - Linear = 1, - EaseIn = 2, - EaseOut = 3, - EaseInOut = 4, - StepStart = 5, - StepEnd = 6, - CubicBezier = 7, - Frames = 8, - } - pub const nsTimingFunction_Keyword_Implicit: root::nsTimingFunction_Keyword = 0; - pub const nsTimingFunction_Keyword_Explicit: root::nsTimingFunction_Keyword = 1; - pub type nsTimingFunction_Keyword = i32; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsTimingFunction__bindgen_ty_1 { - pub mFunc: root::__BindgenUnionField, - pub __bindgen_anon_1: - root::__BindgenUnionField, - pub bindgen_union_field: [u32; 4usize], - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsTimingFunction__bindgen_ty_1__bindgen_ty_1 { - pub mX1: f32, - pub mY1: f32, - pub mX2: f32, - pub mY2: f32, - } - #[test] - fn bindgen_test_layout_nsTimingFunction__bindgen_ty_1__bindgen_ty_1() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!( - "Size of: ", - stringify!(nsTimingFunction__bindgen_ty_1__bindgen_ty_1) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!( - "Alignment of ", - stringify!(nsTimingFunction__bindgen_ty_1__bindgen_ty_1) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mX1 - as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsTimingFunction__bindgen_ty_1__bindgen_ty_1), - "::", - stringify!(mX1) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mY1 - as *const _ as usize - }, - 4usize, - concat!( - "Offset of field: ", - stringify!(nsTimingFunction__bindgen_ty_1__bindgen_ty_1), - "::", - stringify!(mY1) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mX2 - as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsTimingFunction__bindgen_ty_1__bindgen_ty_1), - "::", - stringify!(mX2) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mY2 - as *const _ as usize - }, - 12usize, - concat!( - "Offset of field: ", - stringify!(nsTimingFunction__bindgen_ty_1__bindgen_ty_1), - "::", - stringify!(mY2) - ) - ); - } - impl Clone for nsTimingFunction__bindgen_ty_1__bindgen_ty_1 { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsTimingFunction__bindgen_ty_1__bindgen_ty_2 { - pub mStepsOrFrames: u32, - } - #[test] - fn bindgen_test_layout_nsTimingFunction__bindgen_ty_1__bindgen_ty_2() { - assert_eq!( - ::std::mem::size_of::(), - 4usize, - concat!( - "Size of: ", - stringify!(nsTimingFunction__bindgen_ty_1__bindgen_ty_2) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!( - "Alignment of ", - stringify!(nsTimingFunction__bindgen_ty_1__bindgen_ty_2) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())) - .mStepsOrFrames as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsTimingFunction__bindgen_ty_1__bindgen_ty_2), - "::", - stringify!(mStepsOrFrames) - ) - ); - } - impl Clone for nsTimingFunction__bindgen_ty_1__bindgen_ty_2 { - fn clone(&self) -> Self { - *self - } - } - #[test] - fn bindgen_test_layout_nsTimingFunction__bindgen_ty_1() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(nsTimingFunction__bindgen_ty_1)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(nsTimingFunction__bindgen_ty_1)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mFunc as *const _ - as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsTimingFunction__bindgen_ty_1), - "::", - stringify!(mFunc) - ) - ); - } - impl Clone for nsTimingFunction__bindgen_ty_1 { - fn clone(&self) -> Self { - *self - } - } - #[test] - fn bindgen_test_layout_nsTimingFunction() { - assert_eq!( - ::std::mem::size_of::(), - 20usize, - concat!("Size of: ", stringify!(nsTimingFunction)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(nsTimingFunction)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mType as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsTimingFunction), - "::", - stringify!(mType) - ) - ); - } - impl Clone for nsTimingFunction { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] #[derive(Debug)] pub struct nsStyleDisplay { pub mBinding: root::RefPtr, @@ -37584,40 +38592,6 @@ pub mod root { 127; pub const ThemeWidgetType_ThemeWidgetType_COUNT: root::ThemeWidgetType = 128; pub type ThemeWidgetType = u8; - /// Hashtable key class to use with nsTHashtable/nsBaseHashtable - #[repr(C)] - #[derive(Debug)] - pub struct nsURIHashKey { - pub _base: root::PLDHashEntryHdr, - pub mKey: root::nsCOMPtr, - } - pub type nsURIHashKey_KeyType = *mut root::nsIURI; - pub type nsURIHashKey_KeyTypePointer = *const root::nsIURI; - pub const nsURIHashKey_ALLOW_MEMMOVE: root::nsURIHashKey__bindgen_ty_1 = 1; - pub type nsURIHashKey__bindgen_ty_1 = u32; - #[test] - fn bindgen_test_layout_nsURIHashKey() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(nsURIHashKey)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsURIHashKey)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mKey as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsURIHashKey), - "::", - stringify!(mKey) - ) - ); - } #[repr(C)] #[derive(Debug, Copy)] pub struct nsIConsoleReportCollector { @@ -37694,317 +38668,6 @@ pub mod root { *self } } - #[repr(C)] - #[derive(Debug)] - pub struct nsAttrName { - pub mBits: usize, - } - #[test] - fn bindgen_test_layout_nsAttrName() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsAttrName)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsAttrName)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mBits as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsAttrName), - "::", - stringify!(mBits) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct nsAttrValue { - pub mBits: usize, - } - pub const nsAttrValue_ValueType_eString: root::nsAttrValue_ValueType = 0; - pub const nsAttrValue_ValueType_eAtom: root::nsAttrValue_ValueType = 2; - pub const nsAttrValue_ValueType_eInteger: root::nsAttrValue_ValueType = 3; - pub const nsAttrValue_ValueType_eColor: root::nsAttrValue_ValueType = 7; - pub const nsAttrValue_ValueType_eEnum: root::nsAttrValue_ValueType = 11; - pub const nsAttrValue_ValueType_ePercent: root::nsAttrValue_ValueType = 15; - pub const nsAttrValue_ValueType_eCSSDeclaration: root::nsAttrValue_ValueType = 16; - pub const nsAttrValue_ValueType_eURL: root::nsAttrValue_ValueType = 17; - pub const nsAttrValue_ValueType_eImage: root::nsAttrValue_ValueType = 18; - pub const nsAttrValue_ValueType_eAtomArray: root::nsAttrValue_ValueType = 19; - pub const nsAttrValue_ValueType_eDoubleValue: root::nsAttrValue_ValueType = 20; - pub const nsAttrValue_ValueType_eIntMarginValue: root::nsAttrValue_ValueType = 21; - pub const nsAttrValue_ValueType_eSVGAngle: root::nsAttrValue_ValueType = 22; - pub const nsAttrValue_ValueType_eSVGTypesBegin: root::nsAttrValue_ValueType = 22; - pub const nsAttrValue_ValueType_eSVGIntegerPair: root::nsAttrValue_ValueType = 23; - pub const nsAttrValue_ValueType_eSVGLength: root::nsAttrValue_ValueType = 24; - pub const nsAttrValue_ValueType_eSVGLengthList: root::nsAttrValue_ValueType = 25; - pub const nsAttrValue_ValueType_eSVGNumberList: root::nsAttrValue_ValueType = 26; - pub const nsAttrValue_ValueType_eSVGNumberPair: root::nsAttrValue_ValueType = 27; - pub const nsAttrValue_ValueType_eSVGPathData: root::nsAttrValue_ValueType = 28; - pub const nsAttrValue_ValueType_eSVGPointList: root::nsAttrValue_ValueType = 29; - pub const nsAttrValue_ValueType_eSVGPreserveAspectRatio: root::nsAttrValue_ValueType = 30; - pub const nsAttrValue_ValueType_eSVGStringList: root::nsAttrValue_ValueType = 31; - pub const nsAttrValue_ValueType_eSVGTransformList: root::nsAttrValue_ValueType = 32; - pub const nsAttrValue_ValueType_eSVGViewBox: root::nsAttrValue_ValueType = 33; - pub const nsAttrValue_ValueType_eSVGTypesEnd: root::nsAttrValue_ValueType = 33; - pub type nsAttrValue_ValueType = u32; - /// Structure for a mapping from int (enum) values to strings. When you use - /// it you generally create an array of them. - /// Instantiate like this: - /// EnumTable myTable[] = { - /// { "string1", 1 }, - /// { "string2", 2 }, - /// { nullptr, 0 } - /// } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsAttrValue_EnumTable { - /// The string the value maps to - pub tag: *const ::std::os::raw::c_char, - /// The enum value that maps to this string - pub value: i16, - } - #[test] - fn bindgen_test_layout_nsAttrValue_EnumTable() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(nsAttrValue_EnumTable)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsAttrValue_EnumTable)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).tag as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsAttrValue_EnumTable), - "::", - stringify!(tag) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).value as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsAttrValue_EnumTable), - "::", - stringify!(value) - ) - ); - } - impl Clone for nsAttrValue_EnumTable { - fn clone(&self) -> Self { - *self - } - } - pub const nsAttrValue_ValueBaseType_eStringBase: root::nsAttrValue_ValueBaseType = 0; - pub const nsAttrValue_ValueBaseType_eOtherBase: root::nsAttrValue_ValueBaseType = 1; - pub const nsAttrValue_ValueBaseType_eAtomBase: root::nsAttrValue_ValueBaseType = 2; - pub const nsAttrValue_ValueBaseType_eIntegerBase: root::nsAttrValue_ValueBaseType = 3; - pub type nsAttrValue_ValueBaseType = u32; - extern "C" { - #[link_name = "\u{1}_ZN11nsAttrValue15sEnumTableArrayE"] - pub static mut nsAttrValue_sEnumTableArray: - *mut root::nsTArray<*const root::nsAttrValue_EnumTable>; - } - #[test] - fn bindgen_test_layout_nsAttrValue() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsAttrValue)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsAttrValue)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mBits as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsAttrValue), - "::", - stringify!(mBits) - ) - ); - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsMappedAttributes { - _unused: [u8; 0], - } - impl Clone for nsMappedAttributes { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug)] - pub struct nsAttrAndChildArray { - pub mImpl: *mut root::nsAttrAndChildArray_Impl, - } - pub type nsAttrAndChildArray_BorrowedAttrInfo = root::mozilla::dom::BorrowedAttrInfo; - #[repr(C)] - #[derive(Debug)] - pub struct nsAttrAndChildArray_InternalAttr { - pub mName: root::nsAttrName, - pub mValue: root::nsAttrValue, - } - #[test] - fn bindgen_test_layout_nsAttrAndChildArray_InternalAttr() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(nsAttrAndChildArray_InternalAttr)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of ", - stringify!(nsAttrAndChildArray_InternalAttr) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mName as *const _ - as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsAttrAndChildArray_InternalAttr), - "::", - stringify!(mName) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mValue as *const _ - as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsAttrAndChildArray_InternalAttr), - "::", - stringify!(mValue) - ) - ); - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsAttrAndChildArray_Impl { - pub mAttrAndChildCount: u32, - pub mBufferSize: u32, - pub mMappedAttrs: *mut root::nsMappedAttributes, - pub mBuffer: [*mut ::std::os::raw::c_void; 1usize], - } - #[test] - fn bindgen_test_layout_nsAttrAndChildArray_Impl() { - assert_eq!( - ::std::mem::size_of::(), - 24usize, - concat!("Size of: ", stringify!(nsAttrAndChildArray_Impl)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsAttrAndChildArray_Impl)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mAttrAndChildCount as *const _ - as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsAttrAndChildArray_Impl), - "::", - stringify!(mAttrAndChildCount) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mBufferSize as *const _ - as usize - }, - 4usize, - concat!( - "Offset of field: ", - stringify!(nsAttrAndChildArray_Impl), - "::", - stringify!(mBufferSize) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mMappedAttrs as *const _ - as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsAttrAndChildArray_Impl), - "::", - stringify!(mMappedAttrs) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mBuffer as *const _ as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(nsAttrAndChildArray_Impl), - "::", - stringify!(mBuffer) - ) - ); - } - impl Clone for nsAttrAndChildArray_Impl { - fn clone(&self) -> Self { - *self - } - } - #[test] - fn bindgen_test_layout_nsAttrAndChildArray() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsAttrAndChildArray)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsAttrAndChildArray)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mImpl as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsAttrAndChildArray), - "::", - stringify!(mImpl) - ) - ); - } /// An internal interface #[repr(C)] #[derive(Debug, Copy)] @@ -38631,6 +39294,34 @@ pub mod root { concat!("Alignment of ", stringify!(nsISMILAttr)) ); } + #[repr(C)] + #[derive(Debug, Copy)] + pub struct nsIDOMClientRect { + pub _base: root::nsISupports, + } + #[repr(C)] + #[derive(Debug, Copy, Clone)] + pub struct nsIDOMClientRect_COMTypeInfo { + pub _address: u8, + } + #[test] + fn bindgen_test_layout_nsIDOMClientRect() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!("Size of: ", stringify!(nsIDOMClientRect)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(nsIDOMClientRect)) + ); + } + impl Clone for nsIDOMClientRect { + fn clone(&self) -> Self { + *self + } + } /// nsITheme is a service that provides platform-specific native /// rendering for widgets. In other words, it provides the necessary /// operations to draw a rendering object (an nsIFrame) as a native @@ -38767,27 +39458,27 @@ pub mod root { ) ); } - pub const ELEMENT_SHARED_RESTYLE_BIT_1: root::_bindgen_ty_79 = 8388608; - pub const ELEMENT_SHARED_RESTYLE_BIT_2: root::_bindgen_ty_79 = 16777216; - pub const ELEMENT_SHARED_RESTYLE_BIT_3: root::_bindgen_ty_79 = 33554432; - pub const ELEMENT_SHARED_RESTYLE_BIT_4: root::_bindgen_ty_79 = 67108864; - pub const ELEMENT_SHARED_RESTYLE_BITS: root::_bindgen_ty_79 = 125829120; - pub const ELEMENT_HAS_DIRTY_DESCENDANTS_FOR_SERVO: root::_bindgen_ty_79 = 8388608; - pub const ELEMENT_HAS_ANIMATION_ONLY_DIRTY_DESCENDANTS_FOR_SERVO: root::_bindgen_ty_79 = - 16777216; - pub const ELEMENT_HAS_SNAPSHOT: root::_bindgen_ty_79 = 33554432; - pub const ELEMENT_HANDLED_SNAPSHOT: root::_bindgen_ty_79 = 67108864; - pub const ELEMENT_HAS_PENDING_RESTYLE: root::_bindgen_ty_79 = 8388608; - pub const ELEMENT_IS_POTENTIAL_RESTYLE_ROOT: root::_bindgen_ty_79 = 16777216; - pub const ELEMENT_HAS_PENDING_ANIMATION_ONLY_RESTYLE: root::_bindgen_ty_79 = 33554432; - pub const ELEMENT_IS_POTENTIAL_ANIMATION_ONLY_RESTYLE_ROOT: root::_bindgen_ty_79 = 67108864; - pub const ELEMENT_IS_CONDITIONAL_RESTYLE_ANCESTOR: root::_bindgen_ty_79 = 134217728; - pub const ELEMENT_HAS_CHILD_WITH_LATER_SIBLINGS_HINT: root::_bindgen_ty_79 = 268435456; - pub const ELEMENT_PENDING_RESTYLE_FLAGS: root::_bindgen_ty_79 = 41943040; - pub const ELEMENT_POTENTIAL_RESTYLE_ROOT_FLAGS: root::_bindgen_ty_79 = 83886080; - pub const ELEMENT_ALL_RESTYLE_FLAGS: root::_bindgen_ty_79 = 260046848; - pub const ELEMENT_TYPE_SPECIFIC_BITS_OFFSET: root::_bindgen_ty_79 = 27; - pub type _bindgen_ty_79 = u32; + pub const ELEMENT_SHARED_RESTYLE_BIT_1: root::_bindgen_ty_31 = 4194304; + pub const ELEMENT_SHARED_RESTYLE_BIT_2: root::_bindgen_ty_31 = 8388608; + pub const ELEMENT_SHARED_RESTYLE_BIT_3: root::_bindgen_ty_31 = 16777216; + pub const ELEMENT_SHARED_RESTYLE_BIT_4: root::_bindgen_ty_31 = 33554432; + pub const ELEMENT_SHARED_RESTYLE_BITS: root::_bindgen_ty_31 = 62914560; + pub const ELEMENT_HAS_DIRTY_DESCENDANTS_FOR_SERVO: root::_bindgen_ty_31 = 4194304; + pub const ELEMENT_HAS_ANIMATION_ONLY_DIRTY_DESCENDANTS_FOR_SERVO: root::_bindgen_ty_31 = + 8388608; + pub const ELEMENT_HAS_SNAPSHOT: root::_bindgen_ty_31 = 16777216; + pub const ELEMENT_HANDLED_SNAPSHOT: root::_bindgen_ty_31 = 33554432; + pub const ELEMENT_HAS_PENDING_RESTYLE: root::_bindgen_ty_31 = 4194304; + pub const ELEMENT_IS_POTENTIAL_RESTYLE_ROOT: root::_bindgen_ty_31 = 8388608; + pub const ELEMENT_HAS_PENDING_ANIMATION_ONLY_RESTYLE: root::_bindgen_ty_31 = 16777216; + pub const ELEMENT_IS_POTENTIAL_ANIMATION_ONLY_RESTYLE_ROOT: root::_bindgen_ty_31 = 33554432; + pub const ELEMENT_IS_CONDITIONAL_RESTYLE_ANCESTOR: root::_bindgen_ty_31 = 67108864; + pub const ELEMENT_HAS_CHILD_WITH_LATER_SIBLINGS_HINT: root::_bindgen_ty_31 = 134217728; + pub const ELEMENT_PENDING_RESTYLE_FLAGS: root::_bindgen_ty_31 = 20971520; + pub const ELEMENT_POTENTIAL_RESTYLE_ROOT_FLAGS: root::_bindgen_ty_31 = 41943040; + pub const ELEMENT_ALL_RESTYLE_FLAGS: root::_bindgen_ty_31 = 130023424; + pub const ELEMENT_TYPE_SPECIFIC_BITS_OFFSET: root::_bindgen_ty_31 = 26; + pub type _bindgen_ty_31 = u32; pub type nsStyledElementBase = root::mozilla::dom::Element; #[repr(C)] pub struct nsStyledElement { @@ -38948,19 +39639,14 @@ pub mod root { pub _base: root::nsGenericHTMLElementBase, pub _base_1: root::nsIDOMElement, } - pub const nsGenericHTMLElement_PresContextFor_eForComposedDoc: - root::nsGenericHTMLElement_PresContextFor = 0; - pub const nsGenericHTMLElement_PresContextFor_eForUncomposedDoc: - root::nsGenericHTMLElement_PresContextFor = 1; + pub const nsGenericHTMLElement_PresContextFor_eForComposedDoc : root :: nsGenericHTMLElement_PresContextFor = 0 ; + pub const nsGenericHTMLElement_PresContextFor_eForUncomposedDoc : root :: nsGenericHTMLElement_PresContextFor = 1 ; /// Get the presentation context for this content node. /// @return the presentation context pub type nsGenericHTMLElement_PresContextFor = u32; - pub const nsGenericHTMLElement_ContentEditableTristate_eInherit: - root::nsGenericHTMLElement_ContentEditableTristate = -1; - pub const nsGenericHTMLElement_ContentEditableTristate_eFalse: - root::nsGenericHTMLElement_ContentEditableTristate = 0; - pub const nsGenericHTMLElement_ContentEditableTristate_eTrue: - root::nsGenericHTMLElement_ContentEditableTristate = 1; + pub const nsGenericHTMLElement_ContentEditableTristate_eInherit : root :: nsGenericHTMLElement_ContentEditableTristate = -1 ; + pub const nsGenericHTMLElement_ContentEditableTristate_eFalse : root :: nsGenericHTMLElement_ContentEditableTristate = 0 ; + pub const nsGenericHTMLElement_ContentEditableTristate_eTrue : root :: nsGenericHTMLElement_ContentEditableTristate = 1 ; pub type nsGenericHTMLElement_ContentEditableTristate = i32; extern "C" { #[link_name = "\u{1}_ZN20nsGenericHTMLElement19sCommonAttributeMapE"] @@ -39138,8 +39824,7 @@ pub mod root { 0; pub const nsDOMCSSDeclaration_Operation_eOperation_Modify: root::nsDOMCSSDeclaration_Operation = 1; - pub const nsDOMCSSDeclaration_Operation_eOperation_RemoveProperty: - root::nsDOMCSSDeclaration_Operation = 2; + pub const nsDOMCSSDeclaration_Operation_eOperation_RemoveProperty : root :: nsDOMCSSDeclaration_Operation = 2 ; pub type nsDOMCSSDeclaration_Operation = u32; #[repr(C)] #[derive(Debug)] @@ -39635,10 +40320,8 @@ pub mod root { pub mDocument: *mut root::nsIDocument, } pub type nsBindingManager_HasThreadSafeRefCnt = root::mozilla::FalseType; - pub const nsBindingManager_DestructorHandling_eRunDtor: - root::nsBindingManager_DestructorHandling = 0; - pub const nsBindingManager_DestructorHandling_eDoNotRunDtor: - root::nsBindingManager_DestructorHandling = 1; + pub const nsBindingManager_DestructorHandling_eRunDtor : root :: nsBindingManager_DestructorHandling = 0 ; + pub const nsBindingManager_DestructorHandling_eDoNotRunDtor : root :: nsBindingManager_DestructorHandling = 1 ; /// Notify the binding manager that an element /// has been removed from its document, /// so that it can update any bindings or @@ -40458,10 +41141,6 @@ pub mod root { #[link_name = "\u{1}_ZN14nsContentUtils23sBypassCSSOMOriginCheckE"] pub static mut nsContentUtils_sBypassCSSOMOriginCheck: bool; } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils21sIsScopedStyleEnabledE"] - pub static mut nsContentUtils_sIsScopedStyleEnabled: bool; - } extern "C" { #[link_name = "\u{1}_ZN14nsContentUtils23sIsBytecodeCacheEnabledE"] pub static mut nsContentUtils_sIsBytecodeCacheEnabled: bool; @@ -40604,14 +41283,10 @@ pub mod root { eEnumerated = 6, eIdent = 7, } - pub const nsMediaFeature_RequirementFlags_eNoRequirements: - root::nsMediaFeature_RequirementFlags = 0; - pub const nsMediaFeature_RequirementFlags_eHasWebkitPrefix: - root::nsMediaFeature_RequirementFlags = 1; - pub const nsMediaFeature_RequirementFlags_eWebkitDevicePixelRatioPrefEnabled: - root::nsMediaFeature_RequirementFlags = 2; - pub const nsMediaFeature_RequirementFlags_eUserAgentAndChromeOnly: - root::nsMediaFeature_RequirementFlags = 4; + pub const nsMediaFeature_RequirementFlags_eNoRequirements : root :: nsMediaFeature_RequirementFlags = 0 ; + pub const nsMediaFeature_RequirementFlags_eHasWebkitPrefix : root :: nsMediaFeature_RequirementFlags = 1 ; + pub const nsMediaFeature_RequirementFlags_eWebkitDevicePixelRatioPrefEnabled : root :: nsMediaFeature_RequirementFlags = 2 ; + pub const nsMediaFeature_RequirementFlags_eUserAgentAndChromeOnly : root :: nsMediaFeature_RequirementFlags = 4 ; pub type nsMediaFeature_RequirementFlags = u8; #[repr(C)] #[derive(Debug, Copy)] @@ -41599,6 +42274,18 @@ pub mod root { ); } #[test] + fn __bindgen_test_layout_nsPtrHashKey_open0_NodeInfo_NodeInfoInner_close0_instantiation() { + assert_eq!( + ::std::mem::size_of::>(), + 16usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsPtrHashKey) + ) + ); + assert_eq ! ( :: std :: mem :: align_of :: < root :: nsPtrHashKey < root :: mozilla :: dom :: NodeInfo_NodeInfoInner > > ( ) , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root :: nsPtrHashKey < root :: mozilla :: dom :: NodeInfo_NodeInfoInner > ) ) ); + } + #[test] fn __bindgen_test_layout_nsCOMPtr_open0_nsIPrincipal_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), @@ -42608,6 +43295,25 @@ pub mod root { ); } #[test] + fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_4() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + } + #[test] fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_1() { assert_eq!( ::std::mem::size_of::>(), @@ -42793,6 +43499,44 @@ pub mod root { ); } #[test] + fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_2() { + assert_eq!( + ::std::mem::size_of::>(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::RefPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::>(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::RefPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_nsCOMPtr_open0_nsIObserver_close0_instantiation() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + } + #[test] fn __bindgen_test_layout_nsCOMPtr_open0_nsIDocument_close0_instantiation_3() { assert_eq!( ::std::mem::size_of::(), @@ -42812,6 +43556,329 @@ pub mod root { ); } #[test] + fn __bindgen_test_layout_nsCOMPtr_open0_nsIContentViewer_close0_instantiation() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_nsCOMPtr_open0_nsILoadGroup_close0_instantiation() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_nsCOMPtr_open0_nsIDocument_close0_instantiation_4() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_nsCOMPtr_open0_nsIStreamListener_close0_instantiation() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_5() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_nsCOMPtr_open0_nsIInterfaceRequestor_close0_instantiation() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_nsCOMPtr_open0_nsIInterfaceRequestor_close0_instantiation_1() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_nsCOMPtr_open0_nsILoadContext_close0_instantiation() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_nsCOMPtr_open0_nsIInterfaceRequestor_close0_instantiation_2() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_nsCOMPtr_open0_nsIProgressEventSink_close0_instantiation() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_nsCOMPtr_open0_nsIInterfaceRequestor_close0_instantiation_3() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_nsCOMPtr_open0_nsIChannelEventSink_close0_instantiation() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_nsCOMPtr_open0_nsIInterfaceRequestor_close0_instantiation_4() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_nsCOMPtr_open0_nsISecurityEventSink_close0_instantiation() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_nsCOMPtr_open0_nsIInterfaceRequestor_close0_instantiation_5() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_nsCOMPtr_open0_nsIApplicationCacheContainer_close0_instantiation() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_nsCOMPtr_open0_nsIDocument_close0_instantiation_5() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + } + #[test] fn __bindgen_test_layout_UniquePtr_open0_RawServoSelectorList_DefaultDelete_open1_RawServoSelectorList_close1_close0_instantiation( ) { assert_eq!( @@ -42968,25 +44035,6 @@ pub mod root { ); } #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIObserver_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] fn __bindgen_test_layout_UniquePtr_open0_nsIDocument_SelectorCache_DefaultDelete_open1_nsIDocument_SelectorCache_close1_close0_instantiation( ) { assert_eq!( @@ -43066,44 +44114,6 @@ pub mod root { ); } #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_4() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_5() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_6() { assert_eq!( ::std::mem::size_of::(), @@ -43161,6 +44171,44 @@ pub mod root { ); } #[test] + fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_9() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_10() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + } + #[test] fn __bindgen_test_layout_RefPtr_open0_URLExtraData_close0_instantiation() { assert_eq!( ::std::mem::size_of::>(), @@ -43308,6 +44356,25 @@ pub mod root { ); } #[test] + fn __bindgen_test_layout_nsPtrHashKey_open0_Link_close0_instantiation() { + assert_eq!( + ::std::mem::size_of::>(), + 16usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsPtrHashKey) + ) + ); + assert_eq!( + ::std::mem::align_of::>(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsPtrHashKey) + ) + ); + } + #[test] fn __bindgen_test_layout_nsCOMPtr_open0_Link_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), @@ -43385,6 +44452,139 @@ pub mod root { ); } #[test] + fn __bindgen_test_layout_RefPtr_open0_nsContentList_close0_instantiation() { + assert_eq!( + ::std::mem::size_of::>(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::RefPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::>(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::RefPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_RefPtr_open0_nsContentList_close0_instantiation_1() { + assert_eq!( + ::std::mem::size_of::>(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::RefPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::>(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::RefPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_RefPtr_open0_nsContentList_close0_instantiation_2() { + assert_eq!( + ::std::mem::size_of::>(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::RefPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::>(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::RefPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_RefPtr_open0_nsContentList_close0_instantiation_3() { + assert_eq!( + ::std::mem::size_of::>(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::RefPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::>(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::RefPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_RefPtr_open0_nsContentList_close0_instantiation_4() { + assert_eq!( + ::std::mem::size_of::>(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::RefPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::>(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::RefPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_nsCOMPtr_open0_nsIHTMLCollection_close0_instantiation_1() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_RefPtr_open0_nsContentList_close0_instantiation_5() { + assert_eq!( + ::std::mem::size_of::>(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::RefPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::>(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::RefPtr) + ) + ); + } + #[test] fn __bindgen_test_layout_RefPtr_open0_FontFaceSet_close0_instantiation() { assert_eq!( ::std::mem::size_of::>(), @@ -43423,6 +44623,25 @@ pub mod root { ); } #[test] + fn __bindgen_test_layout_RefPtr_open0_AboutCapabilities_close0_instantiation() { + assert_eq!( + ::std::mem::size_of::>(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::RefPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::>(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::RefPtr) + ) + ); + } + #[test] fn __bindgen_test_layout_nsCOMPtr_open0_nsIScriptGlobalObject_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), @@ -43442,7 +44661,7 @@ pub mod root { ); } #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIDocument_close0_instantiation_4() { + fn __bindgen_test_layout_nsCOMPtr_open0_nsIDocument_close0_instantiation_6() { assert_eq!( ::std::mem::size_of::(), 8usize, @@ -43537,7 +44756,7 @@ pub mod root { ); } #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIDocument_close0_instantiation_5() { + fn __bindgen_test_layout_nsCOMPtr_open0_nsIDocument_close0_instantiation_7() { assert_eq!( ::std::mem::size_of::(), 8usize, @@ -43849,6 +45068,499 @@ pub mod root { ); } #[test] + fn __bindgen_test_layout_nsCOMPtr_open0_nsIParser_close0_instantiation() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_RefPtr_open0_PrincipalFlashClassifier_close0_instantiation() { + assert_eq!( + ::std::mem::size_of::>(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::RefPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::>(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::RefPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_nsRevocableEventPtr_open0_nsRunnableMethod_open1_nsIDocument_void_close1_close0_instantiation( +) { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!("Size of template specialization: ", stringify!(u64)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of template specialization: ", stringify!(u64)) + ); + } + #[test] + fn __bindgen_test_layout_RefPtr_open0_nsDOMNavigationTiming_close0_instantiation() { + assert_eq!( + ::std::mem::size_of::>(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::RefPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::>(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::RefPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_nsPtrHashKey_open0_DOMIntersectionObserver_close0_instantiation() { + assert_eq ! ( :: std :: mem :: size_of :: < root :: nsPtrHashKey < root :: mozilla :: dom :: DOMIntersectionObserver > > ( ) , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( root :: nsPtrHashKey < root :: mozilla :: dom :: DOMIntersectionObserver > ) ) ); + assert_eq ! ( :: std :: mem :: align_of :: < root :: nsPtrHashKey < root :: mozilla :: dom :: DOMIntersectionObserver > > ( ) , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root :: nsPtrHashKey < root :: mozilla :: dom :: DOMIntersectionObserver > ) ) ); + } + #[test] + fn __bindgen_test_layout_nsTArray_open0_nsWeakPtr_close0_instantiation_1() { + assert_eq!( + ::std::mem::size_of::>(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsTArray) + ) + ); + assert_eq!( + ::std::mem::align_of::>(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsTArray) + ) + ); + } + #[test] + fn __bindgen_test_layout_RefPtr_open0_DOMImplementation_close0_instantiation() { + assert_eq!( + ::std::mem::size_of::>(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::RefPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::>(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::RefPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_RefPtr_open0_nsContentList_close0_instantiation_6() { + assert_eq!( + ::std::mem::size_of::>(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::RefPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::>(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::RefPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_nsPtrHashKey_open0_HTMLImageElement_close0_instantiation() { + assert_eq!( + ::std::mem::size_of::>(), + 16usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsPtrHashKey) + ) + ); + assert_eq!( + ::std::mem::align_of::>(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsPtrHashKey) + ) + ); + } + #[test] + fn __bindgen_test_layout_nsPtrHashKey_open0_nsIObjectLoadingContent_close0_instantiation() { + assert_eq!( + ::std::mem::size_of::>(), + 16usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsPtrHashKey) + ) + ); + assert_eq!( + ::std::mem::align_of::>(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsPtrHashKey) + ) + ); + } + #[test] + fn __bindgen_test_layout_RefPtr_open0_DocumentTimeline_close0_instantiation() { + assert_eq!( + ::std::mem::size_of::>(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::RefPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::>(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::RefPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_LinkedList_open0_DocumentTimeline_close0_instantiation() { + assert_eq!( + ::std::mem::size_of::(), + 24usize, + concat!( + "Size of template specialization: ", + stringify!(root::mozilla::LinkedList) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::mozilla::LinkedList) + ) + ); + } + #[test] + fn __bindgen_test_layout_RefPtr_open0_ScriptLoader_close0_instantiation() { + assert_eq!( + ::std::mem::size_of::>(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::RefPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::>(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::RefPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_RefPtr_open0_PendingAnimationTracker_close0_instantiation() { + assert_eq!( + ::std::mem::size_of::>(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::RefPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::>(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::RefPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_nsCOMPtr_open0_nsIDocument_close0_instantiation_8() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_RefPtr_open0_Promise_close0_instantiation_1() { + assert_eq!( + ::std::mem::size_of::>(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::RefPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::>(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::RefPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_nsTArray_open0_RefPtr_open1_nsFrameLoader_close1_close0_instantiation() + { + assert_eq!( + ::std::mem::size_of::>>(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsTArray>) + ) + ); + assert_eq!( + ::std::mem::align_of::>>(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsTArray>) + ) + ); + } + #[test] + fn __bindgen_test_layout_nsTArray_open0_nsCOMPtr_open1_nsIRunnable_close1_close0_instantiation_1( +) { + assert_eq!( + ::std::mem::size_of::>(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsTArray) + ) + ); + assert_eq!( + ::std::mem::align_of::>(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsTArray) + ) + ); + } + #[test] + fn __bindgen_test_layout_nsCOMPtr_open0_nsIRunnable_close0_instantiation_1() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_RefPtr_open0_nsRunnableMethod_open1_nsIDocument_void_close1_close0_instantiation( +) { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!("Size of template specialization: ", stringify!(u64)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of template specialization: ", stringify!(u64)) + ); + } + #[test] + fn __bindgen_test_layout_nsCOMPtr_open0_nsILayoutHistoryState_close0_instantiation() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_nsTArray_open0_RefPtr_open1_StyleSheet_close1_close0_instantiation_1() + { + assert_eq!( + ::std::mem::size_of::>>(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsTArray>) + ) + ); + assert_eq!( + ::std::mem::align_of::>>(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsTArray>) + ) + ); + } + #[test] + fn __bindgen_test_layout_RefPtr_open0_StyleSheet_close0_instantiation_3() { + assert_eq!( + ::std::mem::size_of::>(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::RefPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::>(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::RefPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_nsTArray_open0_RefPtr_open1_StyleSheet_close1_close0_instantiation_2() + { + assert_eq!( + ::std::mem::size_of::>>(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsTArray>) + ) + ); + assert_eq!( + ::std::mem::align_of::>>(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsTArray>) + ) + ); + } + #[test] + fn __bindgen_test_layout_RefPtr_open0_StyleSheet_close0_instantiation_4() { + assert_eq!( + ::std::mem::size_of::>(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::RefPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::>(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::RefPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_RefPtr_open0_nsDOMStyleSheetSetList_close0_instantiation() { + assert_eq!( + ::std::mem::size_of::>(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::RefPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::>(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::RefPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_nsPtrHashKey_open0_nsSVGElement_close0_instantiation() { + assert_eq!( + ::std::mem::size_of::>(), + 16usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsPtrHashKey) + ) + ); + assert_eq!( + ::std::mem::align_of::>(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsPtrHashKey) + ) + ); + } + #[test] fn __bindgen_test_layout_nsCOMPtr_open0_nsINode_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), @@ -43887,7 +45599,7 @@ pub mod root { ); } #[test] - fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_2() { + fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_3() { assert_eq!( ::std::mem::size_of::>(), 8usize, @@ -43906,7 +45618,7 @@ pub mod root { ); } #[test] - fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_3() { + fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_4() { assert_eq!( ::std::mem::size_of::>(), 8usize, @@ -43963,7 +45675,7 @@ pub mod root { ); } #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIDocument_close0_instantiation_6() { + fn __bindgen_test_layout_nsCOMPtr_open0_nsIDocument_close0_instantiation_9() { assert_eq!( ::std::mem::size_of::(), 8usize, @@ -44153,7 +45865,7 @@ pub mod root { ); } #[test] - fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_4() { + fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_5() { assert_eq!( ::std::mem::size_of::>(), 8usize, @@ -44191,7 +45903,7 @@ pub mod root { ); } #[test] - fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_5() { + fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_6() { assert_eq!( ::std::mem::size_of::>(), 8usize, @@ -44421,7 +46133,7 @@ pub mod root { ); } #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_9() { + fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_11() { assert_eq!( ::std::mem::size_of::(), 8usize, @@ -44440,7 +46152,7 @@ pub mod root { ); } #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_10() { + fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_12() { assert_eq!( ::std::mem::size_of::(), 8usize, @@ -44728,7 +46440,7 @@ pub mod root { ); } #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_11() { + fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_13() { assert_eq!( ::std::mem::size_of::(), 8usize, @@ -44747,7 +46459,7 @@ pub mod root { ); } #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_12() { + fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_14() { assert_eq!( ::std::mem::size_of::(), 8usize, @@ -44862,7 +46574,7 @@ pub mod root { ); } #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsILoadGroup_close0_instantiation() { + fn __bindgen_test_layout_nsCOMPtr_open0_nsILoadGroup_close0_instantiation_1() { assert_eq!( ::std::mem::size_of::(), 8usize, @@ -44976,7 +46688,7 @@ pub mod root { ); } #[test] - fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_6() { + fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_7() { assert_eq!( ::std::mem::size_of::>(), 8usize, @@ -45287,37 +46999,13 @@ pub mod root { #[test] fn __bindgen_test_layout_nsTArray_open0_pair_open1_nsString_nsString_close1_close0_instantiation( ) { - assert_eq!( - ::std::mem::size_of::< - root::nsTArray>, - >(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray< - root::std::pair<::nsstring::nsStringRepr, ::nsstring::nsStringRepr>, - >) - ) - ); - assert_eq!( - ::std::mem::align_of::< - root::nsTArray>, - >(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray< - root::std::pair<::nsstring::nsStringRepr, ::nsstring::nsStringRepr>, - >) - ) - ); + assert_eq ! ( :: std :: mem :: size_of :: < root :: nsTArray < root :: std :: pair < ::nsstring::nsStringRepr , ::nsstring::nsStringRepr > > > ( ) , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root :: nsTArray < root :: std :: pair < ::nsstring::nsStringRepr , ::nsstring::nsStringRepr > > ) ) ); + assert_eq ! ( :: std :: mem :: align_of :: < root :: nsTArray < root :: std :: pair < ::nsstring::nsStringRepr , ::nsstring::nsStringRepr > > > ( ) , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root :: nsTArray < root :: std :: pair < ::nsstring::nsStringRepr , ::nsstring::nsStringRepr > > ) ) ); } #[test] fn __bindgen_test_layout_pair_open0_nsString_nsString_close0_instantiation() { assert_eq!( - ::std::mem::size_of::< - root::std::pair<::nsstring::nsStringRepr, ::nsstring::nsStringRepr>, - >(), + ::std::mem::size_of::>(), 32usize, concat!( "Size of template specialization: ", @@ -45325,9 +47013,7 @@ pub mod root { ) ); assert_eq!( - ::std::mem::align_of::< - root::std::pair<::nsstring::nsStringRepr, ::nsstring::nsStringRepr>, - >(), + ::std::mem::align_of::>(), 8usize, concat!( "Alignment of template specialization: ", @@ -45604,7 +47290,7 @@ pub mod root { ); } #[test] - fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_7() { + fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_8() { assert_eq!( ::std::mem::size_of::>(), 8usize, @@ -45623,7 +47309,7 @@ pub mod root { ); } #[test] - fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_8() { + fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_9() { assert_eq!( ::std::mem::size_of::>(), 8usize, @@ -45933,7 +47619,7 @@ pub mod root { ); } #[test] - fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_9() { + fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_10() { assert_eq!( ::std::mem::size_of::>(), 8usize, @@ -46313,7 +47999,7 @@ pub mod root { ); } #[test] - fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_10() { + fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_11() { assert_eq!( ::std::mem::size_of::>(), 8usize, @@ -46486,25 +48172,6 @@ pub mod root { ); } #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_13() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] fn __bindgen_test_layout_nsTArray_open0_nsCString_close0_instantiation_1() { assert_eq!( ::std::mem::size_of::>(), @@ -46524,25 +48191,6 @@ pub mod root { ); } #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_14() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_15() { assert_eq!( ::std::mem::size_of::(), @@ -46581,6 +48229,25 @@ pub mod root { ); } #[test] + fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_17() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + } + #[test] fn __bindgen_test_layout_nsCOMPtr_open0_nsIPrincipal_close0_instantiation_5() { assert_eq!( ::std::mem::size_of::(), @@ -46600,7 +48267,7 @@ pub mod root { ); } #[test] - fn __bindgen_test_layout_RefPtr_open0_StyleSheet_close0_instantiation_3() { + fn __bindgen_test_layout_RefPtr_open0_StyleSheet_close0_instantiation_5() { assert_eq!( ::std::mem::size_of::>(), 8usize, @@ -46737,7 +48404,7 @@ pub mod root { ); } #[test] - fn __bindgen_test_layout_nsTArray_open0_RefPtr_open1_StyleSheet_close1_close0_instantiation_1() + fn __bindgen_test_layout_nsTArray_open0_RefPtr_open1_StyleSheet_close1_close0_instantiation_3() { assert_eq!( ::std::mem::size_of::>>(), @@ -46757,7 +48424,7 @@ pub mod root { ); } #[test] - fn __bindgen_test_layout_RefPtr_open0_StyleSheet_close0_instantiation_4() { + fn __bindgen_test_layout_RefPtr_open0_StyleSheet_close0_instantiation_6() { assert_eq!( ::std::mem::size_of::>(), 8usize, @@ -46801,7 +48468,7 @@ pub mod root { ); } #[test] - fn __bindgen_test_layout_RefPtr_open0_StyleSheet_close0_instantiation_5() { + fn __bindgen_test_layout_RefPtr_open0_StyleSheet_close0_instantiation_7() { assert_eq!( ::std::mem::size_of::>(), 8usize, @@ -47071,7 +48738,7 @@ pub mod root { ); } #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_17() { + fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_18() { assert_eq!( ::std::mem::size_of::(), 8usize, @@ -47090,7 +48757,7 @@ pub mod root { ); } #[test] - fn __bindgen_test_layout_RefPtr_open0_StyleSheet_close0_instantiation_6() { + fn __bindgen_test_layout_RefPtr_open0_StyleSheet_close0_instantiation_8() { assert_eq!( ::std::mem::size_of::>(), 8usize, @@ -47513,7 +49180,7 @@ pub mod root { ); } #[test] - fn __bindgen_test_layout_RefPtr_open0_nsContentList_close0_instantiation() { + fn __bindgen_test_layout_RefPtr_open0_nsContentList_close0_instantiation_7() { assert_eq!( ::std::mem::size_of::>(), 8usize, @@ -47666,6 +49333,255 @@ pub mod root { ); } #[test] + fn __bindgen_test_layout_nsCOMPtr_open0_nsISupports_close0_instantiation_4() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_RefPtr_open0_DOMRect_close0_instantiation() { + assert_eq!( + ::std::mem::size_of::>(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::RefPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::>(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::RefPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_RefPtr_open0_DOMRect_close0_instantiation_1() { + assert_eq!( + ::std::mem::size_of::>(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::RefPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::>(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::RefPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_RefPtr_open0_DOMRect_close0_instantiation_2() { + assert_eq!( + ::std::mem::size_of::>(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::RefPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::>(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::RefPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_RefPtr_open0_Element_close0_instantiation() { + assert_eq!( + ::std::mem::size_of::>(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::RefPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::>(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::RefPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_nsCOMPtr_open0_nsPIDOMWindowInner_close0_instantiation_1() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsCOMPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_RefPtr_open0_nsIDocument_close0_instantiation() { + assert_eq!( + ::std::mem::size_of::>(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::RefPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::>(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::RefPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_RefPtr_open0_IntersectionCallback_close0_instantiation() { + assert_eq!( + ::std::mem::size_of::>(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::RefPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::>(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::RefPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_RefPtr_open0_Element_close0_instantiation_1() { + assert_eq!( + ::std::mem::size_of::>(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::RefPtr) + ) + ); + assert_eq!( + ::std::mem::align_of::>(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::RefPtr) + ) + ); + } + #[test] + fn __bindgen_test_layout_nsTArray_open0_double_close0_instantiation() { + assert_eq!( + ::std::mem::size_of::>(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsTArray) + ) + ); + assert_eq!( + ::std::mem::align_of::>(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsTArray) + ) + ); + } + #[test] + fn __bindgen_test_layout_nsTArray_open0_ptr_Element_close0_instantiation() { + assert_eq!( + ::std::mem::size_of::>(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsTArray<*mut root::mozilla::dom::Element>) + ) + ); + assert_eq!( + ::std::mem::align_of::>(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsTArray<*mut root::mozilla::dom::Element>) + ) + ); + } + #[test] + fn __bindgen_test_layout_nsTArray_open0_RefPtr_open1_DOMIntersectionObserverEntry_close1_close0_instantiation( +) { + assert_eq!( + ::std::mem::size_of::< + root::nsTArray>, + >(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::nsTArray< + root::RefPtr, + >) + ) + ); + assert_eq!( + ::std::mem::align_of::< + root::nsTArray>, + >(), + 8usize, + concat!( + "Alignment of template specialization: ", + stringify!(root::nsTArray< + root::RefPtr, + >) + ) + ); + } + #[test] + fn __bindgen_test_layout_RefPtr_open0_DOMIntersectionObserverEntry_close0_instantiation() { + assert_eq!( + ::std::mem::size_of::>(), + 8usize, + concat!( + "Size of template specialization: ", + stringify!(root::RefPtr) + ) + ); + assert_eq ! ( :: std :: mem :: align_of :: < root :: RefPtr < root :: mozilla :: dom :: DOMIntersectionObserverEntry > > ( ) , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root :: RefPtr < root :: mozilla :: dom :: DOMIntersectionObserverEntry > ) ) ); + } + #[test] fn __bindgen_test_layout_UniquePtr_open0_nsISMILAttr_DefaultDelete_open1_nsISMILAttr_close1_close0_instantiation( ) { assert_eq!( @@ -47762,7 +49678,7 @@ pub mod root { ); } #[test] - fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_11() { + fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_12() { assert_eq!( ::std::mem::size_of::>(), 8usize, @@ -47819,7 +49735,7 @@ pub mod root { ); } #[test] - fn __bindgen_test_layout_RefPtr_open0_Element_close0_instantiation() { + fn __bindgen_test_layout_RefPtr_open0_Element_close0_instantiation_2() { assert_eq!( ::std::mem::size_of::>(), 8usize, @@ -47857,7 +49773,7 @@ pub mod root { ); } #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_18() { + fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_19() { assert_eq!( ::std::mem::size_of::(), 8usize, @@ -48126,7 +50042,7 @@ pub mod root { ); } #[test] - fn __bindgen_test_layout_RefPtr_open0_Element_close0_instantiation_1() { + fn __bindgen_test_layout_RefPtr_open0_Element_close0_instantiation_3() { assert_eq!( ::std::mem::size_of::>(), 8usize, @@ -48486,7 +50402,7 @@ pub mod root { ); } #[test] - fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_12() { + fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_13() { assert_eq!( ::std::mem::size_of::>(), 8usize, @@ -48543,7 +50459,7 @@ pub mod root { ); } #[test] - fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_13() { + fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_14() { assert_eq!( ::std::mem::size_of::>(), 8usize, @@ -48619,7 +50535,7 @@ pub mod root { ); } #[test] - fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_14() { + fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_15() { assert_eq!( ::std::mem::size_of::>(), 8usize, @@ -48638,7 +50554,7 @@ pub mod root { ); } #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIRunnable_close0_instantiation_1() { + fn __bindgen_test_layout_nsCOMPtr_open0_nsIRunnable_close0_instantiation_2() { assert_eq!( ::std::mem::size_of::(), 8usize,