Rewild Your Web
web browser dweb
16
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: update to Servo 68fa945f3824afd11c28340f9af7ff26d205c833

webbeef 9502650c 1f13a1d1

+27 -27
+1 -1
forkme.lock
··· 1 - 34c644d5b85b98332bebfb948707bb6dc0b524ab 1 + 68fa945f3824afd11c28340f9af7ff26d205c833
+16 -16
patches/components/constellation/constellation.rs.patch
··· 27 27 }; 28 28 use euclid::Size2D; 29 29 use euclid::default::Size2D as UntypedSize2D; 30 - @@ -509,6 +510,19 @@ 30 + @@ -507,6 +508,19 @@ 31 31 /// to the `UserContents` need to be forwared to all the `ScriptThread`s that host 32 32 /// the relevant `WebView`. 33 33 pub(crate) user_contents_for_manager_id: FxHashMap<UserContentManagerId, UserContents>, ··· 47 47 } 48 48 49 49 /// State needed to construct a constellation. 50 - @@ -727,6 +741,9 @@ 50 + @@ -725,6 +739,9 @@ 51 51 pending_viewport_changes: Default::default(), 52 52 screenshot_readiness_requests: Vec::new(), 53 53 user_contents_for_manager_id: Default::default(), ··· 57 57 }; 58 58 59 59 constellation.run(); 60 - @@ -752,6 +769,18 @@ 60 + @@ -750,6 +767,18 @@ 61 61 fn clean_up_finished_script_event_loops(&mut self) { 62 62 self.event_loop_join_handles 63 63 .retain(|join_handle| !join_handle.is_finished()); ··· 76 76 self.event_loops 77 77 .retain(|event_loop| event_loop.upgrade().is_some()); 78 78 } 79 - @@ -1043,6 +1072,11 @@ 79 + @@ -1041,6 +1070,11 @@ 80 80 .get(&webview_id) 81 81 .and_then(|webview| webview.user_content_manager_id); 82 82 ··· 88 88 let new_pipeline_info = NewPipelineInfo { 89 89 parent_info: parent_pipeline_id, 90 90 new_pipeline_id, 91 - @@ -1053,6 +1087,8 @@ 91 + @@ -1051,6 +1085,8 @@ 92 92 viewport_details: initial_viewport_details, 93 93 user_content_manager_id, 94 94 theme, ··· 97 97 }; 98 98 let pipeline = match Pipeline::spawn(new_pipeline_info, event_loop, self, throttled) { 99 99 Ok(pipeline) => pipeline, 100 - @@ -1524,11 +1560,7 @@ 100 + @@ -1522,11 +1558,7 @@ 101 101 } 102 102 }, 103 103 EmbedderToConstellationMessage::PreferencesUpdated(updates) => { ··· 110 110 let _ = event_loop.send(ScriptThreadMessage::PreferencesUpdated( 111 111 updates 112 112 .iter() 113 - @@ -1552,6 +1584,18 @@ 113 + @@ -1550,6 +1582,18 @@ 114 114 EmbedderToConstellationMessage::UpdatePinchZoomInfos(pipeline_id, pinch_zoom) => { 115 115 self.handle_update_pinch_zoom_infos(pipeline_id, pinch_zoom); 116 116 }, ··· 129 129 } 130 130 } 131 131 132 - @@ -1734,6 +1778,12 @@ 132 + @@ -1732,6 +1776,12 @@ 133 133 self.broadcast_channels 134 134 .remove_broadcast_channel_router(router_id); 135 135 }, ··· 142 142 ScriptToConstellationMessage::ScheduleBroadcast(router_id, message) => { 143 143 if self 144 144 .check_origin_against_pipeline(&source_pipeline_id, &message.origin) 145 - @@ -1764,6 +1814,12 @@ 145 + @@ -1762,6 +1812,12 @@ 146 146 ScriptToConstellationMessage::CreateAuxiliaryWebView(load_info) => { 147 147 self.handle_script_new_auxiliary(load_info); 148 148 }, ··· 155 155 ScriptToConstellationMessage::ChangeRunningAnimationsState(animation_state) => { 156 156 self.handle_change_running_animations_state(source_pipeline_id, animation_state) 157 157 }, 158 - @@ -1930,6 +1986,23 @@ 158 + @@ -1928,6 +1984,23 @@ 159 159 new_value, 160 160 ); 161 161 }, ··· 179 179 ScriptToConstellationMessage::MediaSessionEvent(pipeline_id, event) => { 180 180 // Unlikely at this point, but we may receive events coming from 181 181 // different media sessions, so we set the active media session based 182 - @@ -1998,6 +2071,129 @@ 182 + @@ -1996,6 +2069,129 @@ 183 183 ScriptToConstellationMessage::RespondToScreenshotReadinessRequest(response) => { 184 184 self.handle_screenshot_readiness_response(source_pipeline_id, response); 185 185 }, ··· 309 309 } 310 310 } 311 311 312 - @@ -3096,6 +3292,13 @@ 312 + @@ -3094,6 +3290,13 @@ 313 313 /// <https://html.spec.whatwg.org/multipage/#destroy-a-top-level-traversable> 314 314 fn handle_close_top_level_browsing_context(&mut self, webview_id: WebViewId) { 315 315 debug!("{webview_id}: Closing"); ··· 323 323 let browsing_context_id = BrowsingContextId::from(webview_id); 324 324 // Step 5. Remove traversable from the user agent's top-level traversable set. 325 325 let browsing_context = 326 - @@ -3372,8 +3575,27 @@ 326 + @@ -3370,8 +3573,27 @@ 327 327 opener_webview_id, 328 328 opener_pipeline_id, 329 329 response_sender, ··· 351 351 let Some((webview_id_sender, webview_id_receiver)) = generic_channel::channel() else { 352 352 warn!("Failed to create channel"); 353 353 let _ = response_sender.send(None); 354 - @@ -3471,6 +3693,359 @@ 354 + @@ -3469,6 +3691,359 @@ 355 355 }); 356 356 } 357 357 ··· 711 711 #[servo_tracing::instrument(skip_all)] 712 712 fn handle_refresh_cursor(&self, pipeline_id: PipelineId) { 713 713 let Some(pipeline) = self.pipelines.get(&pipeline_id) else { 714 - @@ -4570,7 +5145,7 @@ 714 + @@ -4591,7 +5166,7 @@ 715 715 } 716 716 717 717 #[servo_tracing::instrument(skip_all)] ··· 720 720 // Send a flat projection of the history to embedder. 721 721 // The final vector is a concatenation of the URLs of the past 722 722 // entries, the current entry and the future entries. 723 - @@ -4673,9 +5248,23 @@ 723 + @@ -4694,9 +5269,23 @@ 724 724 ); 725 725 self.embedder_proxy.send(EmbedderMsg::HistoryChanged( 726 726 webview_id,
+1 -1
patches/components/script/dom/notification.rs.patch
··· 1 1 --- original 2 2 +++ modified 3 - @@ -7,6 +7,7 @@ 3 + @@ -6,6 +6,7 @@ 4 4 use std::sync::Arc; 5 5 use std::time::{SystemTime, UNIX_EPOCH}; 6 6
+8 -8
patches/components/script/dom/windowproxy.rs.patch
··· 9 9 use base::id::{BrowsingContextId, PipelineId, WebViewId}; 10 10 use constellation_traits::{ 11 11 AuxiliaryWebViewCreationRequest, LoadData, LoadOrigin, NavigationHistoryBehavior, 12 - @@ -293,8 +293,9 @@ 12 + @@ -304,8 +304,9 @@ 13 13 &self, 14 14 name: DOMString, 15 15 noopener: bool, ··· 20 20 let window = self 21 21 .currently_active 22 22 .get() 23 - @@ -328,6 +329,7 @@ 23 + @@ -339,6 +340,7 @@ 24 24 opener_webview_id: window.webview_id(), 25 25 opener_pipeline_id: self.currently_active.get().unwrap(), 26 26 response_sender, ··· 28 28 }; 29 29 let constellation_msg = ScriptToConstellationMessage::CreateAuxiliaryWebView(load_info); 30 30 window.send_to_constellation(constellation_msg); 31 - @@ -346,6 +348,8 @@ 31 + @@ -357,6 +359,8 @@ 32 32 // Use the current `WebView`'s theme initially, but the embedder may 33 33 // change this later. 34 34 theme: window.theme(), ··· 37 37 }; 38 38 39 39 with_script_thread(|script_thread| { 40 - @@ -504,14 +508,32 @@ 40 + @@ -515,14 +519,32 @@ 41 41 // (TODO) Step 11. Let referrerPolicy be the empty string. 42 42 // (TODO) Step 12. If noreferrer is true, then set referrerPolicy to "no-referrer". 43 43 ··· 74 74 // TODO Step 15.2, Set up browsing context features for targetNavigable's 75 75 // active browsing context given tokenizedFeatures. 76 76 let target_document = match chosen.document() { 77 - @@ -526,16 +548,12 @@ 77 + @@ -537,16 +559,12 @@ 78 78 let target_window = target_document.window(); 79 79 // Step 15.3 and 15.4 will have happened elsewhere, 80 80 // since we've created a new browsing context and loaded it with about:blank. ··· 92 92 let referrer = if noreferrer { 93 93 Referrer::NoReferrer 94 94 } else { 95 - @@ -599,6 +617,7 @@ 95 + @@ -610,6 +628,7 @@ 96 96 &self, 97 97 name: DOMString, 98 98 noopener: bool, ··· 100 100 ) -> (Option<DomRoot<WindowProxy>>, bool) { 101 101 match name.to_lowercase().as_ref() { 102 102 "" | "_self" => { 103 - @@ -616,7 +635,10 @@ 103 + @@ -627,7 +646,10 @@ 104 104 // Step 5 105 105 (Some(DomRoot::from_ref(self.top())), false) 106 106 }, ··· 112 112 _ => { 113 113 // Step 6. 114 114 // TODO: expand the search to all 'familiar' bc, 115 - @@ -624,7 +646,10 @@ 115 + @@ -635,7 +657,10 @@ 116 116 // See https://html.spec.whatwg.org/multipage/#familiar-with 117 117 match ScriptThread::find_window_proxy_by_name(&name) { 118 118 Some(proxy) => (Some(proxy), false),
+1 -1
patches/components/script_bindings/codegen/Bindings.conf.patch
··· 1 1 --- original 2 2 +++ modified 3 - @@ -249,6 +249,10 @@ 3 + @@ -250,6 +250,10 @@ 4 4 'canGc': ['CheckValidity', 'GetLabels', 'GetValidity', 'SetValidity', 'ReportValidity', 'States'], 5 5 }, 6 6