Rewild Your Web
18
fork

Configure Feed

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

chore: update to Servo 4484cd63e5aa5586f70c82fe2435468362997edb

Signed-off-by: webbeef <me@webbeef.org>

+35 -34
+6 -6
Cargo.lock
··· 451 451 452 452 [[package]] 453 453 name = "async-tungstenite" 454 - version = "0.34.0" 454 + version = "0.34.1" 455 455 source = "registry+https://github.com/rust-lang/crates.io-index" 456 - checksum = "eb26fbd2a93308b1c1b74ac4e494a11ac10db57c476882240573bdf961463520" 456 + checksum = "8447f02eaa65412035e2d3eeaa3fc82bbb8d7137c84c5976b4af685136012ee9" 457 457 dependencies = [ 458 458 "atomic-waker", 459 459 "futures-core", ··· 6120 6120 6121 6121 [[package]] 6122 6122 name = "mozjs" 6123 - version = "0.15.11" 6123 + version = "0.15.13" 6124 6124 source = "registry+https://github.com/rust-lang/crates.io-index" 6125 - checksum = "2231fbdbc1ee3eaae2d2859792f5f1a6ca065fdebecccfe9447e531292883126" 6125 + checksum = "7bf86c6453ed6eb93e8b5da91df61e005dfdc6a527da9e89e4d48d002a87f75b" 6126 6126 dependencies = [ 6127 6127 "bindgen", 6128 6128 "cc", ··· 6135 6135 6136 6136 [[package]] 6137 6137 name = "mozjs_sys" 6138 - version = "0.140.10-1" 6138 + version = "0.140.10-2" 6139 6139 source = "registry+https://github.com/rust-lang/crates.io-index" 6140 - checksum = "4d2a078fe5215b5afe55502b2a5c40b2119d81492eafc246373dc9cfda332129" 6140 + checksum = "d669d111ac602f14508a1f3f6096914cc479ef60c58998e0fc88900c066490b2" 6141 6141 dependencies = [ 6142 6142 "bindgen", 6143 6143 "cc",
+1 -1
Cargo.toml
··· 115 115 iroh = { version = "0.98", default-features = false, features = ["address-lookup-mdns", "tls-aws-lc-rs"] } 116 116 iroh-persist = { git = "https://github.com/webbeef/iroh-persist.git", branch = "iroh-0.98" } 117 117 itertools = "0.14" 118 - js = { package = "mozjs", version = "=0.15.11", default-features = false, features = ["libz-sys", "intl"] } 118 + js = { package = "mozjs", version = "=0.15.13", default-features = false, features = ["libz-sys", "intl"] } 119 119 jstraceable_derive = { package = "servo-jstraceable-derive", version = "0.1.0", path = "source/components/jstraceable_derive" } 120 120 keyboard-types = { version = "0.8.3", features = ["serde", "webdriver"] } 121 121 kurbo = { version = "0.12", features = ["euclid"] }
+1 -1
forkme.lock
··· 1 - 60af5f68abc301208058002a0e30341cfb07d5b2 1 + 4484cd63e5aa5586f70c82fe2435468362997edb
+13 -13
patches/components/script/dom/document/document.rs.patch
··· 24 24 use servo_media::{ClientContextId, ServoMedia}; 25 25 use servo_url::{ImmutableOrigin, MutableOrigin, ServoUrl}; 26 26 use style::attr::AttrValue; 27 - @@ -614,6 +617,9 @@ 27 + @@ -618,6 +621,9 @@ 28 28 #[no_trace] 29 29 favicon: RefCell<Option<Image>>, 30 30 ··· 34 34 /// All websockets created that are associated with this document. 35 35 websockets: DOMTracker<WebSocket>, 36 36 37 - @@ -641,6 +647,11 @@ 37 + @@ -645,6 +651,11 @@ 38 38 39 39 /// <https://w3c.github.io/editing/docs/execCommand/#css-styling-flag> 40 40 css_styling_flag: Cell<bool>, ··· 46 46 } 47 47 48 48 impl Document { 49 - @@ -866,6 +877,12 @@ 49 + @@ -870,6 +881,12 @@ 50 50 51 51 // Set the document's activity level, reflow if necessary, and suspend or resume timers. 52 52 self.activity.set(activity); ··· 59 59 let media = ServoMedia::get(); 60 60 let pipeline_id = self.window().pipeline_id(); 61 61 let client_context_id = 62 - @@ -879,6 +896,7 @@ 62 + @@ -883,6 +900,7 @@ 63 63 64 64 self.title_changed(); 65 65 self.notify_embedder_favicon(); ··· 67 67 self.dirty_all_nodes(); 68 68 self.window().resume(CanGc::from_cx(cx)); 69 69 media.resume(&client_context_id); 70 - @@ -1281,6 +1299,9 @@ 70 + @@ -1285,6 +1303,9 @@ 71 71 LoadStatus::Started, 72 72 )); 73 73 self.send_to_embedder(EmbedderMsg::Status(self.webview_id(), None)); ··· 77 77 } 78 78 }, 79 79 DocumentReadyState::Complete => { 80 - @@ -1289,6 +1310,9 @@ 80 + @@ -1293,6 +1314,9 @@ 81 81 self.webview_id(), 82 82 LoadStatus::Complete, 83 83 )); ··· 87 87 } 88 88 update_with_current_instant(&self.dom_complete); 89 89 }, 90 - @@ -1367,7 +1391,13 @@ 90 + @@ -1371,7 +1395,13 @@ 91 91 let window = self.window(); 92 92 if window.is_top_level() { 93 93 let title = self.title().map(String::from); ··· 102 102 } 103 103 } 104 104 105 - @@ -1376,6 +1406,18 @@ 105 + @@ -1380,6 +1410,18 @@ 106 106 window.send_to_embedder(msg); 107 107 } 108 108 ··· 121 121 pub(crate) fn dirty_all_nodes(&self) { 122 122 let root = match self.GetDocumentElement() { 123 123 Some(root) => root, 124 - @@ -2924,9 +2966,59 @@ 124 + @@ -2928,9 +2970,59 @@ 125 125 current_rendering_epoch, 126 126 ); 127 127 ··· 181 181 pub(crate) fn handle_no_longer_waiting_on_asynchronous_image_updates(&self) { 182 182 self.waiting_on_canvas_image_updates.set(false); 183 183 } 184 - @@ -3642,6 +3734,7 @@ 184 + @@ -3647,6 +3739,7 @@ 185 185 active_sandboxing_flag_set: Cell::new(creation_sandboxing_flag_set), 186 186 creation_sandboxing_flag_set: Cell::new(creation_sandboxing_flag_set), 187 187 favicon: RefCell::new(None), ··· 189 189 websockets: DOMTracker::new(), 190 190 details_name_groups: Default::default(), 191 191 protocol_handler_automation_mode: Default::default(), 192 - @@ -3650,6 +3743,7 @@ 192 + @@ -3655,6 +3748,7 @@ 193 193 value_override: Default::default(), 194 194 default_single_line_container_name: Default::default(), 195 195 css_styling_flag: Default::default(), ··· 197 197 } 198 198 } 199 199 200 - @@ -4599,6 +4693,36 @@ 200 + @@ -4613,6 +4707,36 @@ 201 201 202 202 pub(crate) fn notify_embedder_favicon(&self) { 203 203 if let Some(ref image) = *self.favicon.borrow() { ··· 234 234 self.send_to_embedder(EmbedderMsg::NewFavicon(self.webview_id(), image.clone())); 235 235 } 236 236 } 237 - @@ -4669,6 +4793,30 @@ 237 + @@ -4683,6 +4807,30 @@ 238 238 pub(crate) fn set_css_styling_flag(&self, value: bool) { 239 239 self.css_styling_flag.set(value) 240 240 }
+4 -4
patches/components/script/dom/html/htmliframeelement.rs.patch
··· 26 26 -use stylo_atoms::Atom; 27 27 28 28 use crate::document_loader::{LoadBlocker, LoadType}; 29 - use crate::dom::attr::Attr; 30 29 use crate::dom::bindings::cell::DomRefCell; 31 30 +use crate::dom::bindings::codegen::Bindings::EmbeddedWebViewBinding::ScreenshotOptions; 32 31 use crate::dom::bindings::codegen::Bindings::HTMLIFrameElementBinding::HTMLIFrameElementMethods; ··· 42 41 +use crate::dom::console::Console; 43 42 use crate::dom::document::Document; 44 43 use crate::dom::domtokenlist::DOMTokenList; 44 + use crate::dom::element::attributes::storage::AttrRef; 45 45 use crate::dom::element::{AttributeMutation, Element, reflect_referrer_policy_attribute}; 46 46 +use crate::dom::embedder::Embedder; 47 47 use crate::dom::eventtarget::EventTarget; ··· 527 527 } 528 528 529 529 impl VirtualMethods for HTMLIFrameElement { 530 - @@ -1138,9 +1566,54 @@ 530 + @@ -1143,9 +1571,54 @@ 531 531 // may be in a different script thread. Instead, we check to see if the parent 532 532 // is in a document tree and has a browsing context, which is what causes 533 533 // the child browsing context to be created. ··· 584 584 } 585 585 }, 586 586 local_name!("loading") => { 587 - @@ -1205,6 +1678,23 @@ 587 + @@ -1210,6 +1683,23 @@ 588 588 589 589 debug!("<iframe> running post connection steps"); 590 590 ··· 608 608 // Step 1. Create a new child navigable for insertedNode. 609 609 self.create_nested_browsing_context(cx); 610 610 611 - @@ -1227,8 +1717,22 @@ 611 + @@ -1232,8 +1722,22 @@ 612 612 fn unbind_from_tree(&self, cx: &mut JSContext, context: &UnbindContext) { 613 613 self.super_type().unwrap().unbind_from_tree(cx, context); 614 614
+4 -2
patches/components/script/dom/navigator.rs.patch
··· 64 64 use crate::dom::serviceworkercontainer::ServiceWorkerContainer; 65 65 use crate::dom::servointernals::ServoInternals; 66 66 use crate::dom::storagemanager::StorageManager; 67 - @@ -66,6 +75,8 @@ 67 + @@ -66,7 +75,9 @@ 68 68 use crate::dom::xrsystem::XRSystem; 69 69 use crate::fetch::RequestWithGlobalScope; 70 70 use crate::network_listener::{FetchResponseListener, ResourceTimingListener, submit_timing}; 71 + -use crate::script_runtime::CanGc; 71 72 +use crate::realms::InRealm; 72 73 +use crate::routed_promise::{RoutedPromiseListener, callback_promise}; 73 - use crate::script_runtime::{CanGc, JSContext}; 74 + +use crate::script_runtime::{CanGc, JSContext}; 74 75 75 76 pub(super) fn hardware_concurrency() -> u64 { 77 + static CPUS: LazyLock<u64> = LazyLock::new(|| num_cpus::get().try_into().unwrap_or(1)); 76 78 @@ -137,6 +148,9 @@ 77 79 servo_internals: MutNullableDom<ServoInternals>, 78 80 user_activation: MutNullableDom<UserActivation>,
+6 -7
patches/components/script_bindings/codegen/Bindings.conf.patch
··· 41 41 'EventSource': { 42 42 'weakReferenceable': True, 43 43 }, 44 - @@ -752,9 +772,9 @@ 44 + @@ -749,8 +769,9 @@ 45 45 }, 46 46 47 47 'Navigator': { 48 48 - 'inRealms': ['GetVRDisplays'], 49 - - 'canGc': ['Languages', 'UserActivation'], 50 - - 'cx': ['Clipboard', 'SendBeacon', 'Storage', 'WakeLock'], 49 + - 'cx': ['Clipboard', 'Languages', 'SendBeacon', 'Storage', 'UserActivation', 'WakeLock'], 51 50 + 'inRealms': ['GetVRDisplays', 'CreatePeerStream', 'RequestTask'], 52 - + 'canGc': ['Languages', 'UserActivation', 'CreatePeerStream', 'RequestTask'], 53 - + 'cx': ['Atproto', 'Clipboard', 'Embedder', 'Keyboard', 'SendBeacon', 'Storage', 'WakeLock'], 51 + + 'canGc': ['CreatePeerStream', 'RequestTask'], 52 + + 'cx': ['Atproto', 'Clipboard', 'Embedder', 'Keyboard', 'Languages', 'SendBeacon', 'Storage', 'UserActivation', 'WakeLock'], 54 53 }, 55 54 56 55 'CredentialsContainer': { 57 - @@ -799,6 +819,11 @@ 56 + @@ -794,6 +815,11 @@ 58 57 'cx': ['RegisterPaint'], 59 58 }, 60 59 ··· 66 65 'Performance': { 67 66 'cx': ['Mark', 'Measure'], 68 67 }, 69 - @@ -969,7 +994,8 @@ 68 + @@ -964,7 +990,8 @@ 70 69 }, 71 70 72 71 'Window': {