mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
0fb60bc158
<!-- Please describe your changes on the following line: --> Moved the `pub_domains` module from `net` into `net_traits`, so it can be used by crates which don't depend on `net` (in particular `constellation`, which can use the crate for testing similar-origin). I also did quite a bit of tidying up, the functions now do no heap allocation, previously there was quite a bit of String allocation going on. This is the next step to fixing #633. cc @jdm --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] There are tests for these changes (new unit tests) <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: 128a61eb9d7a7dbb3ad8bdd9218efcc171229c61 |
||
---|---|---|
.. | ||
Cargo.toml | ||
image.rs | ||
lib.rs | ||
pub_domains.rs |