Bug 384458 - part 7: up the hard-coded match count limit from 100 to 1000. r=me
☠☠ backed out by d03332bc9097 ☠ ☠
authorMike de Boer <mdeboer@mozilla.com>
Wed, 08 Jun 2016 21:51:40 +0200
changeset 301237 ded915ec401f6690c95486a68ac2546806aa3227
parent 301236 4c902c5433c7c10b07b302ec856b4789a2fef65d
child 301238 61442f7ad442445cf5492949fb8771176e12cc50
push id78263
push usercbook@mozilla.com
push dateThu, 09 Jun 2016 10:13:31 +0000
treeherdermozilla-inbound@3d132a280ca0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs384458
milestone50.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 384458 - part 7: up the hard-coded match count limit from 100 to 1000. r=me
dom/browser-element/mochitest/browserElement_Find.js
--- a/dom/browser-element/mochitest/browserElement_Find.js
+++ b/dom/browser-element/mochitest/browserElement_Find.js
@@ -32,105 +32,105 @@ function runTest() {
   once('mozbrowserloadend').then(() => {
     iframe.findAll('foo', 'case-insensitive');
     return once('mozbrowserfindchange');
   }).then(({detail}) => {
     ok(c(detail, {
       msg_name: "findchange",
       active: true,
       searchString: 'foo',
-      searchLimit: 100,
+      searchLimit: 1000,
       activeMatchOrdinal: 1,
       numberOfMatches: 5,
     }), `test ${testCount++}`);
     iframe.findNext('forward');
     return once('mozbrowserfindchange');
   }).then(({detail}) => {
     ok(c(detail, {
       msg_name: "findchange",
       active: true,
       searchString: 'foo',
-      searchLimit: 100,
+      searchLimit: 1000,
       activeMatchOrdinal: 2,
       numberOfMatches: 5,
     }), `test ${testCount++}`);
     iframe.findNext('backward');
     return once('mozbrowserfindchange');
   }).then(({detail}) => {
     ok(c(detail, {
       msg_name: "findchange",
       active: true,
       searchString: 'foo',
-      searchLimit: 100,
+      searchLimit: 1000,
       activeMatchOrdinal: 1,
       numberOfMatches: 5,
     }), `test ${testCount++}`);
     iframe.findAll('xxx', 'case-sensitive');
     return once('mozbrowserfindchange');
   }).then(({detail}) => {
     ok(c(detail, {
       msg_name: "findchange",
       active: true,
       searchString: 'xxx',
-      searchLimit: 100,
+      searchLimit: 1000,
       activeMatchOrdinal: 0,
       numberOfMatches: 0,
     }), `test ${testCount++}`);
     iframe.findAll('bar', 'case-insensitive');
     return once('mozbrowserfindchange');
   }).then(({detail}) => {
     ok(c(detail, {
       msg_name: "findchange",
       active: true,
       searchString: 'bar',
-      searchLimit: 100,
+      searchLimit: 1000,
       activeMatchOrdinal: 1,
       numberOfMatches: 4,
     }), `test ${testCount++}`);
     iframe.findNext('forward');
     return once('mozbrowserfindchange');
   }).then(({detail}) => {
     ok(c(detail, {
       msg_name: "findchange",
       active: true,
       searchString: 'bar',
-      searchLimit: 100,
+      searchLimit: 1000,
       activeMatchOrdinal: 2,
       numberOfMatches: 4,
     }), `test ${testCount++}`);
     iframe.findNext('forward');
     return once('mozbrowserfindchange');
   }).then(({detail}) => {
     ok(c(detail, {
       msg_name: "findchange",
       active: true,
       searchString: 'bar',
-      searchLimit: 100,
+      searchLimit: 1000,
       activeMatchOrdinal: 3,
       numberOfMatches: 4,
     }), `test ${testCount++}`);
     iframe.findNext('forward');
     return once('mozbrowserfindchange');
   }).then(({detail}) => {
     ok(c(detail, {
       msg_name: "findchange",
       active: true,
       searchString: 'bar',
-      searchLimit: 100,
+      searchLimit: 1000,
       activeMatchOrdinal: 4,
       numberOfMatches: 4,
     }), `test ${testCount++}`);
     iframe.findNext('forward');
     return once('mozbrowserfindchange');
   }).then(({detail}) => {
     ok(c(detail, {
       msg_name: "findchange",
       active: true,
       searchString: 'bar',
-      searchLimit: 100,
+      searchLimit: 1000,
       activeMatchOrdinal: 1,
       numberOfMatches: 4,
     }), `test ${testCount++}`);
     iframe.clearMatch();
     return once('mozbrowserfindchange');
   }).then(({detail}) => {
     ok(c(detail, {
       msg_name: "findchange",