Web: support Firefox privacy.resistFingerprinting (#3371)

This commit is contained in:
daxpedda
2024-01-06 23:05:51 +01:00
committed by GitHub
parent f99c810bec
commit 816798bfd1

View File

@@ -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)