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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)