Opened 4 years ago

Closed 4 years ago

Last modified 3 years ago

#3554 closed defect (fixed)

Back/fwd swiping leaves blank screen for pages created by HTML5 history

Reported by: pavelz Assignee:
Priority: P2 Milestone: Adblock-Plus-for-iOS-next
Module: Adblock-Plus-for-iOS/macOS Keywords:
Cc: 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)

Environment

Adblock Browser 1.2.1
Any device

How to reproduce

  1. Open new clean tab without any history
  2. Open any generic page, e.g. ​https://acceptableads.org
  3. Open specific page ​http://html5demos.com/history
  4. Click on "first" link
  5. Swipe from left to get on step 3 page again

Observed behaviour

Instead of step 3 page http://html5demos.com/history, a blank page is displayed

Expected behaviour

Step 3 page http://html5demos.com/history is displayed, as when the regular left arrow is clicked instead of swiping

Additional background

The culprit is in the JS execution window.close(); window.open() right before the webview navigation activity,
which is there reportedly to force screen clearing to prevent black bars in screen transition animation. If this JS execution is commented out, the Expected behaviour happens.

Change History (4)

comment:1 Changed 4 years ago by mario

  • Description modified (diff)
  • Priority changed from Unknown to P2
  • Ready set

comment:3 Changed 4 years ago by jand

  • Resolution set to fixed
  • Status changed from new to closed

comment:4 Changed 3 years ago by mario

  • Milestone set to Adblock-Plus-for-iOS-next

Batch-adjusted milestone for upcoming release of ABP for iOS.

Note: See TracTickets for help on using tickets.