summaryrefslogtreecommitdiffstats
path: root/toolkit/components/windowcreator/test/test_nsFind.html
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/windowcreator/test/test_nsFind.html')
-rw-r--r--toolkit/components/windowcreator/test/test_nsFind.html14
1 files changed, 0 insertions, 14 deletions
diff --git a/toolkit/components/windowcreator/test/test_nsFind.html b/toolkit/components/windowcreator/test/test_nsFind.html
index b95b8b4..948e454 100644
--- a/toolkit/components/windowcreator/test/test_nsFind.html
+++ b/toolkit/components/windowcreator/test/test_nsFind.html
@@ -33,20 +33,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=450048
var startPt = searchRange;
var endPt = searchRange;
- // Check |null| detection on |aPatText| parameter.
- try {
- rf.Find(null, searchRange, startPt, endPt);
-
- ok(false, "Missing NS_ERROR_NULL_POINTER exception");
- } catch (e) {
- let wrappedError = SpecialPowers.wrap(e);
- if (wrappedError.result == SpecialPowers.Cr.NS_ERROR_NULL_POINTER) {
- ok(true, null);
- } else {
- throw wrappedError;
- }
- }
-
// Check |null| detection on |aSearchRange| parameter.
try {
rf.Find("", null, startPt, endPt);