diff options
Diffstat (limited to 'devtools/shared/commands/resource/tests/browser_resources_network_events.js')
-rw-r--r-- | devtools/shared/commands/resource/tests/browser_resources_network_events.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/shared/commands/resource/tests/browser_resources_network_events.js b/devtools/shared/commands/resource/tests/browser_resources_network_events.js index da355fd023..dd8211b478 100644 --- a/devtools/shared/commands/resource/tests/browser_resources_network_events.js +++ b/devtools/shared/commands/resource/tests/browser_resources_network_events.js @@ -128,7 +128,7 @@ add_task(async function testCanceledRequest() { // from the parent process is much more reliable. const observer = { QueryInterface: ChromeUtils.generateQI(["nsIObserver"]), - observe(subject, topic, data) { + observe(subject) { subject = subject.QueryInterface(Ci.nsIHttpChannel); if (subject.URI.spec == requestUrl) { subject.cancel(Cr.NS_BINDING_ABORTED); |