Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Roll to Chromium 129.0.6632.1 (r1336433) #230

Merged
merged 8 commits into from
Aug 12, 2024
Merged

Conversation

Havunen
Copy link
Contributor

@Havunen Havunen commented Aug 2, 2024

Fixes #229

@Havunen Havunen mentioned this pull request Aug 2, 2024
@@ -1007,14 +1007,12 @@ pub(crate) fn generate_field_name(name: &str) -> String {
}
}

/// Escapes reserved rust keywords
pub(crate) fn generate_type_name(name: &str) -> String {
let name = name.to_upper_camel_case();
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was some non-sense copy paste from the above method. "to upper camelcase" -> "lowercase match"

"override" => "r#override".to_string(),
_ => name,
pub(crate) fn generate_enum_field_name(name: &str) -> String {
match name {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There was new enum with identifier "Self" which does not compile in Rust so renamed it to "KSelf"

@Havunen
Copy link
Contributor Author

Havunen commented Aug 2, 2024

Need to fix the build errors still

@@ -480,9 +485,9 @@ impl FrameManager {

/// Issued when execution context is destroyed
pub fn on_frame_execution_context_destroyed(&mut self, event: &EventExecutionContextDestroyed) {
if let Some(id) = self.context_ids.remove(&event.execution_context_id) {
if let Some(id) = self.context_ids.remove(&event.execution_context_unique_id) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EventExecutionContextDestroyed.event.execution_context_id is deprecated

@Havunen
Copy link
Contributor Author

Havunen commented Aug 3, 2024

@mattsse Can you review please

@@ -61,6 +61,7 @@ async-std-runtime = ["async-std", "async-tungstenite/async-std-runtime"]
tokio-runtime = ["tokio", "async-tungstenite/tokio-runtime"]
fetcher = []
bytes = ["dep:bytes"]
serde0 = []
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added serde0 as feature because there were config attributes checking for feature named "serde0" but it was not defined and clippy was complaining about it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Havunen
Copy link
Contributor Author

Havunen commented Aug 11, 2024

@mattsse Could this be merged please, I need the new APIs

Copy link
Owner

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tysm!

sorry for the delay, this looks good. publishing new release

@mattsse mattsse merged commit fc7b476 into mattsse:main Aug 12, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Please update CDP from recent chromium version
2 participants