Fyrd / caniuse

Raw browser/feature support data from caniuse.com
https://caniuse.com
Creative Commons Attribution 4.0 International
5.63k stars 1.38k forks source link

Off-by-one error when searching for "Expect-CT" or rather `sr_` results behave inconsistent to filtering #6368

Open Schweinepriester opened 2 years ago

Schweinepriester commented 2 years ago
  1. Search for "Expect-CT": https://caniuse.com/?search=Expect-CT
  2. 4 results total (currently)
  3. Scroll down, note 4 results, one being https://caniuse.com/sr_es12
  4. Scroll up, filter for caniuse results only (caniuse-only filter is defined by deactivating "MDN (1)")
  5. Expect 3 results because of "Caniuse (3)"
  6. Only 2 are shown

Futhermore, probably a consequential error which might go away by fixing the one above:

  1. Be confused, scroll back up and activate "MDN (1)" again
  2. Expect 4 results again, because "Caniuse (3)" & "MDN (1)" is still shown
  3. Only 3 are visible, https://caniuse.com/sr_es12 is missing

More notes:

cryptoroland commented 2 years ago
  1. Search for "Expect-CT": https://caniuse.com/?search=Expect-CT
  2. 4 results total (currently)
  3. Scroll down, note 4 results, one being https://caniuse.com/sr_es12
  4. Scroll up, filter for caniuse results only (caniuse-only filter is defined by deactivating "MDN (1)")
  5. Expect 3 results because of "Caniuse (3)"
  6. Only 2 are shown

Futhermore, probably a consequential error which might go away by fixing the one above:

  1. Be confused, scroll back up and activate "MDN (1)" again
  2. Expect 4 results again, because "Caniuse (3)" & "MDN (1)" is still shown
  3. Only 3 are visible, https://caniuse.com/sr_es12 is missing

More notes:

  • Probably not unexpected, but it is also not correct the other way around, filtering for MDN-only first.
  • Quickfix: Reload
  1. Search for "Expect-CT": https://caniuse.com/?search=Expect-CT
  2. 4 results total (currently)
  3. Scroll down, note 4 results, one being https://caniuse.com/sr_es12
  4. Scroll up, filter for caniuse results only (caniuse-only filter is defined by deactivating "MDN (1)")
  5. Expect 3 results because of "Caniuse (3)"
  6. Only 2 are shown

Futhermore, probably a consequential error which might go away by fixing the one above:

  1. Be confused, scroll back up and activate "MDN (1)" again
  2. Expect 4 results again, because "Caniuse (3)" & "MDN (1)" is still shown
  3. Only 3 are visible, https://caniuse.com/sr_es12 is missing

More notes:

  • Probably not unexpected, but it is also not correct the other way around, filtering for MDN-only first.
  • Quickfix: Reload