Skip to content

Commit 06a8619

Browse files
committed
Reapplying the patch that fixes issue 2637
1 parent d18b9fd commit 06a8619

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

.idea/codeStyleSettings.xml

Lines changed: 27 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

javascript/firefox-driver/extension/components/httpd.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,9 @@ nsHttpServer.prototype =
761761
this._stopCallback = null;
762762
try
763763
{
764-
callback();
764+
if (typeof callback === "function") {
765+
callback();
766+
}
765767
}
766768
catch (e)
767769
{

0 commit comments

Comments
 (0)