diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-05-29 11:25:58 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-05-29 11:25:58 +0200 |
commit | d873bd96953a6c8de8a9355e330400e0799db661 (patch) | |
tree | a90c8c90e9e6a495038fa1c4242b9855f7843ef8 /embedding/test | |
parent | 50062bdfc004c8e24e3344ffe6991894ee0e6d09 (diff) | |
download | UXP-d873bd96953a6c8de8a9355e330400e0799db661.tar UXP-d873bd96953a6c8de8a9355e330400e0799db661.tar.gz UXP-d873bd96953a6c8de8a9355e330400e0799db661.tar.lz UXP-d873bd96953a6c8de8a9355e330400e0799db661.tar.xz UXP-d873bd96953a6c8de8a9355e330400e0799db661.zip |
Make nsFind::Find actually use a string type as input.
Futureproofing follow-up to b89570e31cfb84449241e363a595540b8810c217
Diffstat (limited to 'embedding/test')
-rw-r--r-- | embedding/test/test_nsFind.html | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/embedding/test/test_nsFind.html b/embedding/test/test_nsFind.html index 5f5a4687a..f180cda20 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); |