Skip to content

Incorrect incognito detectionย #244

@skywinder

Description

@skywinder

Bounty

Scope

  • Incorrect incognito detection:
  • After several minutes (3-7) burner wallet changes from normal mode to incognito mode. Actually, it is not incognito.

Steps to reproduce:

Open Firefox in normal mode

  1. go to xdai.io
  2. wait for 5-10 minutes.
  3. Burner shows, that you are in incognito mode.

- OS: iOS 12 / iPhone XR
- Browser: Firefox 18.1

Deliverables

  • We have to check code in this scope:
    //snagged from https://stackoverflow.com/questions/52759238/private-incognito-mode-detection-for-ios-12-safari
    function retry(isDone, next) {
    var current_trial = 0, max_retry = 50, interval = 10, is_timeout = false;
    var id = window.setInterval(
    function() {
    if (isDone()) {
    window.clearInterval(id);
    next(is_timeout);
    }
    if (current_trial++ > max_retry) {
    window.clearInterval(id);
    is_timeout = true;
    next(is_timeout);
    }
    },
    10
    );
    }

Roles

bounty gardener: @skywinder / 10%
bounty worker: name / 75%
bounty reviewer: name / 15%

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions