Closed Bug 1537537 Opened 8 months ago Closed 8 months ago

Improve error reporting in MOZ_CAN_RUN_SCRIPT analysis

Categories

(Firefox Build System :: Source Code Analysis, enhancement)

enhancement
Not set

Tracking

(firefox68 fixed)

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: bzbarsky, Assigned: bzbarsky)

Details

Attachments

(1 file)

The invalid arg reporting just points to the whole function call, which does not make it clear which arg is invalid. This leads to the sort of confusion I think we're seeing in bug 1536738.

Fix coming up, along with a few other ergonomics improvements to the invalid arg reporting.

Attachment #9052384 - Attachment description: Bug 1537537. Improve the MOZ_CAN_RUN_SCRIPT analysis reporting around inlid args. r=andi → Bug 1537537. Improve the MOZ_CAN_RUN_SCRIPT analysis reporting around invalid args. r=andi
Pushed by bzbarsky@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f754116e738e
Improve the MOZ_CAN_RUN_SCRIPT analysis reporting around invalid args.  r=andi
Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.