Skip to content

Commit

Permalink
Fixed redirectsMode by making it a regex test (bug 766772)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbasta committed Jul 10, 2012
1 parent af0e4cc commit 606dae2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 0 additions & 6 deletions validator/testcases/javascript/entity_values.py
Expand Up @@ -51,12 +51,6 @@ def wrap(traverser):
message=DEP_IHF_MESSAGE, bug=482911)
deprecated_entity(name="importHTMLFromURI", version=FX14_DEFINITION,
message=DEP_IHF_MESSAGE, bug=482911)
deprecated_entity(name="nsINavHistoryQueryOptions.redirectsMode",
version=FX14_DEFINITION,
message="The `redirectsMode` option has been removed from "
"the `nsINavHistoryQueryOptions` interface. Error "
"visits are no longer stored in the history, so it "
"is no longer necessary.", bug=737841)


@register_entity("document.xmlEncoding")
Expand Down
2 changes: 0 additions & 2 deletions validator/testcases/javascript/predefinedentities.py
Expand Up @@ -263,8 +263,6 @@
{"value":
{u"queryCommandText": entity("nsIDOMHTMLDocument"),
u"execCommandShowHelp": entity("nsIDOMHTMLDocument")}},
u"nsINavHistoryQueryOptions":
{"value": {u"redirectsMode": entity("nsINavHistoryQueryOptions.redirectsMode")}},
}

INTERFACE_ENTITIES = {u"nsIXMLHttpRequest":
Expand Down
8 changes: 8 additions & 0 deletions validator/testcases/regex.py
Expand Up @@ -619,6 +619,14 @@ def tests(self):
"Item GUIDs have been dropped from the Bookmarks Service. See "
"%s for more information." % GUID_LINK, compat_type="error")

yield self.get_test_bug(
737841, "redirectsMode",
"`redirectsMode` removed from `nsINavHistoryQueryOptions`",
"The `redirectsMode` option has been removed from the "
"`nsINavHistoryQueryOptions` interface. Error visits are no "
"longer stored in the history, so it is no longer necessary.",
compat_type="error")


@register_generator
class Thunderbird7RegexTests(CompatRegexTestHelper):
Expand Down

0 comments on commit 606dae2

Please sign in to comment.