web-extensions-rs / web-extensions

Rust wrappers for WebExtensions API
https://crates.io/crates/web-extensions
MIT License
34 stars 6 forks source link

Seeking Assistance with Incomplete `web_extensions::history` Bindings #16

Open TieWay59 opened 5 days ago

TieWay59 commented 5 days ago

Hello @flosse, it's me again.

Lately, I've been working on a side project involving the web_extensions::history API. While I have been able to find some basic bindings, I've noticed that they do not cover all the functionalities provided by the Chrome chrome.history API, specifically the chrome.history.getVisits method and its related details.

Here are my questions:

  1. Is there a recommended resource or guide for extending the existing web_extensions::history bindings to include the full range of Chrome's chrome.history API features?
  2. Should I be aware of any known issues or limitations with the current web_extensions::history bindings?
  3. If there is an ongoing effort to update these bindings, if not, where I should start?

I believe having access to the full chrome.history API would significantly impact the development of my project. I am willing to contribute to the community if there is an existing effort to enhance these bindings.

I appreciate any guidance or insights you can provide. Thank you in advance for your time and help.

TieWay59 commented 5 days ago

I speculate that I should emulate the additions in web-extensions-sys\src\history.rs. How should I test to ensure that my modifications are correct?