Closed Bug 1931736 Opened 15 days ago Closed 15 days ago

Add missing braces around if/loop statement in layout code

Categories

(Core :: Layout, task, P3)

task

Tracking

()

RESOLVED FIXED
134 Branch
Tracking Status
firefox134 --- fixed

People

(Reporter: jwatt, Assigned: jwatt)

Details

Attachments

(13 files)

48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review

I've noticed fixups to add curly braces around if and loop statements with only a single line body making it into patches fairly regularly. I think it's generally fine to make these incidental unrelated fixes when touching a file. However, in some of the larger patches that have been going by recently the unrelated clutter it adds makes reviews harder to get through. We should probably just make these changes as a separate bunch of patches.

Pushed by jwatt@jwatt.org: https://hg.mozilla.org/integration/autoland/rev/a3d0dda7f5e5 Add missing braces around if/loop statements in layout/base/. r=layout-reviewers,emilio https://hg.mozilla.org/integration/autoland/rev/954b23281db3 Add missing braces around if/loop statements in layout/build/. r=layout-reviewers,emilio https://hg.mozilla.org/integration/autoland/rev/a4ba6d0c40ba Add missing braces around if/loop statements in layout/forms/. r=layout-reviewers,emilio https://hg.mozilla.org/integration/autoland/rev/e370d5239d9a Add missing braces around if/loop statements in layout/generic/. r=layout-reviewers,emilio https://hg.mozilla.org/integration/autoland/rev/8b368a75e8ec Add missing braces around if/loop statements in layout/inspector/. r=layout-reviewers,emilio https://hg.mozilla.org/integration/autoland/rev/01adb9624962 Add missing braces around if/loop statements in layout/mathml/. r=layout-reviewers,emilio https://hg.mozilla.org/integration/autoland/rev/a149f4ddd04b Add missing braces around if/loop statements in layout/painting/. r=layout-reviewers,emilio https://hg.mozilla.org/integration/autoland/rev/794337a23a49 Add missing braces around if/loop statements in layout/printing/. r=layout-reviewers,emilio https://hg.mozilla.org/integration/autoland/rev/7398a7ce398e Add missing braces around if/loop statements in layout/style/. r=layout-reviewers,emilio https://hg.mozilla.org/integration/autoland/rev/74ecd41de416 Add missing braces around if/loop statements in layout/svg/. r=layout-reviewers,emilio https://hg.mozilla.org/integration/autoland/rev/2e235c89ff11 Add missing braces around if/loop statements in layout/tables/. r=layout-reviewers,emilio https://hg.mozilla.org/integration/autoland/rev/57b93c89114b Add missing braces around if/loop statements in layout/tools/. r=layout-reviewers,emilio https://hg.mozilla.org/integration/autoland/rev/95fa1b7f27f1 Add missing braces around if/loop statements in layout/xul/. r=layout-reviewers,emilio
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: