Opened 5 years ago

Closed 5 years ago

#3265 closed defect (fixed)

Adblock Browser crashes after accumulating a high amount of browser history entries

Reported by: Shikitita Assignee:
Priority: P2 Milestone: Adblock-Browser-for-iOS-1.2.1
Module: Adblock-Browser-for-iOS Keywords: salsita
Cc: pavelz, jand, michal.kuric Blocked By:
Blocking: Platform: Adblock Browser for iOS
Ready: yes Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

Description (last modified by mario)


Platform: iPhone 5/iPad ME400C/A with retina display and 128 GB
Operating System: iOS 9.1
Browser: Adblock Browser v1.1.0 (core 1.3.0), Adblock Browser v1.2.0

How to reproduce

  1. Install Adblock Browser for iOS and launch it
  2. Visit different websites every day for a few days in order to have as much information as possible in the history (or populate it by other measures)
  3. After accumulating approximately 200+ history entries access the history tab

Observed behaviour

Adblock Plus crashes when trying to access the history tab (after reaching a critical amount of 200+ browser history entries)

Expected behaviour

The browser doesn't crash when accessing the history tab.

Change History (7)

comment:1 Changed 5 years ago by Shikitita

  • Description modified (diff)

comment:2 Changed 5 years ago by mario

  • Priority changed from Unknown to P2
  • Ready set

comment:3 Changed 5 years ago by pavelz

  • Keywords v added

comment:4 Changed 5 years ago by mario

Reproducible by following these steps:

  1. Provide a web server which you can access via your mobile phone
  2. Upload a file containing the following code:
                    <script type="text/javascript">
                                    function magic()
                                            window.setTimeout(o, 100);
                                    function o()
                                    window.setTimeout(magic, 100);

(Please note that the code above contains two occurrences of <?=time()?> (PHP) which can be replaced by anything else that returns a random string. It doesn't need to be PHP.)

  1. Open the file on the web server using ABB and let it run for 2-5 minutes. (It will populate the browser's history with hundreds of entries)
  2. Stop populating the history by closing the site.
  3. Tap the URL bar and open the history tab. The browser will crash.

If the browser doesn't crash, go back to step 3 and let it run for a little longer.

comment:5 Changed 5 years ago by mario

  • Description modified (diff)
  • Summary changed from [Adblock Browser for iOS] [History] Crash after upgrading to iOS 9.1 to Adblock Browser crashes after accumulating a high amount of browser history entries

comment:6 Changed 5 years ago by mario

  • Keywords v removed
  • Milestone set to Adblock-Browser-for-iOS-1.2.1

comment:7 Changed 5 years ago by mario

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