Opened 3 years ago

Last modified 10 months ago

#6030 closed defect

ABP does not check/work if WebRTC is disabled — at Initial Version

Reported by: MarkyMark Assignee:
Priority: P2 Milestone: Adblock-Plus-3.0.2-for-Firefox
Module: Platform Keywords:
Cc: trev, sebastian, mapx, kzar Blocked By:
Blocking: Platform: Firefox
Ready: yes Confidential: no
Tester: Ross Verified working: yes
Review URL(s):

https://codereview.adblockplus.org/29607555/

Description

Environment

OS: OS X 10.11.6
Firefox 56.0.2 64-Bit
ABP Version: 3.0.1
Filter Lists:

  • Adblock Warning Removal List
  • EasyList Germany+EasyList
  • EasyPrivacy
  • Fanboy's Social Blocking List

How to reproduce

  1. Disable WebRTC (about:config and set media.peerconnection.enabled to false)
  2. Open a website e.g. https://www.startpage.com/
  3. open the browser-console
  4. The console is showing an exception "TypeError: RealRTCPeerConnection is undefined" that comes from an APB Function:

Observed behaviour

Exception in browser-console coming from ADP:
TypeError: RealRTCPeerConnection is undefined search:190:1
injected https://www.startpage.com/do/search:190:1
<anonym> https://www.startpage.com/do/search:1:11
<anonym> inject.preload.js:402
webpack_require bootstrap%20ce37bec0cc7a6c7f06cd:19
<anonym> moz-extension://718b0eb7-e1fe-5549-be5d-08a92e61d826/include.preload.js:169:18
webpack_require bootstrap%20ce37bec0cc7a6c7f06cd:19
<anonym> bootstrap%20ce37bec0cc7a6c7f06cd:62
<anonym> moz-extension://718b0eb7-e1fe-5549-be5d-08a92e61d826/include.preload.js:1:11
inject resource://gre/modules/ExtensionContent.jsm:339:18
next self-hosted:1183:9

Expected behaviour

No exception

Change History (0)

Note: See TracTickets for help on using tickets.