Skip to content

Commit

Permalink
These errors don't happen anymore after the validator's encoding fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kumar303 committed May 3, 2011
1 parent 922becd commit 1bd87b1
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions test_validator.py
Expand Up @@ -91,14 +91,6 @@ def test_global_called(self):
self.validate('babuji-20110124355.xpi')
self.expectMsg(u'Global called in dangerous manner')

def test_invalid_control(self):
self.validate('amazonassist-201103011128.xpi')
self.expectMsg(u'Invalid control character in JS file')

def test_javascript_syntax(self):
self.validate('stumbleupon-3.76-fx+sm+mz.xpi')
self.expectMsg(u'JavaScript Compile-Time Error')

def test_potentially_malicious(self):
self.validate('add-on201101101027.xpi')
self.expectMsg(u'Potentially malicious JS')
Expand Down

0 comments on commit 1bd87b1

Please sign in to comment.