mirror of
https://github.com/servo/servo.git
synced 2025-10-04 02:29:12 +01:00
mozbrowsersecuritychange event Fixes #8544 No test yet. Is there a way to mock a https connection? Also, I wish I could use the `HTTPSState` enum instead of a `String` when calling `trigger_mozbrowser_event` (https://github.com/servo/servo/compare/master...paulrouget:securitychange?expand=1#diff-30a18e04d7e0b66aafdf192e416cad44R306) but that would require `constellation_msg.rs` to know about `HTTPSState`, which is defined in `document.rs`, which would add a dependency to `components/msg`. I could define `HTTPSState` somewhere else maybe? Or maybe it's fine to use a `String`. But then, should I use the HTTPSState strings (`"modern/deprecated/none"`) or the mozbrowser strings (`"secure/insecure/broken"`) (as it is now) <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9244) <!-- Reviewable:end --> |
||
---|---|---|
.. | ||
fetch | ||
about_loader.rs | ||
Cargo.toml | ||
cookie.rs | ||
cookie_storage.rs | ||
data_loader.rs | ||
file_loader.rs | ||
hsts.rs | ||
http_loader.rs | ||
image_cache_thread.rs | ||
lib.rs | ||
mime_classifier.rs | ||
pub_domains.rs | ||
resource_thread.rs | ||
storage_thread.rs | ||
websocket_loader.rs |