mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 15:13:13 -04:00
Web: support Firefox privacy.resistFingerprinting (#3371)
This commit is contained in:
committed by
Kirill Chibisov
parent
dbeeaeffd9
commit
a90cd1c9ad
@@ -126,7 +126,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