summaryrefslogtreecommitdiff
path: root/embedding/test/test_nsFind.html
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2019-05-29 16:01:50 -0400
committerMatt A. Tobin <email@mattatobin.com>2019-05-29 16:01:50 -0400
commit363bfeb2c06e5f57136ebdab8da1ebeba0591520 (patch)
tree3fbaf59efc6807c48a69fabe229be712c0d25af6 /embedding/test/test_nsFind.html
parentd197e65f448d0dfbb5de7ff5d09a1aceaf7620f6 (diff)
parent23115528859e518813214b35c36232da0c1c7b5f (diff)
downloaduxp-363bfeb2c06e5f57136ebdab8da1ebeba0591520.tar.gz
Merge branch 'master' of https://github.com/MoonchildProductions/UXP
Diffstat (limited to 'embedding/test/test_nsFind.html')
-rw-r--r--embedding/test/test_nsFind.html14
1 files changed, 0 insertions, 14 deletions
diff --git a/embedding/test/test_nsFind.html b/embedding/test/test_nsFind.html
index 5f5a4687ac..f180cda20f 100644
--- a/embedding/test/test_nsFind.html
+++ b/embedding/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) {
- e = SpecialPowers.wrap(e);
- if (e.result == SpecialPowers.Cr.NS_ERROR_NULL_POINTER) {
- ok(true, null);
- } else {
- throw e;
- }
- }
-
// Check |null| detection on |aSearchRange| parameter.
try {
rf.Find("", null, startPt, endPt);