Closed Bug 1656896 Opened 5 years ago Closed 5 years ago

Add Unit Tests for the tainting macros

Categories

(Core :: IPC, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
81 Branch
Tracking Status
firefox81 --- fixed

People

(Reporter: tjr, Assigned: tjr)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

No description provided.

The patch:

  • Changes from an explicit capture in MOZ_VALIDATE_AND_GET_HELPER3/MOZ_IS_VALID
    to a default capture, to support referencing local variables in conditions.
  • Moves things around in Tainting.h and adds comments
  • Adds unit tests for the macros
Pushed by tritter@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bde52e62c039 Improve the Tainting macros and add unit tests r=froydnj
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: