Permalink
Browse files

Update nsITransferable messaging (bug 799247)

  • Loading branch information...
1 parent 6635895 commit db11baaba76765de59e9072b8ad3bcb3560ed36b @mattbasta mattbasta committed Oct 11, 2012
Showing with 8 additions and 4 deletions.
  1. +8 −4 validator/testcases/regex.py
@@ -21,6 +21,8 @@
"/nsINavHistoryService")
TB7_LINK = "https://developer.mozilla.org/en/Thunderbird_7_for_developers"
+NSIT_LINK = "https://developer.mozilla.org/en-US/docs/Using_the_Clipboard"
+
def run_regex_tests(document, err, filename, context=None, is_js=False):
"""Run all of the regex-based JS tests."""
@@ -671,13 +673,15 @@ class Gecko16RegexTests(CompatRegexTestHelper):
def tests(self):
- yield self.get_test_bug(
- 722872, "nsITransferable",
+ yield self.get_test(
+ "nsITransferable",
"`nsITransferable` has been changed in Gecko 16.",
"The `nsITransferable` interface has changed to better "
"support Private Browsing Mode. After instantiating the "
- "object, you should call `.init(null)` on it, before any "
- "other functions are called.", compat_type="error")
+ "object, you should call the `init` function on it before "
+ "any other functions are called. See %s for more "
+ "information." % NSIT_LINK,
+ compat_type="error")
yield self.get_test_bug(
726378, "mozIndexedDB",

0 comments on commit db11baa

Please sign in to comment.