apache / apache/cordova-plugin-inappbrowser

loadstart event is not fire at manul test in android

Open
#444 0 comments 0 reactions 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
loadstart event is not fire at manul test in android

## Problem
The procedure is as follows.

1. click White Listed URL>[target=_blank] button in manual test.
-->cordova page is open by inappbrowser.

https://github.com/apache/cordova-plugin-inappbrowser/blob/rel/3.0.0/tests/tests.js#L536

2. click [GET STARTED button] in cordova page.
--> alert dialog is diplay.
「Unexpected: loadstop event.url != loadstart's event.url」

because loadstart event is not fire before loadstop event fire.

### What is expected to happen?
loadstart event is fire before loadstop event fire,
and alert dialog is notdisplay.### Environment, Platform, Device
android 8.1

### Version information
cordova 8.1.2
cordova-plugin-inappbrowser 3.0.0
cordova-android 7.1.4

## 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 tests/tests.js at line 536 and reproduce the White Listed URL target=_blank manual test on Android 8.1.4 with cordova-plugin-inappbrowser 3.0.0. Verify that loadstart fires before loadstop and that the alert reporting the URL mismatch is no longer displayed.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java, javascript
Domain
mobile-dev, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.