Closed Bug 539599 Opened 15 years ago Closed 15 years ago

Code Validation tool isn't producing the right results

Categories

(addons.mozilla.org Graveyard :: Developer Pages, defect, P2)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: jorgev, Assigned: clouserw)

References

()

Details

(Keywords: regression, Whiteboard: [ReviewTeam])

Attachments

(1 file)

The add-on in the URL should be showing multiple warnings, including several uses of 'eval'. The warning about the DLL is correct, so maybe it's just a partial failure somewhere.

This appears to be a regression from 5.5, because it was working fine just a couple of days ago.
Attached patch <3 regexSplinter Review
This was caused by r58196 and is a tough case.  Look aheads in regular expressions are not part of the match, they are just a condition.  So, this regex was searching for:  .*\.(anything but properties or dtd)$

But was matching:  .*\.$

Pretty confusing.  By sticking [A-Za-z] I'm matching any other alpha-extensions on a filename which solves the problem for me.
Assignee: nobody → clouserw
Attachment #421594 - Flags: review?
Attachment #421594 - Flags: review? → review?(rjbuild1088)
I hope this can be pushed *before* 5.6. The warnings being skipped by the tool are the most important to check for.
Attachment #421594 - Flags: review?(rjbuild1088) → review+
Thanks RJ.  This is in r59958.  Jorge: can you verify on preview.amo?
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
It's not working for me here:
https://preview.addons.mozilla.org/en-US/developers/versions/validate/78574/run#test-results-64593
The overlay.js file has multiple instances of eval.
(In reply to comment #4)
> It's not working for me here:
> https://preview.addons.mozilla.org/en-US/developers/versions/validate/78574/run#test-results-64593
> The overlay.js file has multiple instances of eval.

I had just checked it in.  preview takes a few minutes to update.  Have another look.
Oh, I'm too fast for you :P
Verified on the same link.
Status: RESOLVED → VERIFIED
Reclassifying editor bugs and changing to a new whiteboard flag. Spam, spam, spam, spam...
Whiteboard: [required amo-editors] → [ReviewTeam]
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: