mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-26 22:53:15 -04:00
Web: support Firefox privacy.resistFingerprinting (#3371)
This commit is contained in:
@@ -127,7 +127,7 @@ impl ResizeScaleInternal {
|
||||
(-webkit-device-pixel-ratio: {current_scale})",
|
||||
);
|
||||
let mql = MediaQueryListHandle::new(window, &media_query, closure);
|
||||
assert!(
|
||||
debug_assert!(
|
||||
mql.mql().matches(),
|
||||
"created media query doesn't match, {current_scale} != {}",
|
||||
super::scale_factor(window)
|
||||
|
||||
Reference in New Issue
Block a user