apache / apache/cordova-plugin-inappbrowser

beforeload event fires only on odd links

Open
#686 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
1.1k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

# Bug Report

## Problem
the 'beforeload' odd fires only on even links, on even links it doesn’t work

### What is expected to happen?
It should fire always

### What does actually happen?
It fire only odd (half times)

## Information

Repository to reproduce
https://github.com/koekaverna/cordova-inapp-testing

### Command or Code

Tested with chome DevTools: chrome://inspect/#devices console output
and android emulator

### Environment, Platform, Device

Pixel_2_API_R:5584

### Version information

Cordova: 9.0.0 (cordova-lib@9.0.1)

## Checklist

- [x] I searched for existing GitHub issues
- [x] I updated all Cordova tooling to most recent version
- [x] I included all the necessary information above

Contributor guide

Open the contributing guide

Research direction

Start with the linked cordova-inapp-testing reproduction and observe the beforeload event in Chrome DevTools while running the Android emulator on Pixel_2_API_R:5584. Compare event behavior across repeated odd and even link activations; done means the event fires consistently for every link.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java, javascript
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.