Opened 5 months ago

Closed 5 months ago

#4886 closed defect (fixed)

Error "ChromeTabNotFound" appearing often

Reported by: pavelz Assignee:
Priority: P2 Milestone: Adblock-Browser-for-iOS-1.5.2
Module: Adblock-Browser-for-iOS Keywords:
Cc: mario, scheer Blocked By:
Blocking: Platform: Adblock Browser for iOS
Ready: yes Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

Description

The described noncritical error is the only one REAL ERROR (i.e. not synthetic test error) popping up during 1.5.2 release testing, and occurs quite often.
https://rink.hockeyapp.net/manage/apps/185237/app_events
Internal engineering discussion determined, that the error occurs whenever ABP extension is trying to talk to a content script of browser tab, which was removed meanwhile, and chrome.tabs.onRemoved callback wasn't noticed yet. This situation WAS being ignored previously, but error reporting was overhauled massively in 1.5.2 hence the "error" surfaced again.

Proposed solution: qualify the error as "ignorable" - means that it will appear only in app log, and will not produce the error reporting dialog.

Environment

iOS 8+
ABB 1.5.2

How to reproduce

Exact reproduction scenario unknown, but in principle any browser tab removal while other tab(s) are loading

Observed behaviour

ABB produces noncritical error report per new feature #4672 of 1.5.2. The error type is "ChromeTabNotFound"

Expected behaviour

The error report is not produced, as the browers function is not degraded observably

Change History (3)

comment:1 Changed 5 months ago by mario

  • Priority changed from Unknown to P2
  • Ready set

comment:2 Changed 5 months ago by pavelz

  • Status changed from new to reviewing

comment:3 Changed 5 months ago by pavelz

  • Resolution set to fixed
  • Status changed from reviewing to closed
Note: See TracTickets for help on using tickets.