Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

`get_test_bug` takes a title argument

  • Loading branch information...
commit 2b0124f9e09a18928eee96aa214825809b7caee6 1 parent 49b57db
@mattbasta authored
Showing with 3 additions and 4 deletions.
  1. +3 −4 validator/testcases/regex.py
View
7 validator/testcases/regex.py
@@ -231,17 +231,16 @@ def applicable(cls, err, filename, document):
return bool(re.match(r"defaults/preferences/.+\.js", filename))
def tests(self):
+ title = "Marionette access is disallowed"
for ref, bug in self.MARIONETTE_REFERENCES.items():
yield self.get_test_bug(
- bug,
- ref,
+ bug, ref, title,
"Marionette references are not allowed as it could lead to"
"the browser not being secure. Please remove them.")
for ref, bug in self.MARIONETTE_PREFS.items():
yield self.get_test_bug(
- bug,
- ref,
+ bug, ref, title,
"Marionette preferences are not allowed as it could lead to"
"the browser not being secure. Please remove them.")
Please sign in to comment.
Something went wrong with that request. Please try again.