Closed Bug 1925334 Opened 2 months ago Closed 2 months ago

Disable experimental.json_parse_with_source by default in 132 beta and nightly

Categories

(Core :: JavaScript Engine, task, P1)

task

Tracking

()

RESOLVED FIXED
133 Branch
Tracking Status
firefox132 + fixed
firefox133 + fixed

People

(Reporter: bthrall, Assigned: bthrall)

References

Details

(Keywords: dev-doc-needed)

Attachments

(1 file)

The JSON.parse with source feature is causing unacceptable slowdown, so it should be disabled by default in Nightly and the 132 Beta

Pushed by bthrall@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d0f770cd79b2 Default to disabling JSON.parse with source r=dminor
Flags: needinfo?(bthrall)
Flags: needinfo?(bthrall)
Pushed by bthrall@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7d7732fdbf27 Default to disabling JSON.parse with source r=dminor
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch

Please nominate this for Beta approval.

Flags: needinfo?(bthrall)

Comment on attachment 9431642 [details]
Bug 1925334 - Default to disabling JSON.parse with source r=dminor!

Beta/Release Uplift Approval Request

  • User impact if declined/Reason for urgency: Websites using JSON.parse with a reviver function could see significant performance regressions if the 'JSON.parse with source' feature is enabled by default.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Disabling the feature reverts to existing behavior
  • String changes made/needed:
  • Is Android affected?: Unknown
Flags: needinfo?(bthrall)
Attachment #9431642 - Flags: approval-mozilla-beta?

Comment on attachment 9431642 [details]
Bug 1925334 - Default to disabling JSON.parse with source r=dminor!

Approved for 132.0rc1.

Attachment #9431642 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

This needs the release notes to be modified since this feature was scheduled for Firefox 132. It's already mentioned at https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/132#javascript and it could be moved to the experimental section there and mention that it is off by default.

Keywords: dev-doc-needed
See Also: → 1913085
Regressions: 1927691
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: