Bug 1530282 Comment 25 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Arun, this is the output of the .rej file if it helps:
```--- browser_visibleFindSelection.js
+++ browser_visibleFindSelection.js
@@ -10,7 +10,7 @@
 
   let remote = gBrowser.selectedBrowser.isRemoteBrowser;
 
-  let findBarOpenPromise = promiseWaitForEvent(gBrowser, "findbaropen");
+  let findBarOpenPromise = BrowserTestUtils.waitForEvent(gBrowser, "findbaropen");
   EventUtils.synthesizeKey("f", {accelKey: true});
   await findBarOpenPromise;
 
@@ -53,4 +53,3 @@
   gFindBar.close();
   gBrowser.removeCurrentTab();
 });
-```
We use moz-phab to get our patches up to phabricator
moz-phab patch <patch-id> --apply-to . (to apply patch on local repository)
make changes to the file(s) we want
hg commit
and then upload it with |moz-phab| command. Hope this helps.
We use moz-phab to get our patches up to phabricator
moz-phab patch <patch-id> --apply-to . (to apply patch on local repository)
make changes to the file(s) we want
hg commit
and then upload it with |moz-phab| command. Hope this helps. 
moz-phab documentation here: https://moz-conduit.readthedocs.io/en/latest/phabricator-user.html

Arun, this is the output of the .rej file if it helps:

```--- browser_visibleFindSelection.js
+++ browser_visibleFindSelection.js
@@ -10,7 +10,7 @@
 
   let remote = gBrowser.selectedBrowser.isRemoteBrowser;
 
-  let findBarOpenPromise = promiseWaitForEvent(gBrowser, "findbaropen");
+  let findBarOpenPromise = BrowserTestUtils.waitForEvent(gBrowser, "findbaropen");
   EventUtils.synthesizeKey("f", {accelKey: true});
   await findBarOpenPromise;
 
@@ -53,4 +53,3 @@
   gFindBar.close();
   gBrowser.removeCurrentTab();
 });
-

Back to Bug 1530282 Comment 25