Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Flag places import export (bug 852654)

  • Loading branch information...
commit 644f8e1df66fe121a0f5d4359cf11ccc82aef71a 1 parent 2473d3c
@wraithan wraithan authored
Showing with 17 additions and 1 deletion.
  1. +7 −0 tests/compat/test_gecko20.py
  2. +10 −1 validator/testcases/regex.py
View
7 tests/compat/test_gecko20.py
@@ -41,3 +41,10 @@ def test_profile(self):
""")
self.assert_silent()
self.assert_compat_error(type_="notice")
+
+ def test_places_import(self):
+ self.run_script_for_compat("""
+ var x = "nsIPlacesImportExportService";
+ """)
+ self.assert_silent()
+ self.assert_compat_error(type_="notice")
View
11 validator/testcases/regex.py
@@ -853,10 +853,10 @@ class Gecko20RegexTests(CompatRegexTestHelper):
DECODE_LINK = "https://bugzilla.mozilla.org/show_bug.cgi?id=816362"
EDITABLE_LINK = "https://bugzilla.mozilla.org/show_bug.cgi?id=827546"
PROFILE_LINK = "https://bugzilla.mozilla.org/show_bug.cgi?id=807757"
+ PLACES_IMPORT_LINK = "https://bugzilla.mozilla.org/show_bug.cgi?id=763295"
def js_tests(self):
-
for pbs in ("nsIPrivateBrowsingService", "private-browsing"):
yield self.get_test_bug(
826079, pbs,
@@ -896,6 +896,15 @@ def js_tests(self):
"information.".format(self.PROFILE_LINK),
compat_type="error", log_function=self.err.notice)
+ yield self.get_test_bug(
+ 763295, "nsIPlacesImportExportService",
+ "`nsIProfile` and `nsIProfileChangeStatus` have been removed.",
+ "`nsIPlacesImportExportService`` was removed. You can use "
+ "`BookmarkHTMLUtils.jsm` "
+ "(resource://gre/modules/BookmarkHTMLUtils.jsm) instead. See {0} "
+ "for more information.".format(self.PLACES_IMPORT_LINK),
+ compat_type="error", log_function=self.err.notice)
+
@register_generator
class Thunderbird7RegexTests(CompatRegexTestHelper):
Please sign in to comment.
Something went wrong with that request. Please try again.