Closed Bug 2010739 Opened 1 month ago Closed 1 month ago

Disable Compression Dictionaries in 147+

Categories

(Core :: Networking: Cache, task)

task

Tracking

()

VERIFIED FIXED
149 Branch
Tracking Status
firefox147 + verified
firefox148 + verified
firefox149 + verified

People

(Reporter: jesup, Assigned: jesup)

References

(Blocks 1 open bug)

Details

(Keywords: webcompat:platform-bug)

Attachments

(3 files)

ChatGPT is broken if compression dictionaries is enabled.

firefox-beta Uplift Approval Request

  • User impact if declined: ChatGPT breakage
  • Code covered by automated testing: yes
  • Fix verified in Nightly: yes
  • Needs manual QE test: yes
  • Steps to reproduce for manual QE testing: Check ChatGPT works with studies disabled
  • Risk associated with taking this patch: low
  • Explanation of risk level: pref flip, already in experiment
  • String changes made/needed: none
  • Is Android affected?: yes
Attachment #9538051 - Flags: approval-mozilla-beta?
Flags: qe-verify+

firefox-release Uplift Approval Request

  • User impact if declined: ChatGPT breakage
  • Code covered by automated testing: yes
  • Fix verified in Nightly: yes
  • Needs manual QE test: yes
  • Steps to reproduce for manual QE testing: Check ChatGPT works with studies disabled
  • Risk associated with taking this patch: low
  • Explanation of risk level: pref flip, already in experiment
  • String changes made/needed: none
  • Is Android affected?: yes
Attachment #9538052 - Flags: approval-mozilla-release?
Blocks: 2010712
See Also: → 2009774
Blocks: 2009774
See Also: 2009774
Attachment #9538051 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #9538052 - Flags: approval-mozilla-release? → approval-mozilla-release+
Pushed by sstanca@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/b74fc4aba62e https://hg.mozilla.org/integration/autoland/rev/0b8d77107c82 Revert "Bug 2010739: Disable Compression Dictionaries r=mt" for causing wpt failures in decoded-body-size-compressed.https.html.

Reverted this because it was causing wpt failures in decoded-body-size-compressed.https.html.

  • Revert link
  • Push with failures
  • Failure Log
  • Failure line: TEST-UNEXPECTED-FAIL | /resource-timing/decoded-body-size-compressed.https.html | decodedBodySize for dictionary-compressed brotli (dcb) resource - promise_test: Unhandled rejection with value: object "TypeError: Decoding failed."
Flags: needinfo?(rjesup)
Depends on: 2010762

I've got a patch that should address comment 10 in bug 2010762.

Flags: needinfo?(rjesup)

Important note for release managers: you'll need to land the uplift-patches in bug 2010762 on beta/release branches before landing the uplift-patches in this bug here.

(If it's convenient, feel free to wire them together as a patch stack; or uplift bug 2010762 first before uplifting this bug -- whatever works best for your workflow.)

That will prevent those branches from hitting the failure in comment 10.

Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch

Verified as fixed on the Firefox for Android 147.0.1 build, and on the latest Firefox for Android Nightly 149.0a1 from 1/16, with the following devices:

  • Samsung Galaxy S22 Ultra (Android 16),
  • Xiaomi Redmi9C NFC (Android 10),
  • Honor Magic V2 (Android 14),
  • Samsung Galaxy S24 Ultra (Android 16).

ChatGPT is working with both Studies ON or OFF.

Reproduced on Firefox 147 RC, under Ubuntu 24.
The issue is no longer reproducible on Firefox 147.0.1, Firefox 148.0b3(treeherder build), or on Firefox 149.0a1 (2026-01-16)(treeherder build).
Tests were performed under Ubuntu 24.04, Windows 11 and macOS 10.15.

Status: RESOLVED → VERIFIED
Blocks: 1882979
Type: defect → task
See Also: → 2003541
QA Whiteboard: [qa-ver-done-c149/b148]
Flags: qe-verify+
QA Contact: mboldan

Note for reference that over the weekend they appear to have disabled compression dictionaries, so reproducing this bug will be tricky. The same issue affected particular flows in Shopify checkout and that still can be reproduced

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: