Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

browser(firefox): fix typo in dispatcher teardown (#4069)

Andrey Lushnikove6869edf9880
diff --git a/browser_patches/firefox/BUILD_NUMBER b/browser_patches/firefox/BUILD_NUMBER
index 032a786bde..fd6e6be51b 100644
--- a/browser_patches/firefox/BUILD_NUMBER
+++ b/browser_patches/firefox/BUILD_NUMBER
@@ -1,2 +1,2 @@
-1183
-Changed: [email protected] Tue Oct 6 01:20:41 PDT 2020
+1184
+Changed: [email protected] Tue Oct 6 12:04:41 PDT 2020
diff --git a/browser_patches/firefox/juggler/protocol/Dispatcher.js b/browser_patches/firefox/juggler/protocol/Dispatcher.js
index 8f13d512ab..af72f307ac 100644
--- a/browser_patches/firefox/juggler/protocol/Dispatcher.js
+++ b/browser_patches/firefox/juggler/protocol/Dispatcher.js
@@ -37,7 +37,7 @@ class Dispatcher {
_dispose() {
this._connection.onmessage = null;
this._connection.onclose = null;
- this._rootSession.dispose();
+ this._rootSession._dispose();
this._rootSession = null;
this._sessions.clear();
}